#BB6 Arduino Stateš²Machine - Part 2: Implementation š„³š„
Finite State Machine - Part Two āŗ PCBWay $5 for 10 pieces https://www.pcbway.com This is PART TWO of the Bacon Bytes series on a step-by-step guide on how we can move to a State Machine on the Arduino (or, indeed, any other microcontroller). āŗ Sketch and more in my GitHub for this video: https://github.com/RalphBacon/BB6-Ard... To get the most of of this video ensure you have watched PART ONE first which covers the whole multitasking element of a useful State Machine that doesn't include any blocking code (such as use of the delay() š² statement). Link: Ā Ā Ā ā¢Ā #BB5Ā MovingĀ yourĀ ArduinoĀ toĀ aĀ multi-taskin...Ā Ā We briefly (ever so briefly) touch on theoryš²but really concentrate on converting a State Diagram into actual Arduino-speak C++ code. It's far easier than you might think. Moreover, it ensures your code reflects the State Diagram you draw, thus ensuring excellent robustness in your code. You know about "enum"s? What about "class enum"s? We cover that too, and why it makes for better, more robust code. If you really want some in-depth theory, Wikipedia has it covered: https://en.wikipedia.org/wiki/Finite-... Perhaps in a future video we might even talk about Hierarchical State machines š² āŗ Sketch and more in my GitHub for this video: https://github.com/RalphBacon/BB6-Ard... āŗ List of all my videos (Special thanks to Michael Kurt Vogel for compiling this) http://bit.ly/YouTubeVideoList-RalphB... āŗ If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite (and other μControllers) journey My channel, GitHub and blog are here: ------------------------------------------------------------------ ⢠   /Ā ralphbacon  ⢠https://ralphbacon.blog ⢠https://github.com/RalphBacon ⢠https://buymeacoffee.com/ralphbacon ------------------------------------------------------------------

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

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

#BB4 MOSFETs - From an Arduino Perspective

#224 š STOP using Serial.print in your Arduino code! THIS is better.

It finally happened

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

ā Multitask Arduino with State Machines (& Switch Debouncing)

FPGAs Arenāt Processors (Unless You Want Them to Be) || FPGA Deep Dive and Use

#230 The āULTIMATEā Switch Bounce Eliminator - simple and effective. š

#241 Yikes! Only ONE GPIO pin but TWOš“š¢LEDs - Now What? Easy fix!

Can we still stop this?

#BB9 Organising your codeš§¹for easier debugging and maintenanceā

Arduino UNO R4 Lesson12 - millis Function | Handling Multiple Tasks | Non-Blocking Code

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

How do CPUs read machine code? ā 6502 part 2

Introduction to Finite State Machine Theory

10 Multitasking in Arduino using millis | Servo Motor and 7-segment Display | Embedded Systems

#BB11 Create an Arduino LibraryšØ - A Real World Example (Easy)

A 6502 Based Computer on a Single Breadboard

