Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: TSI mbed nRF24L01P
Revision 0:753c28769057, committed 2017-03-31
- Comitter:
- prtkmynk
- Date:
- Fri Mar 31 08:09:05 2017 +0000
- Child:
- 1:2dbb8dcaeceb
- Commit message:
- 135;
Changed in this revision
--- /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