COMPSys April, 2002 A brief HOW-TO for various apps: =============================================================================== The examples below were tested using a Nan Ya 128x64 KS0108 based garaphic LCD =============================================================================== GLUTIL Program ------------------- The hex file required for this program to work is: GLUTIL.HEX - Requires that EEPMINI.HEX be run at least once to load the characters in the eeprom GLUTI2.HEX - same as above but this one loads the mini characters each time it runs The Windows application for this is GLUTIL.EXE Ver 1.2 and higher EETERM demo ---------- This requires that BOTH eepmini.hex and eeaplha.hex be run at least once the baud rate must be set at 9600 8,N,1 EEALPHA.HEX loads standard character set in to the external eeprom EEPMINI.HEX loads the mini character set in the internal eeprom EETERM.HEX is a terminal demo which uses the mini and standard characters This app is mainly a demo to illustrate the use of standard as well as mini characters and also to show what can be done via a terminal, if one was using PICBasicPro one could add other functions to it like setting/unsetting a pin etc. GLIPIC --------- GLIPICW.HEX requires to be loaded in the PIC Note: when this program first runs the LCD is blank Use Windows GLIPIC2.EXE Instructions for KS0108 128x64 LCD: Loading a previously created image. Use the BATHER.BMP image as an example 1. Make sure serial connections are correct to the GL board then start GLIPIC2.EXE 2. Click 'Open' to open the com port at 19200 baud 3. Turn on the GL board (glipicw.hex needs to have been loaded first) 4. The message "Load image..." should be seen in the terminal window (If not check all connections, baud rate etc) 5. Select 128x64 in the SIZE options (the image window will change size) 6. Select the BYTE MATRIX option for Horizontal KS0108 7. Leave all other settings to their default values 8. Click LOAD button below the image window and navigate to the BATHER.BMP image and load it 9. Click the CONVERT button once only 10. Click the REFORMAT FOR OUTPUT button 11. Finally, click the SEND TO LCD button. The image will appear on the LCD Drawing images and the displaying them: Follow Steps 1 - 7 above 8. Press CLEAR in all area that still have data 9. Select a PEN SIZE of your choice (Hint: Start with size 3 first) 10. Click DRAW button and then draw something in the image window 11. To erase a portion click ERASE button and erase whatever you want then press the DRAW button again to continue drawing. 12. When finished drawing click the SAVE button and save the file by giving it a name 13. Click the CLEAR button to clear the window 15. Click OPEN button and load the image previously saved, it will re-appear in the window Note: For KS0108 the make sure INVERT is checked for normal viewing, if you want the image inversed from black on white to white on black then un-check it. 16. Click CONVERT, REFORMAT FOR LCD and finally SEND TO LCD ==== End of Notes =====