Suresh Natarajan
/
FRDM_TSI
Touch LED
Fork of FRDM_TSI by
Revision 6:6a7da12598ff, committed 2015-08-31
- 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 |
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