
Originally Posted by
retepsnikrep
The question is not really clear, if you are using the uart pins on the pic for your rs485 then you can't really use them for the lcd.
If you are hoping to double up on the pin function and use RB2 as the rx you might get away with it as long as data is only arriving when the lcd is not updating and vice versa.
RB5 is not allocated in your post to the lcd?
Why not just use a 16F886
Be very careful with the MCLR on the 16F88 in the configs, if you disable it to use the pin as an I/O you won't be able to program it again via ICSP without great difficulty. It has a hardware gotcha which is a total pain. I always leave it enabled and pulled high with a 10K and dedicated to the ICSP function. Try it if you want ;(
The 16F886 does not have this problem.
Bookmarks