State machine programming for Arduino, switch case, table of structs, and table of function pointers

This video shows different ways to implement a simple traffic light example on an Arduino, using the classic switch case, a table of function pointers, and a table of structs. We will also see how to store the table of structs in FLASH (program memory) rather than RAM. Github code: https://github.com/HeavyBareMetal/sta... Please like if you found this video helpful, comment below if you have any questions or suggestions on how to improve the code. Happy coding!