Shop OBEX P1 Docs P2 Docs Learn Events
HD44780 Hitachi 1x16 LCD boundary= — Parallax Forums

HD44780 Hitachi 1x16 LCD boundary=

ArchiverArchiver Posts: 46,084
edited 2001-05-26 23:32 in General Discussion
ECO-

There's a problem in the way you're using PULSOUT. PULSOUT requires
an I/O pin number as an argument. The pin number you are specifying
is "OUTL.bit5", a binary variable which can only contain either 0 or
1 depending on what you've assigned to OUTL. As a result, your
pulse is going out on I/O pin 0 or 1. What you really mean instead
is for the pulse to go out on I/O pin 5.

Try replacing:

enab var OUTL.bit5 'LCD enable = 1

with:

enab CON 5 'LCD enable = 1

This ought to help--I don't see any other big problems (but still on
first cup of coffee).


Regards,

Steve
Sign In or Register to comment.