Excellent write-up from Gustavo Gonnet up on Hackster.io.
Let’s find out what are Finite State Machines and how they can help us write better code – more maintainable, future proof and easier to understand – in our IoT projects.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Source: Adafruit – Arduino