Fork of Kojto's library with bugfixes: * added PTC2/TSI0_CH15 pinmapping for KL25 and KL46 MCUs * Fixed readDistance() function
Fork of tsi_sensor by
Fork of Kojto's library with bugfixes
- added PTC2/TSI0_CH15 pinmapping for KL25 and KL46 MCUs
- Fixed readDistance() function
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."); }