Paint for the FRDM-KL25Z
Dependencies: mbed TFT_fonts SPI_TFT_ILI9341
Diff: touch.h
- Revision:
- 3:1396bac4ae71
- Parent:
- 2:fe018965e46c
- Child:
- 4:87b40e5986e7
diff -r fe018965e46c -r 1396bac4ae71 touch.h --- a/touch.h Tue Jan 08 06:56:55 2019 +0000 +++ b/touch.h Thu Jan 10 01:14:40 2019 +0000 @@ -1,9 +1,10 @@ #include "mbed.h" +#include "stdio.h" class TouchScreen { - private: - PinName _yp, _ym, _xm, _xp; + + PinName yp, ym, xm, xp; public: TouchScreen(PinName xp, PinName yp, PinName xm, PinName ym);