lcdout define each data pin


Closed Thread
Results 1 to 3 of 3
  1. #1
    EDWARD's Avatar
    EDWARD Guest

    Default lcdout define each data pin

    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.

  2. #2
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    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

  3. #3
    EDWARD's Avatar
    EDWARD Guest


    Did you find this post helpful? Yes | No

    Default yo

    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.

Similar Threads

  1. Matrix Keypad routine
    By mister_e in forum Code Examples
    Replies: 134
    Last Post: - 18th September 2022, 20:30
  2. RX TX modules - intermitent communication
    By ruijc in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 11th June 2009, 00:13
  3. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts