pxt-calliope/docs/reference/serial/write-buffer.md

12 lines
199 B
Markdown
Raw Normal View History

# Serial Write Buffer
Write a buffer to the [serial](/device/serial) port.
```sig
serial.writeBuffer(pins.createBuffer(0));
```
## Parameters
* `buffer` is the buffer to write to the serial port