This week we create a working stoplight with an Arduino. And we go so much further than just blinking lights. We have 2 stop lights and sensors to know when a car is waiting.
Also, in this episode we introduce state tables and a new structure that we have not talked about before, the switch or case statement.
You even get to see me mess up by not saving my examples before the show. But this is good because it demonstrates just easy it is switch the cascading if-then-else to a switch/case structure.