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.
Revision 1:4a9102b0e1c1, committed 2022-05-13
- Comitter:
- momidi
- Date:
- Fri May 13 08:18:09 2022 +0000
- Parent:
- 0:b124081ccd07
- Commit message:
- a
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri May 13 08:17:17 2022 +0000
+++ b/main.cpp Fri May 13 08:18:09 2022 +0000
@@ -1,13 +1,13 @@
#include "mbed.h"
-DigitalOut led(D13);
+DigitalOut motor(D13);
int main()
{
while(1) {
- led = 1;
+ motor = 1;
wait(3.0);
- led = 0;
+ motor = 0;
wait(1.0);
}
}
\ No newline at end of file