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.
Category Archives: C Programming
C Programming
MSP430 ADC Tutorial
In this MSP430 ADC tutorial the MSP430G2253 will be used as an example. Texas Instruments ships the MSP430G2253 microprocessor with the latest Launchpad, the datasheet for the MSP430G2253 can be downloaded here
MSP430 State Machine Project Pt/2
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 Pt/3
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 Pt/2
State Machine tutorial part 2 of 3.
Is this part the C programming code for the basic state machine diagram shown in part 1. All the code presented here was written using the open source software Eclipse IDE, this can be downloaded from here.
State Machine Tutorial Pt/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.