cvicenie1funkcne

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
radovan
Date:
Mon Oct 16 13:53:47 2017 +0000
Commit message:
cvicenie1

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	Mon Oct 16 13:53:47 2017 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+DigitalOut myled(LED_BLUE);
+Serial pc(USBTX, USBRX);
+int main() {
+    while(1) {
+        myled = 1;
+        pc.printf("nesvieti\n\r");
+        wait(1);
+        myled = 0;
+        pc.printf("svieti\n\r");
+        wait(1);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Oct 16 13:53:47 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/b484a57bc302
\ No newline at end of file