Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 25 to 25 | ||||||||
wled! ( u -- ) set the W (LCD backlight) led wled@ ( -- u ) get the W (LCD backlight) led | ||||||||
Changed: | ||||||||
< < | switch1? ( -- ? ) get switch1 (BACK), closed=TRUE switch2? ( -- ? ) get switch2 (OK), closed=TRUE switch3? ( -- ? ) get switch3 (RIGHT), closed=TRUE | |||||||
> > | switch1? ( -- ? ) get switch1 (BACK button), closed=TRUE switch2? ( -- ? ) get switch2 (OK button), closed=TRUE switch3? ( -- ? ) get switch3 (RIGHT button), closed=TRUE | |||||||
switch4? ( -- ? ) get switch4 (LEFT), closed=TRUE | ||||||||
Changed: | ||||||||
< < | switch5? ( -- ? ) get switch5 (UP), closed=TRUE switch6? ( -- ? ) get switch6 (DOWN), closed=TRUE | |||||||
> > | switch5? ( -- ? ) get switch5 (UP button), closed=TRUE switch6? ( -- ? ) get switch6 (DOWN button), closed=TRUE button ( -- c ) wait for and fetch the pressed button (similar to the key word) char b BACK, o OK, r RIGHT, l LEFT, u UP, d DOWN button? ( -- ? ) Is there a button press? | |||||||
dport! ( n -- ) set the digital output port (D0=bit0 .. D15=bit15). dport@ ( -- n ) get the digital input/output port (D0=bit0 .. D15=bit15). |