
Programming Arduino: Getting Started with Sketches
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Cover Page
- Title Page
- Copyright Page
- Dedication
- About the Author
- Contents
- Preface
- 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 and Leonardo
- Mega and Due
- The Micro and Small Arduino Boards
- Yun
- 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
- Constants
- 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
- Storing Data in Flash Memory
- EEPROM
- Storing an int in EEPROM
- Using the AVR EEPROM Library
- Storing a float in EEPROM
- Storing a String in EEPROM
- Clearing the Contents of EEPROM
- Compression
- Range Compression
- Conclusion
- 9 Displays
- Alphanumeric LCD Displays
- A USB Message Board
- Using the Display
- Other LCD Library Functions
- OLED Graphic Displays
- Connecting an OLED Display
- Software
- Conclusion
- 10 Arduino Internet of Things Programming
- Communicating with Web Servers
- HTTP
- HTML
- Arduino Uno as a Web Server
- Web-Controlled Arduino
- Node MCU Web Server
- Web-Controlled Node MCU
- Calling Web Services
- Arduino Uno and IFTTT
- Node MCU ESP8266 Board and IFTTT
- Other IoT Options
- Arduino Yun
- Particle Photon
- 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
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.