LCD Simulator {/JavaScipt}

DjLCDSIM
Dincer's JavaScript LCD Simulator V 1.05

CGRAM Viewer ASCII Characters 0-7

0 | 1 | 2 | 3 | 4 | 5 | 6 | 7

L C D | S T A T | Display is | Cursor position is | Address Counter (AC):
Cursor is | Display scroll is | AC points to
Cursor position | Line 1 addresses: | Line 2 addresses:

D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | E | R/W | RS

Hex: Dec: Pixel: Char:

T I P | B O X | DjLCDSIM is script simulating a 2*16 character type LCD with a HD44780 controller. All instructions but read data / busy flag are supported. The aim is to help people trying to learn how to use such displays. DjLCDSIM requires a Javascript 1.2 capable browser. It runs fine on Opera 5.12 (for Windows), Netscape 4.76 (Windows & Linux), and MS Internet Explorer 4 or above. DjLCDSIM is provided as is, without warranty of any kind, expressed or implied. Use it at your own risk! - The author can't in any way be held responsible for eventual damage caused directly or indirectly by this program. It is strongly suggested that you save any unsaved work you may have before attempting to use this script.

S
C
R
I
P
T

B
O
X

Using the script box, it's possible to control the LCD without using the buttons above. Provided are some functions to send the LCD instructions and data so that it's easier to experiment with. These can be combined with JavaScript experssions if needed. Here are the functions: instr(instructionCode) // sends instruction data(caharacterCode) // sends data mcl(x_times) // move cusror left mcr(x_times) // move cursor right sdl(x_times) // shift display left sdr(x_times) // shift display right DDRadrs(address) // set DDRAM address CGRadrs(address) // set CGRAM address putstr('string') // print string There is also a script to define some custom characters. The odometer script runs only with Opera 5.12 on Windows. It may run on Netscape, but the browser may crash.

If you want to use DjLCDSIM off-line, click here to download it.
Fill a feedback form if you wish to share your opinion about DjLCDSIM with me.

Copyright © 2001-2003 Dincer Aydin

Navigate through the rest of my site:
[PIC] [Z80] [8051] [LCD] [Bookstore] [Opera]
[Software] [Files] [Links] [About Me]