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.
5 years, 4 months ago.
BufferedSerial library works with FRDM-KL46Z but not the FRDM-KL25Z
I'm trying to port my working code from the FRDM-KL46Z to the FRDM-KL25Z but this line "BufferedSerial rs232 (PTA2, PTA1);" now causes the software to hang. The Serial library works OK but I need the buffer feature of BufferedSerial for reception. Don't know if it's significant but I'm also using the USBSerial and MODSERIAL libraries as I have a number of serial ports and found the software "wouldn't work" if I used the same library for all. Any suggestions really most welcome.