• Bodmer's avatar
    Update touch handler · e8c201db
    Bodmer authored
    Added new function that sketch can call to convert raw ADC x and y
    values to calibrated screen coordinates:
    tft.convertRawXY(&x, &y);
    
    Redunced required number of SPI transfers needed to read raw values.
    Changed mode so PENIRQ pin is enabled so users sketch can read this
    signal (if needed).
    
    See issue #279.
    e8c201db
Touch.h 1.86 KB