Im working on getting an Orion robotics motor controller working, but first I have to change a few things in the library to get it to work with Spark. All documentation and the original Arduino libraries can be found at http://www.orionrobotics.com/
The original library RoboClaw.h & RoboClaw.cpp included another library <BMSerial.h> which is a modified software serial library built on top of “Streams.h”. I want to port the modify the library to run on Spark’s Serial1 port, but am having trouble replacing the timeout functionality that came from Streams.h
So far I made my own read() function that I believe will work the same way Steams.h does Does this seem like it will work/ Does anyone have a better suggestion?
Any help on this is greatly appreciated I’m sure It’d take someone who knows what their doing less than an hour to port read_n( ), read4_1( ), read4( ), read2( ), and write_n( ) (The communication functions) and the whole library would work.