Forth code for Mecrisp (+Stellaris) on STM32 and MSP430
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
168 B

: setup-led 1 30 lshift $48000000 bis! ; \ PA15 LED output (assuming reset state of PA15)
: led-on 1 15 lshift $48000018 bis! ;
: led-off 1 31 lshift $48000018 bis! ;