Arm Mbed and Pelion Device Management support forum

Serial doesn't work with latest mbed-os library and Hexiwear

The following code, using the latest mbed-os library, does not work with Hexiwear :

#include "mbed.h"

Serial pc(USBTX, USBRX);

int main()


The example posted here: works perfectly (it uses an old version of mbed-os 5).

I am using CoolTerm and the settings are ok.