




Microcontrollers, 2 Switches, and 2 Subroutines:
goto main
stoplight:
high portb.7
pause 500
low portb.7
high portb.6
pause 600
low portb.6
pause 700
high portb.5
pause 800
low portb.5
return
yellowblinker:
high portd.2
high portd.3
pause 250
low portd.2
low portd.3
pause 250
return
0 Comments:
Post a Comment
<< Home