4424
Dependencies: TSI mbed nRF24L01P
main.cpp
- Committer:
- prtkmynk
- Date:
- 2018-06-07
- Revision:
- 1:2dbb8dcaeceb
- Parent:
- 0:753c28769057
File content as of revision 1:2dbb8dcaeceb:
#include "mbed.h" #include "TSISensor.h" Serial pc(USBTX,USBRX); TSISensor TSI; float sensor; main() { while(1) { sensor=(100*TSI.readPercentage()); pc.printf("%0.2f\n\r",sensor); wait(0.2); } }