[EthercatMaster]
説明
Get the working counter of the current cycle.
Format
int getWorkingCounter();
Syntax
EthercatMaster master;
master.begin();
master.start();
master.getWorkingCounter();
Returns
Int: the working counter of the current cycle.
Example
#include "Ethercat.h" EthercatMaster master; void setup(void) { int getWorkingCounter; Serial.begin(115200); while (!Serial); master.begin(); master.start(); getWorkingCounter = master.getWorkingCounter(); Serial.println(getWorkingCounter); } void loop() {}
Libraries Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。