What is included with this book?
In just 24 sessions of one hour or less, Sams Teach Yourself Arduino Programming in 24 Hours teaches you C programmingon Arduino, so you can start creating inspired “DIY” hardwareprojects of your own! Using this book’s straightforward, step-by-stepapproach, you’ll walk through everything from setting up yourprogramming environment to mastering C syntax and features, interfacing your Arduino to performing full-fledged prototyping.Every hands-on lesson and example builds on what you’ve alreadylearned, giving you a rock-solid foundation for real-world success!
Step-by-step instructions carefully walk you through the most common Arduino programming tasks.
Quizzes at the end of each chapter help you test your knowledge.
By the Way notes present interesting information related to the discussion.
Did You Know? tips offer advice or show you easier ways to perform tasks.
Watch Out! cautions alert you to possible problems and give you advice on how to avoid them.
Learn how to...
Richard Blum has worked in the IT industry for more than 25 years as a network and systems administrator, managing Microsoft, UNIX, Linux, and Novell servers for a network with more than 3,500 users. He has developed and teaches programming and Linux courses via the Internet to colleges and universities worldwide. Rich has a master’s degree in management information systems from Purdue University and is the author of several programming books, including Teach Yourself Python Programming for the Raspberry Pi in 24 Hours (coauthored with Christine Bresnahan, 2013, Sams Publishing), Linux Command Line and Shell Scripting Bible (coauthored with Christine Bresnahan, 2011, Wiley), Professional Linux Programming (coauthored with Jon Masters, 2007, Wiley), and Professional Assembly Language (2005, Wrox). When he’s not busy being a computer nerd, Rich enjoys spending time with his wife, Barbara, and two daughters, Katie Jane and Jessica.
Part I: The Arduino Programming Environment
1. Introduction to the Arduino
2. Creating an Arduino Programming Environment
3. Using the Ardiuno IDE
4. Creating an Arduino Program
Part II: The C Programming Language
5. Learning the Basics of C
6. Decision Control In Your Programs
7. Programming for Loops
8. Working with Strings
9. Implementing Data Structures
10. Creating Functions
11. Pointing To Data
12. Storing Data
Part III: Arduino Applications
14. Working with Digital Interfaces
15. Interfacing with Analog Devices
16. Adding Interrupts
17. Communicating with Devices
18. Using Sensors
19. Working with Motors
20. Using an LCD
21. Working with the Ethernet Shield
22. Implementing Advanced Ethernet Programs
23. Handling Files
24. Prototyping Projects