A couple things...
You're writing the dtmf value to all 8 bit's of PORTB. But PORTB.3 is the LCD's Enable Bit.
So when the data is 8, PORTB.3 gets set High, interfering with the enable line.
You should also turn off the Analog functions since the LCD is on PORTA.
ADCON1 = $7F
<br>




Bookmarks