Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 11 months ago.
Pin descriptions for LPC1768
I am new to the mbed platform and have a few queries regarding the LPC1768 mbed application. Where can I find the pin names used in libraries? Is there any documentation specifying the same? As an example : GPIO pin `p9` is actually port 0.0 . When using DigitalOut library, to configure port0.0 as digital output the port is described as `p9`. Similarly, when using the serial port 0 (Rx0 & Tx0), Tx0 is described as `USBTX` and Rx0 as `USBRX'
This was about the pre-defined GPIO ports for the LPC1768 mbed board.
How can I define ports other than the mbed defined ports as digital ? Ex: port 0.20