[Ethercat Master]
Description
Get the EtherCAT firmware version.
Syntax
char *firmwareVersion( );
Return Value
Return a pointer to the EtherCAT firmware version string.
Comment
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.
Example
#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.