This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

to set a pin value

i am working with lpc2129 to control dc motor

i have a problem to set a port pin value to 1 and then to 0

PINSEL0_bit.P0_7 = 0x00;

i use the above code but it post an error saying that PINSEL0_bit is not defined

please help me to program using mdk arm

0