Skip to content

Instantly share code, notes, and snippets.

View VK6TT's full-sized avatar

Richard VK6TT

  • Perth, Australia
View GitHub Profile
@VK6TT
VK6TT / gist:c866e99af9e8305be4857226a69aa9cb
Last active January 29, 2018 05:49
STM8 eforth - Displaying number on W1209 3 digit display
\ to display a number on the 3 character display of the W1209 board
\ formatted xx.x ie one decimal place
\ using extract and digit ie existing words
: Clrdisplay 32 E7S 32 E7S 32 E7S ;
: DIGIT [ $CC C, $88F1 , OVERT
: EXTRACT [ $CC C, $88FE , OVERT
: .dp 46 E7S ;
: Clrdisplay 32 E7S 32 E7S 32 E7S ;