touch

Dependencies:   mbed TSI

Files at this revision

API Documentation at this revision

Comitter:
sergio_restrepo
Date:
Mon Oct 07 23:28:30 2019 +0000
Commit message:
touch

Changed in this revision

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