a9beec902d
Added 7 point median filtering to reduce noise TOUCHPADDriver structure now encapsulates the IRQ pin, so removed the TP_CS_ and TP_IRQ_ macros Added generic tp_lld_read_value method to read any ADC channel from the XPT2046, this includes on-chip temperature sensor and VBAT input Improved SPI bus sharing, with the optional TOUCHPAD_SPI_PROLOGUE and TOUCHPAD_SPI_EPILOGUE macros |
||
---|---|---|
.. | ||
readme.txt | ||
touchpad_lld_config.h | ||
touchpad_lld.c | ||
touchpad_lld.mk |
To use this driver: 1. Add in your halconf.h: a) #define HAL_USE_TOUCHPAD TRUE 2. To your makefile add the following lines: include $(LCDLIB)/lcd.mk include $(LCDLIB)/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.mk