(Mar-31-2018, 10:47 AM)buran Wrote: It's missing colon :
at the end
I'm not much help I looked and looked try comparing did not see it. The script runs and sends text but something is out of sync I'm looking now but when I cover photo cell it prints
Output:Night
Close door
Drive motor
STOP door open
STOP door closed
Night
Close door
Drive motor
STOP door open
STOP door closed
Night
Close door
Drive motor
STOP door open
STOP door closed
Night
Close door
Drive motor
STOP door open
STOP door closed
Night
Close door
Drive motor
STOP door open
STOP door closed
STOP door open
STOP door closed
STOP door closed
Traceback (most recent call last):
File "/home/pi/Desktop/buran.py", line 30, in <module>
if GPIO.event_detected(7): # change in light sensor
KeyboardInterrupt
I understand its hard to trouble shoot something you can't see I appreciate all the help from everyone.