|
Облако тегов |
|
|
Arduino, Circuit Cellar, CQ Amateur Radio, Elektor, Everyday Practical Electronics, Raspberry Pi, антенна, аудио, видео, Журнал, Измерения, Микроконтроллеры, Микросхемы, микроэлектроника, Программирование, Радіоаматор, Радио, Радио (жур.), Радиоаматор, Радиоконструктор, Радиолюбитель, радиолюбителю, Радиомир, радиосвязь, радиоэлектроника, ремонт, Ремонт и Сервис, робототехника, Связь, Серия Ремонт, справочник, схема, Схемотехника, Схемы, Телевидение, Телевизоры, усилитель, Электрик, Электроника, Электротехника
Показать все теги
|
|
|
|
|
|
Авторские права | |
|
Все книги на сайте представлены исключительно в ознакомительных целях!
Авторам, желающим внести поправки, просим связаться с администрацией.
Администрация
|
|
|
|
|
|
|
|
Книги » Микроэлектроника » Программирование: С Programming for Microcontrollers
|
|
|
Просмотров: 2547 добавил: Nikey 4-03-2010, 00:06
|
|
Название: С Programming for Microcontrollers
Автор: Joe Pardue
Издательство: Smiley Micros
Год: 2005
Страниц: 299
Язык: Английский
|
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.
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.
Table of Contents:
Chapter 1: Introduction
Why C?
Why AVR?
Goals
Chapter 2: Quick Start Guide
Software
WinAVR - Oh, Whenever
Programmers Notepad
AVRStudio - FREE and darn well worth it
Br@y++ Terminal:
Hardware
Constructing Your Development Platform
Blinking LEDs - Your First С Program
Write it in Programmers Notepad
Download to the Butterfly with AVRStudio
Blinky Goes Live
Simulation with AVRStudio
GOOD GRIEF!
Chapter 3: A Brief Introduction to С - What Makes Blinky Blink?
Comments
Include Files
Expressions, Statements, and Blocks
Operators
Flow Control
Functions
The Main() Thing
Chapter 4: С Types, Operators, and Expressions
Data Types and Sizes
Variable Names
Constants
Declarations
Arithmetic Operators
Relational and Logical Operators
Bitwise Operators
Assignment Operators and Expressions
Conditional Expressions.
Precedence and Order of Evaluation
Projects
Port Input and Output
Cylon Eye Speed and Polarity Control
Chapter 5: С Control Flow
Statements and Blocks
If-Else and Else-If
Switch
Loops - While, For and Do-while
Break and Continue
Goto and Labels
A few practical examples: strlen, atoi, itoa, reverse
Chapter 6: С Functions and Program Structures
Function Basics
Returns
Variables External, Static, and Register
Scope
Headers
Blocks
Initialization
Recursion
Preprocessor
Projects
Is anybody out there? Communicating with a PC
Chapter 7: Microcontroller Interrupts and Timers
Interrupts
Projects
Grab your joystick - and test your interrupts
Timers/Counters
Calibrating the Butterfly oscillator:
Projects
Precision Blinking
Pulse Width Modulation - LED Brightness Control
Pulse Width Modulation - Motor Speed Control
Speedometer
Chapter 8: С Pointers and Arrays
Addresses of variables
Function Arguments
Arrays.
FIFOs and LIFOs: Stacks and Queues (Circular Buffers)
Function Pointers
Complex Pointer and Array Algorithms
Projects
Messenger
Does anybody know what time it is? A Real Time Clock
Music to my ears. "Play it again Sam."
Chapter 9 - Digital Meets Analog - ADC and DAC
But First - A Debugging Tale
Analog to Digital Conversion
Projects
DAC and ADC - Function Generator / Digital Oscilloscope
Chapter 10: С Structures
Structure Basics
Structures and Functions
Structure Arrays
Typedef
Unions
Bit-fields
Projects
Finite State Machine
Chapter 11 The Butterfly LCD
PC to LCD test program
Conclusion
Appendix 1: Project Kits
Appendix 2: Soldering Tutorial
Appendix 3: Debugging Tale
Appendix 4: ASCII Table
Appendix 5: Decimal, Hexadecimal, and Binary
Appendix 6: Motor Speed Control Wheel
Appendix 7: HyperTerminal
Index
Ключевые теги: программирование
|
|
Содержание Оглавление
|
|
|
|
|
Другие новости по теме:
|
|
|
|
|
|
|
|
|
Информация |
|
|
|
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации. |
|
|
|
|
|
|
|
Календарь |
|
|
« Декабрь 2021 »
|
Пн |
Вт |
Ср |
Чт |
Пт |
Сб |
Вс |
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
|
|
|
|