Hi,

Thanks for taking the time to look. I tried to reply earlier, but I guess something went wrong, but if another post pops up just ignore that one....

I have not got any code yet as I have been trying lots of different things to get this to work. I have been trying for a week now to no avail. I just can't get anything to happen.

I had a lot of problems with a PIC16F690 before, until I set ANSEL and ANSELH. I guess it is something like this again, but I cannot find what, and have almost given up.

I thought I'd try this forum to see if anyone else had used thie 18F4523, and if so what they did to set it up.

As for code, I guess I would do something like this:

LH:
PortB.3 = 1 '(just an example, any port would do!!!)
Pause 1000
PortB.3 = 0
Pause 1000
Goto LH
End

But I know I have to set up the outputs, Osc etc first and this is where I am getting stuck. I have tried so many different variations but I am not getting anywhere.

I guess I should really keep looking through the 380 pages of the data sheet, and eventually I may come accross what I'm after, but I am new to this and was hopeing not to have to spend another few weeks before I can get anything to happen....

As for the harware, I have just got the VDD connected to +5v and VSS connected to GND (both sets of VDD and VSS). I am using 10Uf, and 100nf decoupling capacitors. For the outpt I am just looking at various pins using a volt meter. I am programming it using a Pickit II programmer, and I am not sure what pinout I am using for this as I have not got the circuit with me at the moment.

So in short I have not got the experience to go through the data sheet to find the info that I need, Please help!. Once I have something that I know should work I can use this to see if my hardware setup is fine, ie not missing any pullups etc (I think I tried MCLR pullup once).

Thanks.