You need to make sure that you are using the RC clock if you want to use GPIO4 (pin 3) If you are using a clock source (not RC) then the oscillator has to be set to XT or LP, in which case GPIO4 is used as OSC2. If you are using a RC or Int_RC clock, then GPIO4 is available for use. (Hopefully your clock source is RC). Hope this helps, Michael Barker meb8208@rit.edu ----- Original Message ----- From: "Rene Chauvet" To: Sent: Wednesday, December 01, 1999 2:43 PM Subject: Re: led won't turn on > no I didn't > > ; _______ _______ > ; | \/ | > ; Vdd --+ 1 << >> 8 +-- Vss > ; | | > ; Clock --+ 2 << >> 7 +-- disable signal (gpio0) > ; | | > ; LED --+ 3 >> 6 +-- data stream (gpio1) > ; | | > ; (gpio3) Reset --+ 4 << >> 5 +-- gate output (grio2) > ; | | > ; +-------------------+ > > > boot pin2 pin7 > | | > movlw b'11101111' ; sets all pin as inputs exept pin 3 > tris GPIO ;turns led on > bsf led > > > ----- Original Message ----- > From: Meric Ozcan > To: > Sent: Wednesday, December 01, 1999 10:55 AM > Subject: Re: led won't turn on > > > Well you select the pin 4 as output...Your binary number is > backwards... > > Meric > > > >boot > > movlw b'11101111' ; sets all pin as inputs exept pin 3 > > tris GPIO ;turns led on > > bsf led > > ____________________________________________________________________ > Get free email and a permanent address at http://www.netaddress.com/?N=1 >