Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 183 to 183 | ||||||||
Changed: | ||||||||
< < | Create a Task Control Block (TCB) with the name blinker& | |||||||
> > | Create a Task Control Block (TCB) with the name blinker& (the ampersand at the end of the word is UNIX style, it means to start the process in the background and the shell job control does not wait till the process terminates). | |||||||
task blinker& | ||||||||
Line: 201 to 201 | ||||||||
Another task to write date and time every second to the OLED:
: clock ( -- ) | ||||||||
Changed: | ||||||||
< < | ['] oled-emit hook-emit ! \ redirect terminal to oled-emit | |||||||
> > | >oled \ redirect terminal to oled-emit | |||||||
3 oledfont -1 -1 -1 alarm! \ set an alarm every second begin wait-alarm \ wait a second | ||||||||
Changed: | ||||||||
< < | 0 4 oledpos! | |||||||
> > | 0 0 oledpos! | |||||||
.time again ; |