Emilio Monti
/
test_wait
"wait_us" example
Diff: main.cpp
- Revision:
- 1:09163b143242
- Parent:
- 0:453461456608
--- a/main.cpp Thu Mar 21 12:54:07 2013 +0000 +++ b/main.cpp Thu Mar 21 13:00:28 2013 +0000 @@ -14,7 +14,7 @@ } else { printf("while(False): Got out of the wait loop\n"); } - printf("0x%x\n", (us_ticker - start)); + printf("%d\n", (us_ticker - start)); DigitalOut led(LED1); while (1) {