Refactor pingpair_test to remove all serial io from within the irq handler, as necessitated by Arduino 1.0

This commit is contained in:
maniacbug
2012-01-15 22:15:45 -08:00
parent dec61af85f
commit dc48235343
5 changed files with 208 additions and 165 deletions
+11
View File
@@ -0,0 +1,11 @@
#/usr/bin/expect
set timeout 100
spawn picocom -b 57600 /dev/ttyUSB0
expect "+READY"
send [lindex $argv 0]
expect "+OK"
spawn picocom -b 57600 /dev/ttyUSB1
expect "+READY"
send [lindex $argv 0]
expect "+OK"