REKLAMA

Symulator LCD.rar

Symulator LCD (HD44780)

Program umozliwia zrozumienie jak inicjalizowac i sterowac wyswietlaczem


Pobierz plik - link do postu
  • Symulator LCD.rar
    • tp.gif
    • b1gd.gif
    • djlcdsim.html
    • back.jpg
    • 21.gif
    • bottom.jpg
    • b0gd.gif
    • b1t.gif
    • 28.gif
    • 4.gif
    • 27.gif
    • 1.gif
    • 7.gif
    • b0d.gif
    • misc.js
    • b1u.gif
    • 24.gif
    • 0.gif
    • 22.gif
    • 13.gif
    • b1gu.gif
    • 8.gif
    • b0gu.gif
    • 15.gif
    • lcd.js
    • 25.gif
    • 30.gif
    • 6.gif
    • 16.gif
    • 5.gif
    • b1d.gif
    • 9.gif
    • 18.gif
    • right.jpg
    • 14.gif
    • b0u.gif
    • tmp.js
    • 12.gif
    • chartable.js
    • 29.gif
    • 10.gif
    • 19.gif
    • left.jpg
    • 17.gif
    • dispscript.js
    • 31.gif
    • 3.gif
    • top.jpg
    • 23.gif
    • 2.gif
    • 11.gif
    • blnk.gif
    • 20.gif
    • 26.gif


Symulator LCD.rar > djlcdsim.html

LCD Simulator {/JavaScipt}

















DjLCDSIM
Dincer's
JavaScript LCD Simulator V 1.02




































































































CGRAM
Viewer
ASCII
Characters 0-7







0


1


2


3


4


5


6


7









































L
C
D

S
T
A
T
& nbsp;Display
is


& nbsp;Cursor
position is



& nbsp;Address Counter (AC):




& nbsp;Cursor
is


& nbsp;Display
scroll is


& nbsp;AC
points to




& nbsp;Cursor
position


& nbsp;Line
1 addresses:


& nbsp;Line
2 addresses:







D7


D6


D5


D4


D3


D2


D1


D0


E


R/W


RS























Hex:


Dec:

Pixel:
Char:




































T
I
P

& nbsp;

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 & amp; 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


Choose script
Define Custom Characters
Odometer







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
& copy; 2001-2003 Dincer
Aydin



Navigate through the rest of my site:
[PIC] [Z80]
[8051] [LCD]
[Bookstore] [Opera]

[Software] [Files]
[Links] [About Me]