Getting Started with Embedded C, part 2
C functions and a coffee machine
Published in issue 390, June 2009
The first instalment of this short course looked at the hardware and made a start with programming the MSP430 board using the IAR Embedded Workbench software. Now we continue with the description of a number of frequently used C functions. In addition we deal with the reading of pushbuttons and we will program a complete coffee machine. Finally it is time for playing a little game with the aid of the 7-segment display.
Examples
Free download
|
Click below to download a pdf copy of this article from Elektor magazine.
|