raspberry
This commit is contained in:
1 parent
84dfdf5210
commit
be436085b3
55 files changed
+2195
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
if [ "$1" == "ON" ];then
|
||||
irsend SEND_ONCE SAMSUNG KEY_1;
|
||||
elif [ "$1" == "OFF" ];then
|
||||
irsend SEND_ONCE SAMSUNG KEY_POWER;
|
||||
elif [ "$1" == "-a" ];then
|
||||
irsend SEND_ONCE SAMSUNG $2;
|
||||
elif [ "$1" == "-l" ]; then
|
||||
irsend LIST SAMSUNG ""
|
||||
else
|
||||
printf "ON...Turn TV ON\nOFF...Turn TV OFF\n-a...Send Command\n-l...List Commands\n"
|
||||
fi
|
||||
Reference in new issue
Block a user