The program looks now right.
Have you checked the display specifications ( delays etc. )?
You could try it without the busy flag, the compiler should generate correct delays.
Have you checked the wiring?
Now go over and read the part number on your PIC installed on the board.
Point being you've got half a dozen different PICs mentioned here...
16F819, 16F628A in a picture, PIC16F684 in the code, looks like it's wired up for a 16F648A.
Now go over and read the part number on your PIC installed on the board.
Point being you've got half a dozen different PICs mentioned here...
16F819, 16F628A in a picture, PIC16F684 in the code, looks like it's wired up for a 16F648A.
I checked over and over, then tried a continuity test between each pin against all the pins. PIN1 showed it was connected to 5V.
At the bottom of the board 100mm from the circuit, I have the power connection, and a +V link across the board. So the copper line was connected all the way the up board to pin 1.
Sorry for time wasted, I was warned!!
It is working ok now.
Thanks to everyone who helped me, and once again apologies.
I had tested it with a logic probe, but it sounded to me as if PIN1 was working ok. I found it when I did a test of each pin against every other pin, which for me is not usual.