Arduino

From Steak Wiki
Jump to navigationJump to search

Arduino is a software library for AVR microcontrollers (and others). It is aimed at fast prototyping, sometimes at the cost of performance. It has extensive libraries and software for many popular ICs. Elitists will hate on Arduino, but that's mostly because they don't want you to be successful.


Arduino Nano as flammable gas sensor.

Convert Uno code to ASM

apt-get install binutils-avr

compile program in IDE. find .elf file (was in deb 9 /tmp/arduino-build.#####/) (can look at verbose arduino compile window)

avr-objdump -S code.ino.elf > output.asm

See gas sensor, or ph sensor in 2019 projects for more details

Ref: https://forum.arduino.cc/index.php?topic=50169.0

While you are at it also do,

 readelf -a code.ino.elf > output.elf