Home › Magazines › 2009 › May › Getting started with embedded C, part 1

Getting started with embedded C, part 1

IAR Embedded Workbench and flashing LED

Published in issue 389, May 2009

Getting started with embedded C, part 1

This is the first instalment of a three-part series which will introduce the fundamentals of programming a microcontroller in C. You can immediately try all the examples using the MSP430 hardware, which is also described in this issue, in combination with a PC or laptop which has a USB interface. The software we’ve used is available as a free download. In this way you will learn step by step how you can use the higher programming language C in all kinds of electronics projects.

C is a genuine general-purpose programming language (there are over 400 different languages for computer systems). C is a small, compact language, which is not all that difficult to learn. These days C is used mostly in embedded microcontroller applications. This means devices that contain a microcontroller doing one specific task, such as a coffee maker (compare that to the processor in a PC which runs a variety of programs). The Java language is also quite frequently used for this, but it places much higher demands on the hardware, specifically in terms of speed and memory.

Relevant websites

Click below to download a pdf copy of this article from Elektor magazine.

 

Downloads 

Article PDF
10 Elektor Credits
 

Order this magazine 

Magazine May 2009
UK389 (USD 6.70)
 

Free downloads 

Software

Free download

Getting started with IAR Workbench

Free download

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF