> On a PIC16F88, I would use: > #define LED1 PORTAbits.RA0 In most cases this will put you at the mercy of the Read-Modify-Write=20 problem. Better define a bit in a porta-shadow register, chacge that=20 bit, and copy it to PORTA after each change of any bit. --=20 Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu C++ on uC blog: http://www.voti.nl/erblog --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .