Audience with pleasure one of my first experiments with the PIC, now become a toy for my son to use the train with wooden IKEA! The video has been speeded up.
Here is the source, really easy, on-board microcontroller firmware
program traffic lights
TRISO = 0
main:
gpio.2 = 1
delay_ms (5000)
gpio.2 = 0
gpio.1 = 1
delay_ms (2000)
gpio.1 = 0
gpio.0 = 1
delay_ms (5000)
goto main
0 comments:
Post a Comment