mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-07-17 14:22:25 +00:00
Added touch reset
This commit is contained in:
@@ -11,6 +11,10 @@ void HeltecV4R8Board::begin() {
|
||||
#ifdef PIN_TOUCH_RST
|
||||
pinMode(PIN_TOUCH_RST, OUTPUT);
|
||||
digitalWrite(PIN_TOUCH_RST, HIGH);
|
||||
delay(10);
|
||||
digitalWrite(PIN_TOUCH_RST, LOW);
|
||||
delay(100);
|
||||
digitalWrite(PIN_TOUCH_RST, HIGH);
|
||||
#endif
|
||||
|
||||
esp_reset_reason_t reason = esp_reset_reason();
|
||||
|
||||
Reference in New Issue
Block a user