Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

LCD configuration

  1. Apr 11, 2010 #1
    Am trying to write the configuration section for hd44789 display connected to pic16f84 micro controller, and i didn't understand from where can i get the data sent to the ports for the configuration...Example:
    MOVLW 03H ;Why 03?
    MOVWF PORTB
    CALL CLOCK ; Subroutine previously defined
    CALL DELAYP1;Subroutine previously defined

    MOVLW 02H ; Why 02?
    MOVWF PORTB
    CALL CLOCK
    CALL DELAYP1

    MOVLW 02H
    MOVWF PORTB
    CALL CLOCK
    CALL DELAYP1

    MOVLW 08H
    MOVWF PORTB
    CALL CLOCK
     
  2. jcsd
  3. Aug 2, 2011 #2
    do you need to do that in asmsembler or you are free to choose the languaje?? you can use PCWH picc to program in c lenguaje! its esasier.. if not... giveme a chance and I will reply this with asm!! Im currently busy with my thesis
     
  4. Aug 2, 2011 #3

    MATLABdude

    User Avatar
    Science Advisor

    As this thread is a year and a half old, hopefully the OP figured out that the HD44789 is a parallel input IC, and read through enough of the PIC16F84 datasheet to decode the assembly / figure out the PIN/PORT/TRIS configuration and operation.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: LCD configuration
  1. LCD projector into SLM (Replies: 1)

Loading...