pxt-calliope/docs/reference/serial/read-buffer.md
2017-04-21 09:02:29 -07:00

13 lines
192 B
Markdown

# 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.