PDA

View Full Version : lcdout define each data pin



EDWARD
- 12th October 2005, 19:45
I trying to use lcdout command. on 16f73 - hd4478 - 4bit mode


is it possible to not only define the E and R/S Pin individually, but also also each data pin in a 4 bit mode? could this also be done by modifying the library files? Is there an efficient assembly file that can be included into the program?

My data pins to the lcd are not at the top or bottom side of the port. they are spread out among the ports. (PORTB.3 , PORTA.0, PORTA.1, PORTA.2)
I have solved this by writing my own lcd routines including them in the program. problem is that the lcd routine file is 261 words. and passing the data is inefficient. It works ok but i am trying to sqeeze a few more routines into my program.

I cant modify the hardware. If thats the only thing that we can come up with then i cant do it.

BobK
- 12th October 2005, 19:54
Hi Edward,

Yea I remember reading about all the stuff you went thru getting the LCD program re-written. I just looked up the manual for the 16F73. This is a 4k chip. The 16F76 is the same package but has 8K of memory. You don't have to change anything except get a new micro. You will have to choose the new type in the programming configuration but the program you've written should work on the new one.

BobK

EDWARD
- 12th October 2005, 19:59
Yeah, it has worked out fine. i would am just trying to add a few more features but they arent critical to the operation. Problem is that pics are all surface mounted, and boards are already made. I really need software approach. I think that this could be if the library file were modified.