Put the GPIO in the right state for wake from sleep
This commit is contained in:
@@ -59,6 +59,7 @@ extern "C" {
|
|||||||
#define PIN_BUTTON1 (26)
|
#define PIN_BUTTON1 (26)
|
||||||
#define BUTTON_ACTIVE_LOW 0
|
#define BUTTON_ACTIVE_LOW 0
|
||||||
#define BUTTON_ACTIVE_PULLUP 0
|
#define BUTTON_ACTIVE_PULLUP 0
|
||||||
|
#define BUTTON_SENSE_TYPE INPUT_SENSE_HIGH
|
||||||
|
|
||||||
#define ADC_RESOLUTION 14
|
#define ADC_RESOLUTION 14
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user