Skip to content

Instantly share code, notes, and snippets.

View atochukwu0's full-sized avatar

atochukwu0

  • JonCat Inc.
  • Anambra Nigeria.
View GitHub Profile
@stecman
stecman / STM8S_programming_examples.md
Last active January 7, 2024 01:44
STM8S code examples

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