A library for Freescale MCU which contain TSI peripheral, just for Kinetis L version. Because they use "lighter" version of TSI peripheral.

Dependents:   kl25z-tinyshell-demo tsi_slider_light_senso_LED frdm_tsi_slider_led_blend demo_slider ... more

This library is "fork" of the TSI library created by the mbed team.

Files at this revision

API Documentation at this revision

Comitter:
Kojto
Date:
Sat Feb 22 15:42:11 2014 +0000
Parent:
1:8a2098a10330
Child:
3:20ffa9b18488
Commit message:
Forgotten reference for TSI Electrodes in the Analog slider

Changed in this revision

tsi_sensor.h Show annotated file Show diff for this revision Revisions of this file
--- a/tsi_sensor.h	Sat Feb 22 11:25:35 2014 +0000
+++ b/tsi_sensor.h	Sat Feb 22 15:42:11 2014 +0000
@@ -182,8 +182,8 @@
         _absolute_distance_pos = distance;
     }
 private:
-    TSIElectrode  _elec0;
-    TSIElectrode  _elec1;
+    TSIElectrode& _elec0;
+    TSIElectrode& _elec1;
     uint8_t       _scan_in_progress;
     TSIElectrode* _current_elec;
     uint8_t       _percentage_position[2];