Ok - I've copied and pasted the code over the original INC file (I did back up the old one first) - and removed the ASM part from the PBP code and it compiled fine.
On the breadboard RB0 is faintly lit and appears to be flickering slightly as I'm only getting +0.85v on RB0 - all other pins are low - also removing the Xtal seems to have no affect on the LED output, which to me would suggest that the timing is still not working ??
Taking pin5 (RA3/AN3/Vref+) takes RB0 low (with or without Xtal present) if that has any bearing on what is happening.
If I get chance I'll try and post a schematic of the basic hardware set up
Bookmarks