From bed5b657723923c03c8d89fb67342f3ac84d6d95 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Thu, 7 Jun 2018 07:54:51 +0200 Subject: [PATCH] ttgobeam.h modified --- src/hal/ttgobeam.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hal/ttgobeam.h b/src/hal/ttgobeam.h index 6def5f10..e47baa4c 100644 --- a/src/hal/ttgobeam.h +++ b/src/hal/ttgobeam.h @@ -3,6 +3,7 @@ #define CFG_sx1276_radio 1 // HPD13A LoRa SoC #define HAS_LED 21 // on board green LED_G1 +#define HAS_BUTTON GPIO_NUM_39 // button on board next to battery indicator LED (other one is reset) #define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_7 #define BATT_FACTOR 2 // voltage divider 100k/100k on board // #define HAS_GPS // to be done