Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I am glad that you got the answer, if you got any further problems just feel free to ask.
Dear kubeek,
I thought ask one more question please help
LCD_RS Equ 0x04
How can we decided LCD_RS reference to which port of which pin?
Please advice
Thanks in advance
Dear Nigel Thanks for the reply,
LCD_PORT Equ PORTA
LCD_TRIS Equ TRISA
LCD_RS Equ 0x04 ;LCD handshake lines
LCD_RW Equ 0x06
LCD_E Equ 0x07
Is above has PORT specified separately
#DEFINE LCD_RS PORTA,0 ; This is the method I know. what should be the other methods
LCD_RS equ 0x04; my question is how we know ( 0x04 ) is pin 4 of PORTA
I ask like this
I want to configure RS pin of LDC connect to PORTA,4,
LCD_PORT EQU PORTA ; Understood
LCD_RS EQU PORTA,4 ; pin 4 of PORTA as LCD_RS
bsf LCD_PORT , LCD_RS ; YES Understood
If you define " LCD_RS EQU PORTA,4"
Then you just have to do "BSF LCD_RS" not "BSF LCD_PORT, LCD_RS"
LCD_RS equ 0x04; my question is how we know ( 0x04 ) is pin 4 of PORTA
If you define " LCD_RS equ 0x04"
Then you need to do "BSF LCD_PORT, LCD_RS"
Please help or try to understand my Quentin at lease
Thanks in advance