Hi, I'm using a MCB2100 dev board with LPC2129 chip. I am used to using a 8051 based chip and have used the sbit declaration for pin assignment previously. However it doesn't really like it with my new board. How do I go about reading from an individual pin? thanks Andy
if (IOPIN0 & 0x0000040) tests PIN0.6 for high. It reads also other pins, but the AND mask effectively ignors them.