i have a final project and it title is a DIGITAL COMPASS.. i already have the hardware but i must create it program myself. im using keypad 4x4, lcd 2x16, pic16f87a dan sensor( Hitachi HM55B compass module ).. i have a program but it didnt works.. LCD didnt show anything.. im stucks.. here this program and circuit. .thanks so much for helping me..
About LCD, first you have to initialize them after power ON. If you don't initialize it wright then first line of LCD will be "black".
If You have black line you have to reconsider initialisation of LCD. If you do good initialisation I suggest to make small program which wrote only one character to LCD (e.g. "a"), after that you can do anything in steps one by another.