Adafruit_TouchScreen icon indicating copy to clipboard operation
Adafruit_TouchScreen copied to clipboard

Arduino library for 4-wire resistive touchscreens

Results 17 Adafruit_TouchScreen issues
Sort by recently updated
recently updated
newest added

![exemple_lecture](https://github.com/adafruit/Adafruit_TouchScreen/assets/156216113/0b89413d-8752-48b3-99ce-d06a6defe080) Hello Everyone, I made a working sketch with an arduino Mega 2560 but the looks very slow because of the SPI speed. So i decide to use an arduino...

Question: I noticed a number of 1024 and 1023 in the TouchScreen library and wonder if it is related to an assumption of a 10 bit A/D (i.e. Arduino 8-bit)?...

Added support for ADCs with other than 10 bir resolution, by adding a optional paramter `adcBits` to constructor. The constructor updates a member variable `_adcMax` to `2^adcBits-1`. Subsequent calculations are...

Arduino board: ESP32 Hi, I just noticed a small bug on ESP32, which has 12bit ADC resolution. The driver works as expected if `analogReadResolution(10);` is called before using `getPoint()`. Otherwhise,...

There is no function to calibrate touch data coming from the screen. The CircuitPython lib does this when creating the touchscreen. https://github.com/adafruit/Adafruit_CircuitPython_Touchscreen/blob/baaef855b2f4cb4e7f7d961c65b09c0000413fd8/adafruit_touchscreen.py#L126

The current typedef of ```RwReg``` is not compiled for ATMega1284P MCUs. With this Pull-Request the ATMega1284P is added to the list of 8-bit MCUs and so the typedef will be...

Updating fork Thank you for creating a pull request to contribute to Adafruit's GitHub code! Before you open the request please review the following guidelines and tips to help it...

- The #if def checks for RwReg were missing a check for ATmega 1280, causing the sketch to fail to build. Added a check for `__AVR_ATmega1280__` and it builds succesfully...

This is a fairly simple issue that I think Could be easily fixed. the defined for Rev2 is "__AVR_ATmega4809__" this in not included in current release. I had purchased "...

https://github.com/adafruit/Adafruit_TouchScreen/blob/4f845058265afb23c6f29967130d6486920ff5d7/TouchScreen.cpp#L38 should be: * @brief Check if the current point **is** equivalent to another point as the function compares two points: ```c bool TSPoint::operator==(TSPoint p1) { return ((p1.x == x)...