Software › Blink + Serial + LEDs (demo)
Blink + Serial + LEDs (demo)
demo Open · freely redistributable
A self-authored, public-domain ATmega328P program, hand-written in AVR assembly and assembled with avr8js's own assembler. It initialises USART0 (9600 8N1) and prints a greeting, sets PORTB to all-outputs (the eight LEDs) and walks a lit LED across them forever, while mirroring two on-screen buttons (wired to PD2/PD3) onto the top LEDs. Real AVR machine code, so every instruction can be single-stepped in the debugger.
Format: Compiled AVR flash image (16-bit words, base64) · By: emulators.org · Licence: Public domain