Have ported previously working software from a 12F629 to a 12F1822. Using R= A2 as an output port. Writing and reading back from LATA,2 but no connectio= n to pin. Pin output is driven low. (pin5) ANSELA =3D 0 SRCON0 =3D 0 CM1CON1 =3D 0 CCP1CON =3D 0 MDCON =3D 0 APFCON =3D 0 WPUA =3D 0 TRISA =3D 0x19 Something else is controlling the pin, but I am unable to determine what. D= oes anyone have any ideas? Paul Owen __________ Information from ESET NOD32 Antivirus, version of virus signatur= e database 9261 (20140107) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signatur= e database 9261 (20140107) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com --=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 .