projects
/
usb-relay-hid.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Update README-hidusb-relay-cmd.txt
[usb-relay-hid.git]
/
commandline
/
relay1-pulse.sh
Commit
Line
Data
6629800a
1
#!/bin/sh
2
# Pulse USB relay channel for (sec) seconds
3
# Needs root acccess! run with sudo!
4
sec=${1}
5
chan=1
6
SUDO=sudo
7
$SUDO ./usbrelay-cmd ON $chan
8
sleep $sec
9
$SUDO ./usbrelay-cmd OFF $chan