With this program you can configure and run a CAN compatible (also LSS protocol compatible) motor through the mbed\'s CANbus. Further more it gives a basic template that lets you create your own CAN messages. I\'ve implemented a configuration and a running example that the program runs through. Also there\'s 2 kinds of loops it can go into after it\'s ran through it\'s configuration and/or speed setting. It can continuously ask for the motor\'s status (node guarding kind of thing) OR it can continuously ask for the motor\'s position. Make sure you have a if, (elsif), else structure so the counter doesn\'t run out of control. I\'ve tried to put as many comments in as I could. I hope it helps you in understanding the basics of CAN and running devices. I\'m new to it myself, so any critisism is welcome. Enjoy.

Dependencies:   mbed

History

V1.0: My motor runs. default tip

2011-02-14, by OTBsolar [Mon, 14 Feb 2011 13:26:46 +0000] rev 1

V1.0: My motor runs.


BETA

2011-02-11, by OTBsolar [Fri, 11 Feb 2011 14:57:24 +0000] rev 0

BETA