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.
Diff: tsi_sensor.h
- Revision:
- 9:ef4781f21ea3
- Parent:
- 7:f4bb237d08ca
--- a/tsi_sensor.h Wed Apr 15 08:22:29 2015 +0000 +++ b/tsi_sensor.h Fri Jun 12 19:26:51 2015 +0000 @@ -131,6 +131,7 @@ #if defined(TARGET_KL25Z) || defined(TARGET_KL46Z) case PTC0: return 13; case PTC1: return 14; + case PTC2: return 15; #endif default: error("PinName provided to TSIElectrode::getTSIChannel() does not correspond to any known TSI channel."); }