FSM Lecture 24: Exercise-003 Nested switch implementation of an FSM part 1
Exercise-003 Nested switch implementation of an FSM part 1 In this article, let’s continue the coding. Write one function to implement a state machine. Go to the…
Exercise-003 Nested switch implementation of an FSM part 1 In this article, let’s continue the coding. Write one function to implement a state machine. Go to the…
Different approach to implement state machine In this article, let’s begin with implementing a state machine. There are different approaches. Nested switch approach we also explored…
Exercise-003 Defining initial transition function In the protimer_state_mach.cpp, we will implement the state machine. First, let’s start with our initial transition. #include "main.h" void protimer_init(protimer_t *mobj){ mobj->active_state…
Exercise-003 Data structure explanation In the previous article, we set up the IDE, and in this article, let’s start implementing. The first step is to create a…
Create new project in Microsoft visual Code IDE In the previous article, I explain how to install the Microsoft visual code IDE . And you should also have…
Installing Microsoft VS Code and PlatformIO extension Microsoft IDE is a great IDE, and it supports all the OS platforms like Windows, Linux, and Mac. You…