atanisoft/esp_lcd_touch_xpt2046

uploaded 4 months ago
esp_lcd_touch driver for XPT2046 touch controllers.
# Change log for esp_lcd_touch_xpt2046

## v1.0.4 - New features

* Add ability to read voltage level from Aux pin.
* Add ability to read temperature using the TEMP0 register (one point mode).
* Add ability to read temperature using the TEMP0 and TEMP1 registers (two point mode).
* Enable PENIRQ pin output when touched (if configured).
* Enable use of PENIRQ input to test for touch (if PENIRQ input pin configured).
* Allow leaving Vref permanently on (if configured). Increases power usage but reduces SPI transactions for temperature and voltage reads.
* Fixes battery voltage read (was scaled incorrectly).
* Fixes coordinate averaging (fix random bad clicks).
* Adjusts Vref voltage to reflect value in typical usage conditions.

## v1.0.3 - Minor Bug fixes

* Add new parameters to ESP_LCD_TOUCH_IO_SPI_XPT2046_CONFIG macro based on IDF v5.1.2 and v5.1.3+.

## v1.0.2 - New features

* Set minimum version for esp_lcd_touch to 1.0.4.
* Add touch interrupt callback functionality.
* Add abilitty to read voltage level from vBat pin.
* Enable ADC during read of X/Y coords (Z already was enabled).
* Add IDF v5.1 esp_lcd_panel_io_spi_config_t updates.
* Fixing interrupt gpio pin reference during initialization.

## v1.0.1 - Bug fix release

* Fixing typo in configuration options.
* Removing usage of temporary array of coordinates.
* Adjustments to ESP_LCD_TOUCH_IO_SPI_XPT2046_CONFIG for IDF v5.0-rc1.
* Add option to return raw coordinate data instead of converting to screen coordinates.

## v1.0.0 - Initial release

This release is the first revision of this component.

Links

Supports all targets

License: MIT

To add this component to your project, run:

idf.py add-dependency "atanisoft/esp_lcd_touch_xpt2046^1.0.4"

or download archive

Stats

  • Archive size
    Archive size: 8.17 KB
  • Downloaded in total
    Downloaded in total 1.2k times
  • Downloaded this version
    This version: 512 times

Badge

atanisoft/esp_lcd_touch_xpt2046 version: 1.0.4
|