Mike Harrison wrote >=20 > >I used one recently and only set the ANSEL and TRIS registers to get > it > >working as output on RA2. > >David... >=20 > OPTION_REG - TMR0 clock source? > I don't recall if this affects output mode Yes for baseline PICs (and a definite trap for the unwary), but no, TMR0 clock source has no effect on RA2 output on mid-range or enhanced mid-range PICs, such as the 12F1822. David Meiklejohn www.gooligum.com.au --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .