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.
10 years, 1 month 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!