Hello All; I am trying to make a very simple ADC program with a PIC16F88 which reads only one input at AN4. The PIC has a 10bit output which I want to be shown on pins RB0-RB7, RA0 and RA1 by just sending a logic 1 or 0 to each pin. I am using MPLAB IDE and MPLAB SIM as the compilier. I notice there is an error which says ADC-W0008: No stimulus file attached to ADRESL for A/D. which I don't understand. I know the code is very close to what it needs to be but I am missing something subtle....Any suggestions or comments would be GREATLY appreciated here! Thanks in Advance....
And also, what would be the best way to test this? Im currently using a pot to vary a dc voltage at the input AN4 with a range between vdd and vss....will this suffice?
Attached is my .asm file
And also, what would be the best way to test this? Im currently using a pot to vary a dc voltage at the input AN4 with a range between vdd and vss....will this suffice?
Attached is my .asm file