Added a very simple script that just works.
This commit is contained in:
parent
18427298bc
commit
69cce7be3e
2
PC_CONTROL_CODE/VerySimpleCode/crontab
Normal file
2
PC_CONTROL_CODE/VerySimpleCode/crontab
Normal file
@ -0,0 +1,2 @@
|
||||
# Run every minute
|
||||
* * * * /location/to/bash/simple.sh
|
9
PC_CONTROL_CODE/VerySimpleCode/simple.sh
Normal file
9
PC_CONTROL_CODE/VerySimpleCode/simple.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
for i in {1..59}
|
||||
do
|
||||
stty -F /dev/ttyUSB0 speed 38400 cs8 -ixon raw
|
||||
echo -ne "_shutup 24\n\r" > /dev/ttyUSB0
|
||||
sleep 1
|
||||
done
|
||||
|
||||
exit
|
Loading…
x
Reference in New Issue
Block a user