The one element that is missing from the RAD project that is
available in the Arduino IDE is the "Serial Monitor". While monitoring/
communicating with the serial port can presumably be achieved with
Ruby/SerialPort, I am curious to hear some opinions about wrapping
this into a class included with the RAD installation.
David
http://unnature.net
That's a great idea and definitely one of the things I've had in mind
for RAD from the beginning. I was picturing something along the lines
of script/console in Rails: a command you could run to setup a
connection to the Arduino that would also load a bunch of relevant
helpers.
I've played around a very little bit with wrapping the ruby/serialport
gem into a higher-level library, but it would be great if someone
(hint, hint) wanted to take this on as a real project. I've uploaded
my code to the google group here:
http://groups.google.com/group/ruby-arduino-development/files
it's serial_communicator.rb and is really only useful as the beginning
of a map to the (extremely badly documented) ruby/serialport.
Take a look and let me know your thoughts/ideas.
yours,
Greg
-- Greg