User Tools

Site Tools


starting:examples:trafficlights

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
starting:examples:trafficlights [2017/10/04 10:15]
simplesi [Building a Program]
starting:examples:trafficlights [2017/10/04 10:29] (current)
simplesi [Better Method]
Line 12: Line 12:
 It is a classic //**low barrier for entry - high ceiling**// project It is a classic //**low barrier for entry - high ceiling**// project
  
-===== Building a Program ​===== +===== Example ​===== 
-[[http://​gpblocks.org/​forum/​download/​file.php?​id=304&​sid=81c1fd9fdb885c10d64be3b0ff024cbc|Download ​example]]+[[http://​gpblocks.org/​forum/​download/​file.php?​id=304&​sid=81c1fd9fdb885c10d64be3b0ff024cbc|Download ​program]]
 {{:​starting:​examples:​traffic:​screen00.png |}} {{:​starting:​examples:​traffic:​screen00.png |}}
 +
 +
 +
 +===== Better Method =====
 +The version above contains the least blocks necessary to simulate a traffic light but isn't necessarily the best way to go about it.
 +
 +By adding in some broadcast blocks, the program becomes easier to understand and easier to debug if a mistake is made
 +{{:​starting:​examples:​traffic:​screen0.png |}}
 +
  
  
  
  
starting/examples/trafficlights.1507126547.txt.gz · Last modified: 2017/10/04 10:15 by simplesi