
touch
Revision 0:630620db0649, committed 2019-10-07
- Comitter:
- sergio_restrepo
- Date:
- Mon Oct 07 23:28:30 2019 +0000
- Commit message:
- touch
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TSI.lib Mon Oct 07 23:28:30 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/emilmont/code/TSI/#507b1f67804b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Oct 07 23:28:30 2019 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include "TSISensor.h" + +int main() { + PwmOut led(LED_GREEN); + TSISensor tsi; + + while(true) { + led=1.0-tsi.readPercentage(); + wait(0.1); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Oct 07 23:28:30 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file