Report
7 months, 2 weeks 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.

Comment on this question

1 Answer

7 months, 2 weeks ago.

Try using RawSerial pc(USBTX, USBRX); instead

...loopsva


To post an answer, please log in.