Quantcast
Channel: Articles on JeeLabs
Viewing all articles
Browse latest Browse all 296

Making an LED blink (and fade)

$
0
0
Just like C-based code benefits from a runtime library with utility functions, Forth can benefit from a set of pre-defined words to talk to the hardware peripherals built-into every F103 µC. This utility code has been written from scratch for Mecrisp Forth, the STM32F1 series of µC’s and some of it also for other STM32 variants. It’s still experimental, but working out nicely. All the code lives in the embello area on GitHub, in a folder called explore/1608-forth/flib/:

Viewing all articles
Browse latest Browse all 296

Trending Articles