pololu / pololu-rpi-slave-arduino-library

An Arduino library that helps establish I2C communication between an A-Star 32U4 Robot Controller and a Raspberry Pi, with the Arduino acting as the I2C slave.
MIT License
30 stars 21 forks source link

set only one motor channel #2

Open foobarbecue opened 7 years ago

foobarbecue commented 7 years ago

Feature request: It would be nice if there was a way to call the .motors method and only set the motor speed on one of the two motor channels. I guess you would need to chose a no-op value in the message protocol.

foobarbecue commented 7 years ago

Actually, here's a solution that only requires a change in the python: https://github.com/pololu/pololu-rpi-slave-arduino-library/pull/3