mackrackit

The compiler did not seem to like the commas.
e.g @ __CONFIG _CONFIG1H, _INTIO2_OSC_1H & _IESO_OFF_1H

I have just tried the line:
@__CONFIG_INTRC_OSC_NOCLKOUT

and it seems to compile with this. I do not know what this does and do not know if it applies to this PIC, but I was just seeing if would complie.

I am using MicroCode Studio, and when I go to View/Compile and Program Options/Compile Tab the use PBPL checkbox is ticked (although I have tried unticked) and when I go to the Assembler Tab the Use MPASM is ticked. I have not changed any of the settings (appart from PBPL) since I have been programming a 16F690 and this seems to program fine.


mark_s

I think I may be confusing the issue with the A-D convertor. I do not want any A-D stuff yet, I just want a simple?!? digital output to prove to myself that my setup works. I will look at ADCON2 now though. I tried another PIC18F4523 and this does not give me any output either. I have re-checked all the connections with a DVM and they all seem fine.


If I still have no luck over the weekend then I will buy some different pics on Monday.