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.
Diff: main.cpp
- Revision:
- 1:8cd3ad6ab5f3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Oct 06 09:40:57 2016 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#include "Led.h"
+
+Led greenLed(PD_12);
+Led orangeLed(PD_13);
+Led redLed(PD_14);
+Led blueLed(PD_15);
+
+int main(){
+ while(1){
+ greenLed.flash(0.1);
+ orangeLed.flash(0.1);
+ redLed.flash(0.1);
+ blueLed.flash(0.1);
+ }
+}
\ No newline at end of file