Looks like the issue is Word. If I try Excel, it works. Too bad - there are downloadable templates for common peel and stick labels for Word. Guess I'll have to build my own.
If you are playing...
I find my mistake :-)
I uninstall mplab 8.85 for the last mplab version : 8.92...
and now all my code is compiled without error ... really crazy :-)
this was my first idea, but the n's is correct, it is the same in pic18f45k50.pbpinc file
and the 285 value for BORV is correct too
may be I don't check an option in editor option? I...
CONFIG nPWRTEN = OFF
CONFIG nLPBOR = OFF
I don't the n's should be there. I don't have the config files on this computer but verify that 285 is indeed a valid setting for the brownout,...
before format my PC, my code worked well and the compilator too
after I installed all my programs (same programs) on my fresh windows, I got a error that I don't understand...
I have just checked this on an inkjet printer and there is no grey between the bars and the code works fine on my barcode reader and my Android tablet.
You didn't tell what PIC you use. It can make big difference...
For example PIC18F87K22 have differential inputs, and negative results are two’s complement of result. So for -1 = $FFFF, -2 = $FFFE...
I think it may be a hardware problem with that ad channel , as testing other channels i dont have the problem
seeing some readings when doing ADC on a channel giving a dec value 5534, 5144, ect when using ADCIN
have defines set to 12 bit
the adc channel is grounded via 26k resistor for testing
Google and I have been dating for decades. Unfortunately when I tried that one, it looked great on the screen, and printed with grey between the black bars rendering the code unreadable.