In this tutorial the Stellaris LM3S6965 Evaluation board will be used to demonstrate a simple PWM (Pulse Width Modulated) example. This is part of a larger project I am working on, which is not covered in this tutorial but will be posted at a later date.
In part 2 of this MSP430 state machine project, I will overview the state machine logic, as well as covering the C programming code.
State Machine tutorial part 3.
In this third part of the state machine tutorial some improvements to the C programming code shown in part 2 will be made, the code is still based on the state machine diagram shown in part 1.
State Machine tutorial part 1 is the first post in a series of 3.
A state machine or as it is also known a finite state machine (FSM), is a model used to design computer programs and sequential logic circuits. The machine can only be in one state at a time, this is known as the current state. Changes from one state to another are brought about by an event or certain condition, this brings about a transition into a new state.