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:5b034f71ec5f, committed 2015-11-14
- Comitter:
- patchgi
- Date:
- Sat Nov 14 05:21:10 2015 +0000
- Parent:
- 0:300909268cb9
- Commit message:
- ?????
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Nov 14 05:15:21 2015 +0000
+++ b/main.cpp Sat Nov 14 05:21:10 2015 +0000
@@ -3,12 +3,11 @@
DigitalOut myled(dp18);
int main() {
- float delay=2;
+ float delay=0.2;
while(1) {
myled = 1;
wait(delay);
myled = 0;
wait(delay);
- if(delay>0.1){
- }
+ delay+=0.1
}