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 0:b564ed6f85f5, committed 2017-09-14
- Comitter:
- jphuc96
- Date:
- Thu Sep 14 17:16:01 2017 +0000
- Commit message:
- first_v1
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed-os.lib | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Sep 14 17:16:01 2017 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "EthernetInterface.h"
+//#include "HTTPServer.h"
+//#include "mbed_rpc.h"
+
+DigitalOut myled(LED1);
+
+int main() {
+ while(1) {
+ myled = 1; // LED is ON
+ wait(0.2); // 200 ms
+ myled = 0; // LED is OFF
+ wait(1.0); // 1 sec
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Thu Sep 14 17:16:01 2017 +0000 @@ -0,0 +1,1 @@ +https://github.com/ARMmbed/mbed-os/#c9e63f14085f5751ff5ead79a7c0382d50a813a2