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.
Dependencies: MMA8451Q TSI USBDevice mbed
Revision 2:f37d74a0e3e2, committed 2012-10-24
- Comitter:
- emilmont
- Date:
- Wed Oct 24 13:02:53 2012 +0000
- Parent:
- 1:4f62fc36c30d
- Child:
- 3:27c137ffa2d8
- Commit message:
- update mbed library
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Oct 23 09:27:00 2012 +0000
+++ b/main.cpp Wed Oct 24 13:02:53 2012 +0000
@@ -4,7 +4,7 @@
DigitalOut gpo(PTB8);
DigitalOut led(LED_RED);
- while(1) {
+ while (true) {
gpo = 1;
led = 1; // Off
wait(2);