NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char RS485ReadEx ( byte &  buffer[],
byte  buflen 
)
inline

Read limited RS485 data.

Read a limited number of bytes of data from the RS485 hi-speed port.

Parameters
bufferA byte array that will contain the data read from the RS485 port.
buflenThe number of bytes you want to read.
Returns
A char value indicating whether the function call succeeded or not.
Warning
This function requires the enhanced NBC/NXC firmware version 1.31+.
Examples:
ex_RS485Receive.nxc.