gadgets-OSC/Loth/sender.sh

23 lines
289 B
Bash
Raw Normal View History

2020-10-30 22:37:05 +01:00
#!/bin/bash
R_IP="localhost"
R_PORT="2222"
DEVICE=42
oscpath=$(printf "/loth/truc/%d" $DEVICE)
oscsend $R_IP $R_PORT $oscpath s "==========="
for foo in $(seq 20 7 80)
do
echo " " $foo
message=$(printf "0x%02x" $foo)
oscsend $R_IP $R_PORT $oscpath s "$message"
sleep 1
done