> > I came across this problem and couldn't find a way to define an individual > port bit. I just define the bit so the code is something like: > > bsf PORTA, LED1 > > Maybe worth asking Microchip's tech support. > Cheers > James Does #define not work? I'd think something like this would work: #define Led1 LATA,1 bsf Led1 Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist