1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 02:08:06 +11:00
collapseos/blk/557

9 lines
243 B
Plaintext
Raw Normal View History

: _cmd LCD_PORT_CMD PC! LCDWAIT ;
: _data! LCD_PORT_DATA PC! LCDWAIT ;
: _data@ LCD_PORT_DATA PC@ LCDWAIT ;
2020-05-08 20:50:34 +10:00
: LCDOFF 0x02 ( CMD_DISABLE ) _cmd ;
: _col! ( col -- )
0x20 ( CMD_COL ) + _cmd ;
: _row! ( row -- )
0x80 ( CMD_ROW ) + _cmd ;