[EthercatDevice_QECRXXHU]
説明
Receive multiple data.
Class Modules
class EthercatDevice_QECR11HU5S; /* MPG + Keypad + LCM + RS232x2, RJ45 power [1, 1] */ class EthercatDevice_QECR00HU5S; /* MPG + Keypad + LCM + RS232x2, RJ45 power [0, 0] */ class EthercatDevice_QECR11HU9S; /* MPG + Keypad + LCM + RS232/485x2, RJ45 power [1, 1] */ class EthercatDevice_QECR00HU9S; /* MPG + Keypad + LCM + RS232/485x2, RJ45 power [0, 0] */
Format
int uartReceive(int dev, void *buf, size_t size);
Syntax
EthercatDevice_QECRXXHU slave;
slave.uartReceive(0, buf, size);
Parameters
int dev
: UART Number (0/1).void *buf
: Data buffer.size_t size
: The size of the data buffer.
Returns
Int: The number of data received. If the return value is smaller than 0 means an error.
Libraries Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。