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:
- 3:b76c74783d0d
- Parent:
- 2:10c60edc8573
- Child:
- 4:3041a571b7a7
--- a/main.cpp Mon Jan 04 23:36:50 2016 +0000 +++ b/main.cpp Tue Jan 05 21:32:11 2016 +0000 @@ -45,9 +45,6 @@ rn52.get(RN52_CALLER_ID, &res); printf("%s", res.response); break; - case 'e': - cdc.start_elapsed_time(); - break; } } switch (cdc.get_cmd()) { @@ -92,13 +89,7 @@ break; } if(rn52.changed()) { - printf("got RN52 event\r\n"); rn52.get(RN52_GETSTATUS, &res); - printf("raw: %s",res.response); - printf("event: %i\r\n", res.event); - printf("connection: %i\r\n", res.connection); - printf("media_profile: %i\r\n", res.media_connected); - printf("phone_profile: %i\r\n", res.phone_connected); switch (res.event) { case RN52_CALLER_ID_EVENT: rn52.get(RN52_CALLER_ID, &res);