"wait_us" example
Revision 1:09163b143242, committed 2013-03-21
- Comitter:
- emilmont
- Date:
- Thu Mar 21 13:00:28 2013 +0000
- Parent:
- 0:453461456608
- Commit message:
- More explicit message
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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) {
Emilio Monti