Introduction to State Machines

A state machine is defined as an algorithm that can be in one of a small number of states. A state is a condition that causes a prescribed relationship of inputs to outputs, and of inputs to next states. One of the advantages of a state machine...

READ MORE

Understanding Pointers

Every variable in a firmware has a name and a value associated with it. When a variable is declared, a specific block of memory within the microcontroller is allocated to hold the value of that variable. The size of the allocated block depends on...

READ MORE