-
Notifications
You must be signed in to change notification settings - Fork 65
Serial Communication
atduskgreg edited this page Sep 12, 2010
·
1 revision
rs-232, usb, etc.
computer-to-arduino communication
lots of other devices
available
read
print
type issues on read
debugging with screen
class Basic < ArduinoSketch
serial_begin
def loop
serial_println "hello"
end
end
class SerialTerm < ArduinoSketch
serial_begin
def loop
if serial_available
serial_print serial_read
toggle 13
end
end
end
all you need is a serial cable: usb device cable or ttl-232
Igoe