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.
Revision 0:19967d57a803, committed 2018-06-27
- Comitter:
- animesh44
- Date:
- Wed Jun 27 04:33:54 2018 +0000
- Commit message:
- This will control the brightness of the red led using the capacitive touch sensor present onboard the KL25Z board.
Changed in this revision
diff -r 000000000000 -r 19967d57a803 TSI.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TSI.lib Wed Jun 27 04:33:54 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/emilmont/code/TSI/#507b1f67804b
diff -r 000000000000 -r 19967d57a803 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Wed Jun 27 04:33:54 2018 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+#include "TSISensor.h"
+
+
+int main() {
+TSISensor tsi;
+PwmOut myled(LED1);
+ while(1) {
+ myled = 1-tsi.readPercentage();
+ wait(0.1);
+ }
+}
diff -r 000000000000 -r 19967d57a803 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Jun 27 04:33:54 2018 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/a7c7b631e539 \ No newline at end of file