Actions for Arduino software internals : a complete guide to how your Arduino language and hardware work together
Arduino software internals : a complete guide to how your Arduino language and hardware work together / Norman Dunbar
- Author
- Dunbar, Norman
- Published
- [New York, N.Y.] : Apress, [2024]
- Edition
- Second edition.
- Physical Description
- 1 online resource (xxi, 387 pages) : illustrations (some color).
Access Online
- Series
- Contents
- Intro -- Contents -- About the Author -- About the Technical Reviewer -- Acknowledgments -- Preface -- Preface to the Second Edition -- 1 Introduction -- 1.1 Arduino Installation Paths -- 1.2 Coding Style -- 1.2.1 Number Formats -- 1.3 The Arduino Language -- 1.4 Coming Up -- 2 Arduino Compilation -- 2.1 Settings.json -- 2.1.1 Finding Other Hidden Settings -- 2.1.2 Setting Tab Stops -- 2.2 Globally Defined Properties -- 2.3 Boards.txt -- 2.3.1 Arduino Uno Example -- 2.3.1.1 Board Identifier -- 2.3.1.2 Identification Settings -- 2.3.1.3 Upload Settings -- 2.3.1.4 Bootloader Settings, 2.3.1.5 Build Settings -- 2.3.1.6 Configuring an ICSP -- 2.4 Boards.local.txt -- 2.5 Platform.txt -- 2.5.1 Build Recipes -- 2.5.2 Pre- and Post-Build Hooks -- 2.6 Programmers.txt -- 2.7 Compiling a Sketch -- 2.7.1 Arduino Sketch (*.ino) Preprocessing -- 2.7.2 Arduino Sketch (*.ino) Build -- 2.7.3 After the Build -- 2.8 The Arduino main() Function -- 2.9 Header File Arduino.h -- 2.9.1 Header File avr/pgmspace.h -- 2.9.2 Header File avr/io.h -- 2.9.2.1 Header File avr/iom328p.h -- 2.9.2.2 Header File avr/portpins.h -- 2.9.2.3 Header File -- 2.9.2.4 Header File, 2.9.2.5 Header File -- 2.9.2.6 Header File -- 2.9.3 Header File avr\interrupt.h -- 2.9.4 Header File binary.h -- 2.9.5 Header File WCharacter.h -- 2.9.6 Header File WString.h -- 2.9.7 Header File HardwareSerial.h -- 2.9.8 Header File USBAPI.h -- 2.9.9 Header File pins_arduino.h -- 2.10 The init() Function -- 2.10.1 Enabling the Global Interrupt Flag -- 2.10.2 Enabling Timer 0 -- 2.10.3 Timer 0 Overflow Interrupt -- 2.10.4 Configuring Timer 1 and Timer 2 -- 2.10.5 Initializing the Analog-to-Digital Converter -- 2.10.6 Disabling the USART -- 3 Arduino Language Reference, 3.1 What Are We Looking At? -- 3.2 Digital Input/Output -- 3.2.1 Function pinMode() -- 3.2.2 Function digitalRead() -- 3.2.3 Function digitalWrite() -- 3.3 Analog Input/Output -- 3.3.1 Function analogReference() -- 3.3.2 Function analogRead() -- 3.3.3 Function analogWrite() -- 3.4 Advanced Input/Output -- 3.4.1 Function tone() -- 3.4.2 Function noTone() -- 3.4.3 Function pulseIn() -- 3.4.4 Function pulseInLong() -- 3.4.5 Function shiftIn() -- 3.4.6 Function shiftOut() -- 3.5 Time -- 3.5.1 Function delay() -- 3.5.2 Function delayMicroseconds() -- 3.5.3 Function micros() -- 3.5.4 Function millis(), and 3.6 Interrupts -- 3.6.1 Function interrupts() -- 3.6.2 Function noInterrupts() -- 3.6.3 Function attachInterrupt() -- 3.6.4 Function detachInterrupt() -- 3.7 Bits and Bobs -- 3.7.1 Macro bit() -- 3.7.2 Macro bitClear() -- 3.7.3 Macro bitRead() -- 3.7.4 Macro bitSet() -- 3.7.5 Macro bitWrite() -- 3.7.6 Macro bitToggle() -- 3.7.7 Macro highByte() -- 3.7.8 Macro lowByte() -- 3.7.9 Macro sbi() -- 3.7.10 Macro cbi() -- 4 Arduino Classes -- 4.1 The Print Class -- 4.1.1 Class Members -- 4.1.2 Using the Print Class -- 4.2 The Printable Class -- 4.2.1 An Example Printable Class -- 4.3 The Stream Class
- Summary
- "It's not enough to just build your Arduino projects; it's time to actually learn how things work!" This book goes beyond the basics, providing a comprehensive understanding of Arduino software and hardware, as well as how they intertwine. Gain valuable insights into the inner workings of Arduino and its language, and discover how to communicate with the microcontroller in its native language, AVR C++. Explore the latest version (0.30.0) which offers a multitude of configuration options that can be conveniently modified using the command-line interface (CLI).
- Subject(s)
- ISBN
- 9798868801716 electronic book
9798868801709 paperback
8868801701
9788868801700 - Note
- Place of publication from publisher's website.
- Bibliography Note
- Includes index.
View MARC record | catkey: 45081775