Fahrudin Brbutovic Orhan Ljubuncic

Dependencies:   mbed

Revision:
0:fabd67d1bf08
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Mar 31 09:53:00 2014 +0000
@@ -0,0 +1,19 @@
+#include "mbed.h"
+
+PwmOut osc(dp18);
+AnalogIn pot(dp9);
+
+int main()
+
+{
+    osc=0;
+    osc.period_us(500);
+    
+    
+    
+    while(1)
+    {
+        osc.write(pot.read());
+    }
+
+}