examples/SillySlave/README
author fbeaulier
Mon, 29 Aug 2011 17:31:55 +0200
changeset 665 90e6cf84a0d7
parent 400 7d845f5d730c
permissions -rw-r--r--
patch from Christian Taedcke <hacking@taedcke.com> : fix-wrong-resetSDOline-for-sdo-timeout.patch
FIXED: - The sdo line must not be closed at the end of SDOTimeoutAlarm() if the same sdo line is closed and reopened for a new transfer inside the callback. (Patch from Jaroslav Fojtik)
SillySlave example for CANfestival

Its purpose is only to check if the selected
driver works at least a minimum. The PC running this demo
must be connected through CAN bus to a working master that 
recognizes the slave nodeId. The slave should be configured
by the master, then switched to operative. After that, when
the master sends a SYNC, the slave answers with PDO1, 
containing an integer that increments each time it is sent.

Please have a look to main.h to tune the master and slave node IDs

It's all. Enjoy it.
GMB
jan 17,2008