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: mbed DHT DigitDisplay
Fork of STM32_Read_Sensors_Example by
Revision 2:b60cb847489c, committed 2014-02-21
- Comitter:
- bcostm
- Date:
- Fri Feb 21 09:36:12 2014 +0000
- Parent:
- 1:6e558092d3df
- Child:
- 3:6d8574d8c9c1
- Commit message:
- Put different delays for ON and OFF states + add comments
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Feb 17 22:16:05 2014 +0000
+++ b/main.cpp Fri Feb 21 09:36:12 2014 +0000
@@ -4,9 +4,9 @@
int main() {
while(1) {
- myled = 1;
- wait(0.2);
- myled = 0;
- wait(0.2);
+ myled = 1; // LED is ON
+ wait(0.2); // 200 ms
+ myled = 0; // LED is OFF
+ wait(1.0); // 1 sec
}
}
--- a/mbed.bld Mon Feb 17 22:16:05 2014 +0000 +++ b/mbed.bld Fri Feb 21 09:36:12 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/ \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/ed8466a608b4 \ No newline at end of file
