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