Beginning C for Arduino: Learn C Programming for the Arduino and Compatible Microcontrollers
Apress, 28 nov 2012 - 250 pagine
Beginning C for Arduino is written for those who have no prior experience with microcontrollers or programming but would like to experiment and learn both. The book blends a narrative that introduces the reader to the C programming language, reinforcing each programming structure with a simple demonstration of how the C programming language can be used to control the Arduino family of microcontrollers as well as Arduino-compatible boards. The author uses an engaging style to teach good programming techniques using examples that have been honed during his 25 years of university teaching.
During the course of the book, you will cover the basics of programming, such as working with data types, making decisions, and writing control loops. You'll then progress onto some of the trickier aspects of C programming, such as using pointers effectively, working with the C preprocessor, and tackling file I/O. Each chapter ends with a series of exercises and review questions to test your knowledge and reinforce what you have learned.What you’ll learn The syntax of the C programming language as defined for the Arduino Tried and true coding practices (applicable to any programming language) How to design, code, and debug programs that drive Arduino microcontrollers How to extend the functionality of C How to integrate low cost, off-the-shelf, hardware shields into your own projects Just how enjoyable and satisfying it is to implement a hardware-software design of your own creation Who this book is for
The book is aimed at a complete novice with no programming background. It assumes no prior programming or hardware design experience and is written for creative and curious people who would like to blend a software and hardware learning experience into a single, enjoyable endeavor.