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

13 lines
191 B
Markdown
Raw Normal View History

# Serial Read Buffer
Read the buffered serial data as a buffer
```sig
serial.readBuffer(64);
```
## Returns
* a Buffer containing input from the serial port. Empty if no data available.