Название: C programming for microcontrollers
Автор: Joe Pardue
Издательство: Smiley Micros
Год: 2005
ISBN: 9780976682202
Формат: PDF
Страниц: 300
Размер: 14,3 МБ
Язык: English
Do you want a low cost way to learn C programming for microcontrollers? This book shows you how to use Atmel's $19.99 AVR Butterfly board and the FREE WinAVR C compiler to make a very inexpensive system for using C to develop microcontroller projects. Students will find the thorough coverage of C explained in the context of microcontrollers to be an invaluable learning aide. Professionals, even those who already know C, will find many useful tested software and hardware examples that will speed their development work. Test drive the book by going to www.smileymicros.com and downloading the FREE 30 page pdf file: Quick Start Guide for using the WinAVR Compiler with ATMEL's AVR Butterfly which contains the first two chapters of the book and has all you need to get started with the AVR Butterfly and WinAVR. In addition to an in-depth coverage of C, the book has projects for:
Port I/O reading switches and blinking LEDs
UART communication with a PC
Using interrupts, timers, and counters
Pulse Width Modulation for LED brightness and motor speed control
Creating a Real Time Clock
Making music
ADC: Analog to Digital Conversion
DAC: Digital to Analog Conversion
Voltage, light, and temperature measurement
Making a slow Function Generator and Digital Oscilloscope
LCD programming
Writing a Finite State Machine
The author (an Electrical Engineer, Official Atmel AVR Consultant, and award winning writer) makes the sometimes-tedious job of learning C easier by often breaking the in-depth technical exposition with humor and anecdotes detailing his personal experience and misadventures.