http://github.com/slaxor/rnschrittmotor
This is a convenience lib for the Stepper-Controller board from robotikhardware shop. It follows this API-Doc
Use it like this:
s = RNSchrittmotor.new('/dev/ttyUSB0', 9600)
s.read_version
s.set_crc_mode(RNSchrittmotor::CRCON)
s.step!(RNSchrittmotor::BOTH, 400)
# RTFS for more
It currently depends on serialport
gem install rnschrittmotor
© 2010 Sascha Teske sascha.teske@microprojects.de General Public License version 3 or later (in this folder gpl_v3.txt)