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

192 B

Serial Read Buffer

Read the buffered serial data as a buffer

serial.readBuffer(64);

Returns

  • a Buffer containing input from the serial port. Empty if no data available.