Skip to content

Instantly share code, notes, and snippets.

View kkmonster's full-sized avatar
Working from home

Wasin Wongkum kkmonster

Working from home
View GitHub Profile
staltz /
Last active June 21, 2024 12:27
The introduction to Reactive Programming you've been missing

This is a collection of code snippets for various features on the STM8S family microcontrollers (specifically the STM8S003F3). These are written against the STM8S/A SPL headers and compiled using SDCC.

Some of this controller's functions aren't particularly intuitive to program, so I'm dumping samples for future reference here. These are based on the STM8S documentation:

Run at 16MHz