[EthercatDevice_XXX]
描述
讀取從站的 Input PDO 指定位元。
格式
int pdoBitRead(uint32_t bit_offset);
語法
EthercatDevice_XXX slave;
slave.pdoBitRead();
參數
uint32_t bit_offset
:PDO 的內存地址,單位:Bit。
回傳
Int:1-bit 的數據;0表示成功;如果返回值小於0表示錯誤。
函式庫參考主頁面
86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。