write Buffer
Write a buffer to the serial port.
You place your data characters into an existing buffer. All of the data, the length of the buffer, is written to the serial port.
Parameters
- buffer: a buffer to write to the serial port.
Example
Read some characters of data from a device connected to the I2C pins. Write the data to the serial port.