Python code to connect to 2A Dual Motor Controller from Raspberry Pi

userHead Account cancelled 2013-03-19 19:43:50 4916 Views1 Replies

I've got a Raspberry Pi from which I want to connect to the 2A Dual Motor Controller. On the wiki there's some (I think) C code. Would it be possible to also provide some Python code to control both the motors?

2013-03-20 13:31:46 Hi

You can refer to the Arduino playground about "Arduino and Python"

The sample code to driver the motors , you can refer to

Then you can change the arduino Serial read to python serial read.
Hope it is useful for you ;)
userHeadPic Phoebe