EtherCAT slave that reads 3 Xsens IMU's connected to a Xbus Master
Dependencies: MODSERIAL mbed KL25Z_ClockControl
Fork of EtherCAT by
Diff: soes.cpp
- Revision:
- 19:8ead12aec8d5
- Parent:
- 18:6629e8c5d59e
- Child:
- 20:ad13d4f5fd98
--- a/soes.cpp Thu Mar 05 23:08:58 2015 +0000 +++ b/soes.cpp Fri Mar 06 08:11:15 2015 +0000 @@ -71,6 +71,9 @@ xbus_t xbus_master; +DigitalOut ploep(PTA13); +#define PLOEP do{ploep = !(ploep);}while(0); + /* Private function prototypes -----------------------------------------------*/ /* Private functions ---------------------------------------------------------*/ @@ -199,6 +202,7 @@ // within MODSERIAL (because they are friends). This ensures rxDiscardLastChar() // can only be called within an rxCallback function. info->rxDiscardLastChar(); + PLOEP; }