dftgs

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
AK1412
Date:
Sat Jun 30 05:51:56 2018 +0000
Commit message:

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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Jun 30 05:51:56 2018 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+
+Ticker timer;
+DigitalOut led(D13);
+
+void interrupt(){
+    led=!led;
+    }
+int main() {
+    
+    timer.attach( interrupt, 1.0);
+    
+    while(1) {
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Jun 30 05:51:56 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/5aab5a7997ee
\ No newline at end of file