Software › USART Counter

USART Counter

demo Open · freely redistributable

An original CC0 bare-metal STM32F103 program. It brings up USART1 (as USART Hello does) and prints an incrementing four-digit decimal counter ("Count 0000", "Count 0001", …) using a hand-written decimal increment with carry (no libc, no division), toggling the on-board LED on PC13 once per count. On-board only: USART1 and PC13.

Download ↓

Format: STM32F103 flash image (bare-metal, compiled C)  ·  By: emulators.org  ·  Licence: Public domain (CC0)

Runs on