TS library is for the 4-wire resistive Touch Screen (without an interface) which is usually included on TFT LCD like are MCUFriend displays.
Diff: TS_porting.cpp
- Revision:
- 1:ca8fdb4d4afc
- Parent:
- 0:f2fda7f69e5a
--- a/TS_porting.cpp Mon Nov 02 21:14:08 2020 +0000 +++ b/TS_porting.cpp Sun Jan 17 15:58:15 2021 +0000 @@ -1,7 +1,5 @@ #include "TS_porting.h" -#include "mbed.h" - int TouchScreenPort::getADCvalue(int pin){ return AnalogIn((PinName)pin).read() * 3300; }