Ble nano kit v2 and DAPLink 1.5 Serial is not working


#1

#include “mbed.h”

// define the Serial object
Serial pc(USBTX, USBRX);

DigitalOut myled(P0_11);

int main() {
while (true) {

    myled = 1;
    wait(1.5);
    myled = 0;
    wait(1.5);
    
    myled = 1;
    wait(0.2);
    myled = 0;
    wait(0.2);
    myled = 1;
    wait(0.2);
    myled = 0;

    pc.printf("Blink! LED is now \r\n");
}

}