EtherCAT slave that reads 3 Xsens IMU's connected to a Xbus Master

Dependencies:   MODSERIAL mbed KL25Z_ClockControl

Fork of EtherCAT by First Last

Revision:
27:93c0e4ae943e
Parent:
26:c7959f1fd09a
Child:
28:8505285f65ed
diff -r c7959f1fd09a -r 93c0e4ae943e xbus.cpp
--- a/xbus.cpp	Sun Mar 08 21:53:00 2015 +0000
+++ b/xbus.cpp	Mon Mar 09 15:58:00 2015 +0000
@@ -137,6 +137,13 @@
     wait_ms(1000);
 }
 
+void XbusGoToConfig(void)
+{
+    uint8_t msg[30];
+    XbusCreateMessage(0xFF,0x30,0,msg,msg);//GoToConfig
+    XbusSendArray(msg);
+}
+
 void XbusInitializeXbusMaster(void)
 {
     uint8_t msg[30];