Touch LED

Dependencies:   TSI mbed

Fork of FRDM_TSI by mbed official

Files at this revision

API Documentation at this revision

Comitter:
9677223479
Date:
Mon Aug 31 08:37:10 2015 +0000
Parent:
5:b44f5f02b879
Commit message:
Touch LED;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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