Lab 2 Pic-

Code-(based on code from pcomp class)
DEFINE osc 4
OUTPUT portd.0
INPUT portb.7
snacks:
IF portb.7 = 1 THEN
HIGH portd.0
PAUSE 1000
LOW portd.0
PAUSE 1000
ELSE
LOW portd.0
ENDIF
GOTO snakcks


Page last modified January 31, 2006, at 11:30 PM