Prerequisites are required for this in-depth tour through the intriguing worlds of the Arduino Uno and Mega 2560. Few details are too insignificant to remain unexplored here. Coverage includes the internals of: digital I/O, the I2C bus, the SPI bus, the Hardware Serial Library, STK500, STK500v2, interrupts, the boot sequence from power-on to setup() and loop(), analogWrite(), analogRead(), time and delays, the EEPROM Library, PROGMEM, and F().
Do you already know how to program the Arduino in C/C++ and want to delve deeper? This book guides you step by step from being an absolute beginner to knowing how to use assembly language in your Arduino sketches. We work inside the familiar Arduino IDE, and you can download all the source code from the companion website. All you need is an Arduino Uno or an Arduino Mega 2560, without any extra hardware or electronic components. Both are based upon 8-bit AVR RISC microcontrollers, and you will learn how to use AVR assembly for jumping, branching, logic operations, bit shifting and rotating, arithmetic, I/O, and more. You will also learn about the stack, function calling conventions, and interrupts.
Copyright © 2019 Arne Vidstrom. All Rights Reserved.