>=20 > >> > > >> >> I'm using the CCS compiler. The code looks like this: > >> >> > >> >> Output_low(PIN_A1); > >> >> Delay_ms(200); > >> >> Output_high(PIN_A1); > >> > >> Wouldn't you need a delay after the output high, so you=20 > can see the=20 > >> led is on? > >> > >No, the anode of the LED is connected to the PIC. The cathode is=20 > >connected to +3. >=20 > Ok, then this should show constant on, unless there's a=20 > hidden delay when the code loops. >=20 Hmm? Cathode is positive, right? +5 --- -> (LED) ---- PIC A1 is normally high (not shown in code). I bring it low, the LED comes on. I wait 200 ms. Then it goes high and the LED turns off. Am I missing something here? Alex -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu