Small Basic - Traffic Light Challenge
Published Feb 12 2019 03:24 PM 1,178 Views
Microsoft
First published on MSDN on Sep 06, 2014

Authored by LitDev


One of this month's forum challenges was to create a traffic light system.


Graphics Challenge 2


Draw a traffic light that changes through the correct lighting sequence, perhaps using the Timer object.




We have 2 great answers in, the first by Martin from Germany.




And the second by NaochanOn from Japan which uses different coloured lights.




You can view them in action (as well as see the source code) using SIlverLight with the following links:


http://smallbasic.com/smallbasic.com/program/?MNZ607


http://smallbasic.com/smallbasic.com/program/?KZP715


Note that you can host any of your Small Basic programs online in this way after it is published and you have the 6 character ID.

Version history
Last update:
‎Feb 12 2019 03:24 PM
Updated by: