Skip to content

Commit be005fe

Browse files
committed
Touch Sensor IDF Refactoring
1 parent 4fa91de commit be005fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/ESP32/examples/Touch/TouchButton/TouchButton.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The sketh will tell when it is touched and then relesased as like a push-button
66
This method based on touchInterruptSetThresholdDirection() is only available for ESP32
77
*/
88

9-
#include <Arduino.h>
9+
#include "Arduino.h"
1010

1111
int threshold = 40;
1212
bool touchActive = false;

libraries/ESP32/examples/Touch/TouchButtonV2/TouchButtonV2.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The sketh will tell when it is touched and then relesased as like a push-button
66
This method based on touchInterruptGetLastStatus() is only available for ESP32 S2 and S3
77
*/
88

9-
#include <Arduino.h>
9+
#include "Arduino.h"
1010

1111
int threshold = 1500; // ESP32S2
1212
bool touch1detected = false;

0 commit comments

Comments
 (0)