CALL DELAYP1Configuring HD44789 Display with PIC16F84

  • Thread starter Thread starter hisham.i
  • Start date Start date
  • Tags Tags
    Configuration Lcd
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 4K views
hisham.i
Messages
176
Reaction score
2
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
 
Engineering news on Phys.org
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! I am currently busy with my thesis
 
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.