SensorTile blinky

Dependencies:   mbed-dev

Files at this revision

API Documentation at this revision

Comitter:
shaoziyang
Date:
Mon Jan 02 15:53:50 2017 +0000
Child:
1:fafdbfaeff56
Commit message:
Add PORTG support

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-dev.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	Mon Jan 02 15:53:50 2017 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+
+DigitalOut LED(PG_12);
+
+
+int main()
+{
+
+    while(1)
+    {
+        LED = 0;
+        wait(1);
+        LED = 1;
+        wait(1);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-dev.lib	Mon Jan 02 15:53:50 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed-dev/#1375a99fb16d