Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 1:7ae3a9b9b2b0
- Parent:
- 0:1917e5873a6e
--- a/main.cpp Fri Oct 27 13:57:13 2017 +0000 +++ b/main.cpp Fri Oct 27 13:58:40 2017 +0000 @@ -32,5 +32,6 @@ static int cbCount = 0; // Initialized on load. Remembered between calls. cbCount++; // Increment call back counter. if (cbCount == 11) cbCount = 1; // Reset every 10 times. + // Note: printf should not be used in interrupt style callbacks! printf("In ticker callback loop. Count = %d.\n", cbCount); } \ No newline at end of file