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.
10 years, 6 months ago.
Serial communication over generic I/O pins
Hi all, I have a Nucleo F401RE board.
is possible to create an MBed serial object over 2 generic pins? Or I must use two from uarts ports?
Example:
Serial serPort(PB_13, PB_14);
1 Answer
10 years, 6 months ago.
The hardware provides serial communication using some specialized pins. Use theses pins with a Mbed serial object.
With generic pins you need a software emulation, look at the cookbook http://developer.mbed.org/users/Sissors/code/BufferedSoftSerial/