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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello,
#include "mbed.h" Serial pc(USBTX, USBRX); // tx, rx Serial device(p28, p27); // tx, rx int main() { while(1) { if(pc.readable()) { device.putc(pc.getc()); } if(device.readable()) { pc.putc(device.getc()); } } }Above is the handbook sample code. I just change the device pin to p28 and p27. On the hardware side i'm uisng MAX3232C driver. Just have a testing for p9/p13(tx) and p10/p14(rx) are working fine but p28(tx) is not working because what ever data is transmit from UART terminal is not able to receive from USB terminal.
I would like to know and confirm whether the pin is damage or is it this p28(tx) have special configure for UART feature?
Best Regards, Wen.