Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Acknowledgments
Introduction
1 This Is Arduino
Microcontrollers
Development Boards
A Tour of an Arduino Board
Power Supply
Power Connections
Analog Inputs
Digital Connections
Microcontroller
Other Components
The Origins of Arduino
The Arduino Family
Uno, Duemilanove, and Diecimila
Mega
Nano
Bluetooth
Lilypad
Other “Official” Boards
Arduino Clones and Variants
Conclusion
2 Getting Started
Powering Up
Installing the Software
Uploading Your First Sketch
The Arduino Application
Conclusion
3 C Language Basics
Programming
What Is a Programming Language?
Blink—Again!
Variables
Experiments in C
Numeric Variables and Arithmetic
Commands
if
for
while
The #define Directive
Conclusion
4 Functions
What Is a Function?
Parameters
Global, Local, and Static Variables
Return Values
Other Variable Types
floats
boolean
Other Data Types
Coding Style
Indentation
Opening Braces
Whitespace
Comments
Conclusion
5 Arrays and Strings
Arrays
Morse Code SOS Using Arrays
String Arrays
String Literals
String Variables
A Morse Code Translator
Data
Globals and Setup
The loop function
The flashSequence Function
The flashDotOrDash Function
Putting It All Together
Conclusion
6 Input and Output
Digital Outputs
Digital Inputs
Pull-up Resistors
Internal Pull-up Resistors
Debouncing
Analog Outputs
Analog Input
Conclusion
7 The Standard Arduino Library
Random Numbers
Math Functions
Bit Manipulation
Advanced I/O
Generating Tones
Feeding Shift Registers
Interrupts
Conclusion
8 Data Storage
Constants
The PROGMEM Directive
EEPROM
Storing an int in EEPROM
Storing a float in EEPROM (Unions)
Storing a String in EEPROM
Clearing the Contents of EEPROM
Compression
Range Compression
Conclusion
9 LCD Displays
A USB Message Board
Using the Display
Other LCD Library Functions
Conclusion
10 Arduino Ethernet Programming
Ethernet Shields
Communicating with Web Servers
HTTP
HTML
Arduino as a Web Server
Setting Arduino Pins over the Network
Conclusion
11 C++ and Libraries
Object Orientation
Classes and Methods
Built-in Library Example
Writing Libraries
The Header File
The Implementation File
Completing Your Library
Conclusion
Index
← Prev
Back
Next →
← Prev
Back
Next →