This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
available () { | |
command -v $1 >/dev/null 2>&1 | |
} | |
# Make sure we have wget or curl | |
if available wget; then | |
SILENT_DL="wget -qO-" | |
LOUD_DL="wget" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\ A STM8 eForth WS2812 demo with tested timing | |
\ 8 x WS2812B on PCB with 470µF capacitor at 5V supply | |
\ 3.3V MINDEV: PB4 with 1K pull-up to 5V works well | |
\res MCU: STM8S103 | |
\res export PB_DDR PB_ODR PB_CR1 | |
#require ]B! | |
#require ]CB |