What happens if the @SLEEP below is commented?
Code:WHILE COUNTER < 2 ' 4.608sec Loop time (Loop for 30 mins = 781) @ SLEEP COUNTER=COUNTER+1 'IF GPIO.3= 0 THEN COUNTS 'Bird at box (it's not dark) so continue counting WEND
What happens if the @SLEEP below is commented?
Code:WHILE COUNTER < 2 ' 4.608sec Loop time (Loop for 30 mins = 781) @ SLEEP COUNTER=COUNTER+1 'IF GPIO.3= 0 THEN COUNTS 'Bird at box (it's not dark) so continue counting WEND
Dave
Always wear safety glasses while programming.
Bookmarks