Update light.py
This commit is contained in:
parent
502fe343f1
commit
9b9443558e
|
@ -1,4 +1,10 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
#Turn on using this command line :
|
||||||
|
#python3.7 path/to/file/light.py on
|
||||||
|
|
||||||
|
#Turn off using this command line :
|
||||||
|
#python3.7 path/to/file/light.py off
|
||||||
|
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue