Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- for i in {1..1000}
- do
- CISLO=$[ 1 + $[ RANDOM % 63 ]]
- echo $CISLO
- sleep 0.5
- mosquitto_pub -h 192.168.0.30 -t led/state -m $CISLO
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement