Beginning Arduino programming
Beginning Arduino Programming allows you to quickly and intuitively develop your programming skills through sketching in code. This clear introduction provides you with an understanding of the basic framework for developing Arduino code, including the structure, syntax, functions, and libraries need...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
New York :
Apress
2011.
|
Edición: | 1st ed. 2011. |
Colección: | Technology in action series.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628524906719 |
Tabla de Contenidos:
- Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Who This Book is For; Reading This Book; Arduino 1.0; Conventions; Downloading the Code; CHAPTER 1 Getting Started; Arduino is for Makers; The Arduino Ecosystem; The Arduino Platform; Open-Source Hardware; Community; Arduinoland; Arduino is C... Mostly; What's Needed; Getting Up and Running; Installing the Software; Connecting the Arduino; Opening a Sketch; Selecting the Board and Serial Port; Uploading a Sketch; Summary; CHAPTER 2 Sketching in Code
- What is Sketching in Code?Project 1: RGB Blink; Hooking It Up; Uploading the Source Code; Source Code Summary; The Structure of Arduino C; Using Comments; Basic Functions; Statements and Syntax; Verifying and Uploading; Verifying; Saving; Uploading; Common Errors; Summary; CHAPTER 3 Working with Variables; Project 2: 7-Color Blink; Hooking It Up; Uploading the Source Code; Source Code Summary; What's a Variable?; Declaring Variables; Variable Names; Data Types; Variable Qualifiers; Predefined Constants; Variable Scope; Using Operators; Arithmetic Operators: +, -, *, /
- Compound Operators: ++,
- , +=, -=, *=, /=Order of Operations; Summary; CHAPTER 4 Making Decisions; Project 3: Tilt Blink; Hooking It Up; Uploading the Source Code; Source Code Summary; Comparative and Logical Operators; Control Statements; For; While; Do; Switch; Break; Continue; Summary; CHAPTER 5 Digital Ins and Outs; Arduino I/O Demystified; Project 4: Noisy Cricket; Hooking It Up; Uploading the Source Code; Source Code Summary; Digital Functions; pinMode(); digitalWrite(); digitalRead(); State Changes; Toggle; Counting; Modality; Summary; CHAPTER 6 Analog In, Analog Out
- Analog DemystifiedProject 5: Telematic Breath; Hooking It Up; Uploading the Source Code; Source Code Summary; Analog Functions; analogRead(); analogWrite(); analogReference(); Analog Serial Monitor; Reading Analog Values; Using the Serial Monitor; How It Works; Mapping Values; map(); constrain(); Summary; CHAPTER 7 Advanced Functions; Timing Functions; delay(); delayMicroseconds(); millis(); micros(); Random Functions; random(); randomSeed(); Project 6: Ambient Temps; Hooking It Up; Uploading the Source Code; Source Code Summary; Writing Functions; Declaring Functions; Calling Functions
- Function ReturnsFunction Parameters; Project 7: HSB Color Mixer; Hooking It Up; Uploading the Source Code; Source Code Summary; Hardware Interrupts; attachInterrupt(); detachInterrupt(); Summary; CHAPTER 8 Arrays and Memory; Project 8: Decision Machine; Hooking It Up; Uploading the Source Code; Source Code Summary; Inclusions and Declarations; setup() and loop(); Functions; Arrays; Declaring Arrays; Using Arrays; Arrays of Values; Array Limits and sizeof(); Assigning Array Values; Character Arrays; Multidimensional Arrays; Arduino Memory; Checking Free RAM; Using Program Memory; Using EEPROM
- Summary