[Ethercat Master]
描述
Get the EtherCAT firmware version.
語法
char *firmwareVersion( );
回傳值
Return a pointer to the EtherCAT firmware version string.
備註
This function must be called after a successful execution of EthercatMaster::begin()
. This function is non-blocking and can be called within the callback functions.
範例
#include "Ethercat.h" EthercatMaster master; void setup() { Serial.begin(115200); master.begin(); Serial.println(master.firmwareVersion( )); } void loop() { }
Please see the EtherCAT Library User Manual for more QEC EtherCAT instructions and API usage.