#define Test B'00000101' > I should know the answer :-( > > But when I declare a constant > > Test equ 5 > > MPSIM shows the constant Test at address 5. > > How do you get MPLAB to assign a constant a value that can be used in > calculations? > > I must be having a doh day :-) > > _______________________________________ > Roy > Tauranga > New Zealand > _______________________________________ > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.296 / Virus Database: 265.6.5 - Release Date: 26/12/2004 > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist