HD44780 Hitachi 1x16 LCD boundary=
Archiver
Posts: 46,084
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
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