Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years ago.
When I run a test with off-line mbed sdk , where to see the log printed.
Hi, everyone,
I am learning mbed, this question confuse me a lot.
When I run a test , such as "MBED_A6", where can I see the log.
int main() { MBED_HOSTTEST_TIMEOUT(10); MBED_HOSTTEST_SELECT(default_auto); MBED_HOSTTEST_DESCRIPTION(DigitalInOut); MBED_HOSTTEST_START("MBED_A6"); bool check = true; d1.output(); d2.input(); d1 = 1; wait(0.1); if (d2 != 1) { printf("MBED: First check failed! d2 is %d\n", (int)d2); //where to see this log check = false; } .... }
Thank you very much!
Usually to the USB/Serial COMx: port see:- https://developer.mbed.org/handbook/SerialPC
Setting you will need for your host PC (Use Application such as Putty Hyperterminal etc.,) Default is:- 9600Baud 8Bit 1Stop bit No Parity no handshaking
posted by Martin Simpson 27 Oct 2015