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