I strongly hope you have powered your pic with 3.3 V and not with 5 V.I made this schematic and I wrote this code. But, once again !, I see nothing on display. Suggestions ?
If you did, than there is a high possibility that the display is burned.
If you powered pic correctly then add to your circuit 2 pullup resistors (4.7 K)
from +3.3 to SDA and from +3.3 to SCL.
Add DEFINE I2C_HOLD 1 to your code.
Al.
Bookmarks