更新时间:2021-07-09 19:10:23
封面
版权信息
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Chapter 1. Getting Started
Arduino
Exploring Arduino Uno
Downloading and installing Arduino IDE
Explore Arduino IDE
Summary
Chapter 2. Our First Program!
Connecting your Arduino
Hello Arduino!
Things to remember
Chapter 3. Exploring C with Arduino IDE
Variables
Data types
Collecting and showing data through serial port
Strings and operations with strings
Chapter 4. Blinking with Operations and Loops
Expression in C
Logical operators
Exercises
Loops
Exercise
Chapter 5. Functions and Files with Arduino
Functions
Data logging
Connecting an SD card to your Arduino
Writing on a file
Chapter 6. Arduino and C++
Object Oriented Programming
Going deeper into class
Understanding OOP better
Fundamentals of OOP
GSM modules
Arduino library
Making a call using GSM module
Sending an SMS
Receiving an SMS
Chapter 7. Using Pointers and Structure
Pointers
Pointers and arrays
Usages of pointers
Learning about structure
Structure and function
Nested structure
Chapter 8. Working with Arduino Libraries
The Firmata library
The SoftwareSerial library
Uses of LiquidCrystal Library
Installing a library
Removing a library
Creating our own library
Chapter 9. Lets Build Something Awesome
LED cube
Smart weather system
Home security
Chapter 10. Few Error Handlings
Few common errors
Auto-reset
Bootloader
java.lang.StackOverflowError
Arduino software freeze when I try to upload a program
Board doesn't turn on (the green power LED doesn't light up)
Get an error when launching arduino.exe on Windows
Could not find the main class
Cygwin conflicts on Windows
Tools | Serial Port menu is not visible
Sketch appear to upload successfully but not do anything
Undeclared functions or undeclared types error
Invalid device signature when trying to upload a sketch
'xxx' does not name a type error
Library is not Installed properly
Wrong folder location
Library dependencies
Wrong library name
Wrong folder name
Forgot to close the Arduino IDE
Check your hardware connections
Check the coding syntax error
Use serial monitor
Stay connected with the Arduino forum