Software › Serial counter

Serial counter

demo Open · freely redistributable

An original public-domain AVR sketch. It brings up USART0 and prints an incrementing four-digit counter ("Count 0000", "Count 0001", …) using a hand-written binary-coded-decimal add, roughly twice a second, blinking the onboard LED (PB5) once per count. On-board only: serial and PB5.

Download ↓ Original source ↗

Format: Compiled AVR flash image (16-bit words, base64)  ·  By: emulators.org  ·  Licence: Public domain

Runs on