Yes it works
Thank you very much
Search found 2 matches
- Mon May 13, 2019 8:53 am
- Forum: General Discussion
- Topic: need help with touch GPIO
- Replies: 2
- Views: 3440
- Sun May 12, 2019 11:12 am
- Forum: General Discussion
- Topic: need help with touch GPIO
- Replies: 2
- Views: 3440
need help with touch GPIO
I write a code for two touch GPIO T0 and T3 to turn on leds at GPIO 22,23 this is my code int threshold = 50; bool touch1detected = false; bool touch2detected = false; void gotTouch(){ touch1detected = true; } void gotTouch1(){ touch2detected = true; } void setup() { Serial.begin(115200); delay(1000...