Tasmota/lib/RF24/tests/pingpair_test/test.ex

12 lines
209 B
Elixir
Raw Normal View History

2020-01-01 18:09:20 +00:00
#/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"