3 years, 1 month ago.

get_stdio_serial is undefined

Hello,

Using the online compiler, I'm trying to change the stdio baud rate like so:

Serial& pc = get_stdio_serial(); pc.baud(115200);

But I'm getting the following

Error: Identifier "get_stdio_serial" is undefined in "main.cpp", Line: 213, Col: 19

Header mbed.h is included. Do I need to include any additional headers? Is there a list of the available headers and their purpose?

Be the first to answer this question.