problem with LCDDEMO
Hello
I'm still new to the Propeller and Spin but am working through some of the Object Exchange Objects.
I am trying to use the LCDDEMO to drive a standard 4 X 20 with a Hitachi HD44780 driver chip.
I found the connection diagram in the driver documentation was incorrect (data lines and RS/E reversed) and once I had changed that I was able to get something displayed but only on lines 1 and 3. Looking in the HD44780 data sheet it seems that the memory locations for the characters on line 3 continue from line 1.
ie Line 1 ends at address 93 and line 3 begins at address 94. It seems that the INIT routine in the LCDDEMO is not configuring the display for 4 lines correctly but I can't figure out in the PUB INIT in the LCDDEMO to make the corrections. Does anyone else have any experience with this object.
Thanks
I'm still new to the Propeller and Spin but am working through some of the Object Exchange Objects.
I am trying to use the LCDDEMO to drive a standard 4 X 20 with a Hitachi HD44780 driver chip.
I found the connection diagram in the driver documentation was incorrect (data lines and RS/E reversed) and once I had changed that I was able to get something displayed but only on lines 1 and 3. Looking in the HD44780 data sheet it seems that the memory locations for the characters on line 3 continue from line 1.
ie Line 1 ends at address 93 and line 3 begins at address 94. It seems that the INIT routine in the LCDDEMO is not configuring the display for 4 lines correctly but I can't figure out in the PUB INIT in the LCDDEMO to make the corrections. Does anyone else have any experience with this object.
Thanks
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
Yes I went in and changed the INIT in the LCDDEMO object from 6 to 40 ($28) and all working.
I don't know if anyone else has had problems with this Object.
I had wired the d4-d7 pins using ascending Prop pins. This seemed to be the only driver that allowed me to do that. Now that you mention a problem with the schematic, I wonder if I'll be able to get this to work with the other drivers now. But no matter, that driver seems to do everything I need and is already configured for a 2 line display (just had to fix things a little for the 12 characters instead of the default of 16).