Just a simple example of blinking led
Dependencies: mbed
Simple example of blinking led used as a starter to valid all the toolchain in Icarus Sensor System.
Revision 3:65d6deb7d07b, committed 2014-11-19
- Comitter:
- smigielski
- Date:
- Wed Nov 19 20:57:59 2014 +0000
- Parent:
- 2:c76222c6370a
- Commit message:
- Making it simpler
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c76222c6370a -r 65d6deb7d07b main.cpp --- a/main.cpp Wed Nov 19 19:39:12 2014 +0000 +++ b/main.cpp Wed Nov 19 20:57:59 2014 +0000 @@ -5,8 +5,8 @@ int main() { while(1) { led = 1; // LED is ON - wait(0.05); // 50 ms + wait(0.250); // 250 ms led = 0; // LED is OFF - wait(0.05); // 50 ms + wait(0.750); // 750 ms } } \ No newline at end of file