Analogue Robot
Member
Hello.
I am using a 16F819 with a HD4470U-type LCD in 4-bit mode.
The LCD code I have now works when I connect LCD D4 - D7 to 16F819 RB4 - RB7. I have no trouble moving RS and E from bit to bit and across ports.
Here are my problems:
1) Is it possible to connect LCD D4 - D7 to RB0 - RB3 instead so I can use the higher PORTB bits for other purposes? I've tried tinkering with the code (altering the masking in the bit merging routine), with no success so far.
2) Is possible to transfer the LCD D4 - D7 to PORT A, without using RA0? (- I need the analogue input).
- If anyone needs to inspect my LCD code I can try to post it.
Thanks.
- Analogue.
I am using a 16F819 with a HD4470U-type LCD in 4-bit mode.
The LCD code I have now works when I connect LCD D4 - D7 to 16F819 RB4 - RB7. I have no trouble moving RS and E from bit to bit and across ports.
Here are my problems:
1) Is it possible to connect LCD D4 - D7 to RB0 - RB3 instead so I can use the higher PORTB bits for other purposes? I've tried tinkering with the code (altering the masking in the bit merging routine), with no success so far.
2) Is possible to transfer the LCD D4 - D7 to PORT A, without using RA0? (- I need the analogue input).
- If anyone needs to inspect my LCD code I can try to post it.
Thanks.
- Analogue.