mirror of
https://github.com/digistump/DigistumpArduino.git
synced 2025-04-28 15:49:02 -07:00
12 lines
209 B
Elixir
12 lines
209 B
Elixir
#/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"
|