Content originally posted in LPCWare by vineetrvce on Tue May 15 04:01:08 MST 2012
Hello All,
I need to toggle the PIO1_5 (UART RTS) on lpc1114 but the pin is not going low at all. When I try to toggle another pin, it is going low and high with the same code.
Here is the code:
#define LED18
#define DIR_CONTROL_PIN5
GPIOInit();// enables the GPIO clock
GPIOSetDir( PORT1, LED1, OUTPUT_PIN );
GPIOSetDir( PORT1, DIR_CONTROL_PIN, OUTPUT_PIN );
with this source code, I am able to get LED1 go low but when i check th voltage on PIO1_5, it shows ~2.75V after executing the above lines.
How can I solve this issue.
[B]NOTE: I am trying this on the LPC Expresso Board only and NOT any other board. So please go ahead and check if you guys face the same problem!!!![/B]
Regards,
Vineet.