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!

▶︎
✔ Multitask Arduino with State Machines (& Switch Debouncing)

▶︎
#BB5 Moving your Arduino to a multi-tasking State Machine - Easy Intro

▶︎
#BB7 Pass by Value or Reference - What's the difference?

▶︎
Anthropic AI robot does what experts warned.

▶︎
Level Up Your Arduino Code: External Interrupts

▶︎
Tips for C Programming

▶︎
The World's Most Important Machine

▶︎
Nobody Breaks Celebrities Like Rowan Atkinson

▶︎
Something is jamming GPS over Europe. Here's what we found

▶︎
Co-Creator of Haskell: Useless vs Useful Languages, Rust vs C, Functional Programming | Simon Jones

▶︎
I turned an old van into a 2-STORY tiny house

▶︎
Optimizing Arduino Code: no setup(), no loop() ⛔

▶︎
Stop Buying Arduino Boards! Build Them for $3 Instead

▶︎
Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

▶︎
#073 Arduino Code - A Simple State Machine Library

▶︎
#230 The ⭐ULTIMATE⭐ Switch Bounce Eliminator - simple and effective. 🎈

▶︎
Comparing C to machine language

▶︎
#BB10 Namespaces & Macros for Arduino (and other) microcontrollers

▶︎
How does a USB keyboard work?

▶︎
