Nikita Klimchuk / Mbed 2 deprecated blog_PID

Dependencies:   mbed PID Ticker_HelloWorld millis

Revision:
1:b71be4a00291
Parent:
0:5014bf742e9b
--- a/main.cpp	Thu Feb 14 14:30:22 2013 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#include "mbed.h"
- 
-Ticker flipper;
-DigitalOut led1(LED1);
-DigitalOut led2(LED2);
- 
-void flip() {
-    led2 = !led2;
-}
- 
-int main() {
-    led2 = 1;
-    flipper.attach(&flip, 2.0); // the address of the function to be attached (flip) and the interval (2 seconds)
- 
-    // spin in a main loop. flipper will interrupt it to call flip
-    while(1) {
-        led1 = !led1;
-        wait(0.2);
-    }
-}
\ No newline at end of file