Difference: OledDisplay (14 vs. 15)

Revision 152021-01-20 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 8 to 8
 }%
Intro

Intro

Added:
>
>
I really like the neat little OLED displays. They are crisp and draw only some miliamps. Cheap OLED display have a resolution 128x32 that's enough for about 4 lines and 20 characters.

Driver oled.c

 Code page 850

Code page 850, 9x14

Line: 61 to 65
 
: clock (  -- )
  oledclr

Changed:
<
<
hook-emit @ \ save emit hook ['] oled-emit hook-emit ! \ redirect terminal to oled-emit -1 -1 -1 alarm!
>
>
3 oledfont -1 -1 -1 alarm! \ set an alarm every second
  begin wait-alarm \ wait a second
Deleted:
<
<
.time
  0 0 oledpos!
Added:
>
>
hook-emit @ \ save emit hook ['] oled-emit hook-emit ! \ redirect terminal to oled-emit .time hook-emit ! \ restore old hook
  key? until key drop
Deleted:
<
<
hook-emit ! \ restore old hook
 ;
Added:
>
>
 
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback