7 years, 9 months ago.

Where to see the output of the sample program "Seeed_Ethernet_Shield "

I used the sample program provided and I connected the Ethernet Shield W5100 with STM32F103RB, then I complied the sample program on mbed online platform and it showed success. However, i am confused that where to see the output of the sample program.

It can be seen from the code below, such as

printf(">>> Could not initialise. Halting!\n"); printf(">>> Get IP address...\n");

It means there should be something to be printed, but i don't know where can i see it.

Many thanks!

Question relating to:

1 Answer

7 years, 9 months ago.

In my limited experience, when one see the line

Serial pc(USBTX, USBRX); (which you have)

it's followed by calls like:

pc.printf("print something here \r\n");

and the text comes out the USB jack. Perhaps you can try changing a printf to pc.printf

Accepted Answer