Programming Arduino Getting Started with Sketches
Yüklə
5,42 Kb.
Pdf görüntüsü
səhifə
78/78
tarix
22.12.2023
ölçüsü
5,42 Kb.
#189286
1
...
70
71
72
73
74
75
76
77
78
Arduino SimonMonk 2011
Document Outline
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
Yüklə
5,42 Kb.
Dostları ilə paylaş:
1
...
70
71
72
73
74
75
76
77
78
Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət
gir
|
qeydiyyatdan keç
Ana səhifə
Stomatologiya
Anesteziologiya
Cərrahlıq
Ginekologiya
Tibb
yükləyin