We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
PINSEL0_bit.P0_7 = 0x00;//set first functionality to port
IO0DIR_bit.P0_7 = 0x01; // set P0.7 port to output
IO0SET_bit.P0_7 = 0x01; // set P0.7 port to high//
the above code is not working
please sugest ant modification in above code to set a pin value in lpc2129 controller
1. Please do NOT create new thread, you should keep all the related discussions/infomation at the same place (thread).
2. Please provide some infomation about your Toolchain, where do you get that source code, etc.
i got the code from lpc2129 board seller's cd
i use realview mdk arm 3
That includes not asking new questions in the duplicate thread!
Check this link: " href= "http://ics.nxp.com/support/documents/microcontrollers/zip/code.bundle.lpc213x.lpc214x.realview.zip"> ics.nxp.com/.../code.bundle.lpc213x.lpc214x.realview.zip
"i got the code from lpc2129 board seller's cd
i use realview mdk arm 3"
That information needs to be added to your original thread.
Search for a directory named "GPIO" in the Sample Code Bundle, then study it!