16 lines
322 B
Markdown
16 lines
322 B
Markdown
![]() |
---
|
||
|
tag: api
|
||
|
type: function
|
||
|
name: write
|
||
|
params:
|
||
|
- name: byte
|
||
|
description: a byte to write to the publish payload
|
||
|
type: uint8_t
|
||
|
returns:
|
||
|
type: int
|
||
|
values:
|
||
|
- value: int
|
||
|
description: the number of bytes written
|
||
|
---
|
||
|
|
||
|
Writes a byte as a component of a publish started with a call to <code>beginPublish</code>.
|