tim008 tim008 / Mbed 2 deprecated LV5_Grupa3_Tim008_zadatak2

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
tim008
Date:
Mon Mar 31 15:27:00 2014 +0000
Commit message:
LV5-PAI-Grupa3-Tim008

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
diff -r 000000000000 -r ad7a69a80950 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Mar 31 15:27:00 2014 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+
+AnalogIn ulaz (dp9);
+PwmOut signal (dp18);
+
+int main ()
+{
+    signal=0.0;
+    signal.period_us (500);
+    while  (1)
+    {
+        signal=ulaz;
+        wait_ms(1);
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r ad7a69a80950 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Mar 31 15:27:00 2014 +0000
@@ -0,0 +1,1 @@
+http://world3.dev.mbed.org/users/mbed_official/code/mbed/builds/824293ae5e43
\ No newline at end of file