Touch LED

Dependencies:   TSI mbed

Fork of FRDM_TSI by mbed official

Revision:
6:6a7da12598ff
Parent:
1:51b1b688179a
diff -r b44f5f02b879 -r 6a7da12598ff main.cpp
--- a/main.cpp	Thu May 09 09:26:46 2013 +0000
+++ b/main.cpp	Mon Aug 31 08:37:10 2015 +0000
@@ -1,12 +1,12 @@
 #include "mbed.h"
 #include "TSISensor.h"
-
+ 
 int main(void) {
     PwmOut led(LED_GREEN);
     TSISensor tsi;
     
     while (true) {
         led = 1.0 - tsi.readPercentage();
-        wait(0.1);
+        wait(01);
     }
 }
\ No newline at end of file