5 years, 7 months ago.

Output is not showing on the console

  1. include "mbed.h"

DigitalOut myled(LED1); Serial pc(USBTX,USBRX);

int main() { pc.baud(9600); while(1) { pc.printf("hello"); printf("Hello"); myled = 1; wait(0.2); myled = 0; wait(0.2); } }

Today I created the sample project as shown in above and I selected the wiznet device w7500 but printing the data on console is not working and I used "Cool Term" as console. if I used the old project printing the data on console is working fine.

1 Answer

5 years, 7 months ago.

Try using RawSerial pc(USBTX, USBRX); instead

...loopsva