> Rene Chauvet wrote: > > for some reason the led won't turn on at any time. Could it be because > i'm using an external clock > #define led GPIO,4 ;led active when chip active option > movlw b'11101111' ; sets all pin as inputs exept pin 3 > tris GPIO ;turns led on > bsf led GPIO4 is the OSC2 pin when you use an external oscillator. The chip is probably not functioning at all if a LED is connected to this pin if in LP or XT mode. If in RC mode I think this pin is not used. -- Best regards Tony http://www.picnpoke.com Email sales@picnpoke.com