Prateek Agrawal / Mbed 2 deprecated lab15_touchsensor_reading

Dependencies:   TSI mbed nRF24L01P

Files at this revision

API Documentation at this revision

Comitter:
prtkmynk
Date:
Fri Mar 31 08:09:05 2017 +0000
Child:
1:2dbb8dcaeceb
Commit message:
135;

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
nRF24L01P.lib 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	Fri Mar 31 08:09:05 2017 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/mbed/code/TSI/#1a60ef257879
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Mar 31 08:09:05 2017 +0000
@@ -0,0 +1,16 @@
+#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);
+    }
+}  
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Mar 31 08:09:05 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/9baf128c2fab
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nRF24L01P.lib	Fri Mar 31 08:09:05 2017 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/users/Owen/code/nRF24L01P/#8ae48233b4e4