![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
c.c.d
Fork of FRDM_TSI by
main.cpp
- Committer:
- sral4054
- Date:
- 2017-10-12
- Revision:
- 6:b891d792daf0
- Parent:
- 1:51b1b688179a
File content as of revision 6:b891d792daf0:
#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); } }