Skip to content

Commit

Permalink
fix: double touch interval was reduced to 100ms to feel more natural
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanOricil committed Apr 28, 2024
1 parent 0df317d commit ff05ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tft-touch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define PWM_FREQ_BCKL 400
#define PWM_BITS_BCKL 8
#define PWM_MAX_BCKL ((1 << PWM_BITS_BCKL) - 1)
#define DOUBLE_TOUCH_INTERVAL 500
#define DOUBLE_TOUCH_INTERVAL 100

TFT_eSPI tft = TFT_eSPI();
XPT2046_Bitbang touchscreen(TOUCH_MOSI, TOUCH_MISO, TOUCH_CLK, TOUCH_CS);
Expand Down

0 comments on commit ff05ee3

Please sign in to comment.