LCDpadJumpers.txt LCD-pad Data '============================================================== LCD-pad Jumpers =============== J1 (outer pin and centre pin) link to configure ilm216 LCD J2 (outer pin and centre pin) link to force 9600 baud if configured for 2400 To configure run DoILM.bat which reads HXTRCFG.txt and prepares HXTRCFG.DEC Drag HXTRCFG.DEC into a NotePad window, copy the text and paste it into cfgilm216.bsx Add DATA to the start of the lines and load it into the BS2Sx, put J1 on the LCD, reset the BS2Sx and the LCD will be configured. Remove J1. '-------------------------------------------------------------- 'LCD keys '======== ' ------------------- ' | LCD | ' ------------------- ' bit0 bit1 bit2 bit3 ' S1 S2 S3 S4 '-------------------------------------------------------------- 'LCD commands '============ 'For more detailed information see the ILM-216 User Manual. 'Function ASCII '-------- ----- 'Null 0 'Cursor home 1 'Hide cursor 4 'Show underline cursor 5 'Show blinking-block cursor 6 'Bell (not implemented with Hextor LCD) 7 'Backspace 8 'Horezontal tab (4 columns) 9 'Smart linefeed (cursor down one line) 10 'Vertical tab (cursor up one line) 11 'Formfeed (clear screen) 12 'Carriage return 13 'Backlight on 14 'Backlight off 15 'Accept cursor position entry 16 ' 64 is the start of the first line ' 80 is the start of the second line 'Format right aligned text 18 'Escape (ESC; start multipart instruction) 27 ' K=ASCII 75 ' 27 "K" 0 -> byte, bit0 - bit3 are keys, 1=closed ' bit7 - bit4 always %0100 so with ' no keys pressed ->@ ' one or more ->A through O ' 27 "K" 1 -> 4 bytes of "0" or "1", "1"=closed ' just S2 => "0100" '-------------------------------------------------------------- User manual - ILM-216 see www.seetron.com '-------------------------------------------------------------- Seetron (Scott Edwards) configuration data for ILM.EXE ====================================================== ; ========ILM-216 EXAMPLE CONFIGURATION FILE========== ; This is an example configuration file for the ILM-216. ; You may edit this file and use the DOS downloading utility ; to configure your display's persistent settings. The ; custom characters you define, the options you select, ; and the text you enter will be stored in the module's ; EEPROM. EEPROM will hold those settings forever, or ; until you download new settings. ; The program ILM.EXE is written to run from the DOS command line in ; the following format: ; ; ILM COM1 FILENAME ; ; where COM1 is the device (COM1, COM2, DEC, or HEX) for output. ; Normally the output will be sent to a com port at 2400 bps ; to configure a connected ILM display. Output can also be directed ; to a text file with the specified number format (DEC or HEX). The ; file created this way will have the same name and path as the ; input filename, but with the file extension DEC or HEX. ; Filename is the DOS filename for a configuration text file. ; If the file is not in the current DOS path, the full path must ; be given. ; Lines like these that begin with ; are ignored and may be ; used as comments. Blank lines are also ignored. ; ===============CUSTOM CHARACTERS======================= ; The EEPROM holds 6 custom characters, which are mapped ; to ASCII codes 128 through 133. Characters consist of 5- ; by 8-pixel bitmaps. To define the bitmaps, edit the text ; below. Set your text editor for a monospaced font like ; Courier so that columns of characters line up. To draw ; the pixels, use the period (.) for light pixels, and any ; printing character (A, B, X, O, *, +, etc.) for dark ; pixels. Spaces are ignored so that you can use them to ; format your drawings, as shown below. The easiest way ; to draw bitmaps is by putting the text editor into ; over-write mode (press Insert key) and type over the ; examples below. ASCII 128 O O O . . O . . . . O O . . . O . . O . O . . O . . . . O . . . . O . . . . O . ASCII 129 O O O . . O . . . . O O . . . O . O O . O . . . O . . . O . . . O . . . . O O O ASCII 130 O O O . . O . . . . O O . . . O . O O . O . . . O . . . O . . . . . O . . O O . ASCII 131 O O O . . O . . . . O O . . . O . O . O O . O . O . . O O O . . . . O . . . . O ASCII 132 . O . . . O . O . . O . O . . . O . . . . . O . O . . O O . . . O . O . . O . O ASCII 133 . O . . . O . O . . . O . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; ================STARTUP OPTIONS======================== ; In this section you define the starup configuration of ; the display. Fill in the desired setting for each of ; the options. ; Data Rate: type 1200, 2400, 4800 or 9600 bps. DATA RATE= 9600 ; Backlight: type ON or OFF BACKLIGHT= OFF ; Screen: type BLANK or EEPROM (EEPROM means the text ; screen that you will define later.) SCREEN= EEPROM ;SCREEN= BLANK ; Delay: type a number, 0 through 15. This number will represent ; the delay, in 1/2-millisecond units, between sending a request ; for key data and receiving a response. For computers with full- ; duplex capabilities (PCs), use 1. For computers like the Stamps ; that don't have full-duplex, try 5 (2.5ms) as a starting point. DELAY = 10 ; ================EEPROM TEXT SCREEN===================== ; You can store one full screen of text in the EEPROM. ; Type it below exactly as you want it to appear. Begin ; your text on immediately after the = sign. If you ; insert a space, that space will become part of the ; LCD text. Use the 'ruler' line to help format your text. ; Lines exceeding 16 characters will be cut off. Lines ; shorter than 16 characters will be padded with spaces. ; 1 16 ; |--------------| LINE1= Hextor v1.0 LINE2=by David Buckley