DRUID Development Docs: LK202_commands.txt

File: LK202_commands.txt

0xFE 0x43           - line wrap on
0xFE 0x44           - line wrap off
0xFE 0x51           - scroll on
0xFE 0x52           - scroll off
0xFE 0x47 c r       - Set cursor position to c(olumn) r(ow)
0xFE 0x48           - home cursor
0xFE 0x4A           - undeline cursor on
0xFE 0x4B           - undeline cursor off
0xFE 0x53           - block cursor on
0xFE 0x54           - block cursor off
0xFE 0x4C           - cursor left
0xFE 0x4D           - cursor right
0xFE 0x58           - clear display
0xFE 0x42 m         - backlight on for m(inutes) (0=forever)
0xFE 0x46           - backlight off


0xFE 0x76           - init vertical bargraph (thick)
0xFE 0x73           - init vertical bargraph (thin)
0xFE 0x68           - init horizontal bargraph
0xFE 0x4E c <8>     - set custom character c to 8 bytes <8>
0xFE 0x3D c l       - draw vertical bargraph at c(olumn)  l(ength) = 0-20
0xFE 0x7C c r d l   - draw hor bargraph at c(olumn) r(ow) l(ength) = 0-100 d(ir)0/1

IN SIMULATE SERIAL MODE

0xE1    - START I2C signal
0xE2    - STOP  I2C signal
0xE3    - disable display
0xE4    - enable display
0xE5    - disable spinner
0xE6    - enable spinner
0xE7    - light off
0xE8    - light on
0xE9    - disable ir rx
0xEA    - enable ir rx


0x80    - game time
0x81    - real time
0x82    - output error count
0x83    - noack count 


SSPSTAT
7     6        5      4      3      2      1      0
SMP   CKE      D/~A   P      S      R/~W   UA     BF

SSPCON1
7     6        5      4      3      2      1      0
WCOL  SSPOV    SSPEN  CKP    SSPM3  SSPM2  SSPM1  SSPM0

SSPCON2
7     6        5      4      3      2      1      0
GCEN  ACKSTAT  ACKDT  ACKEN  RCEN   PEN    RSEN   SEN

TRISC/PORTC
7     6        5      4      3      2      1      0

PIR1
7     6        5      4      3      2      1      0
                             SSPIF
PIR2
7     6        5      4      3      2      1      0
                             BCLIF

This file Copyright (C) 2004 by Nathan (Acorn) Pooley
Go to DRUID Development page
Go to DRUID page
Go to JU Gadgets page
Go to Justice Unlimited homepage
Go to Acorn's personal webpage
Contact Acorn
See comments from others
Post your own comments
File created by do_doc at Wed Aug 4 18:08:31 2004