From c70e57bb5540a59748d42ae0915c6a3ca1bfc6e3 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Mon, 18 Mar 2019 11:27:37 +0100 Subject: [PATCH 1/3] Update heltecv2.h --- src/hal/heltecv2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hal/heltecv2.h b/src/hal/heltecv2.h index 2f668d91..b5321895 100644 --- a/src/hal/heltecv2.h +++ b/src/hal/heltecv2.h @@ -18,8 +18,8 @@ #define HAS_LED LED_BUILTIN // white LED on board #define HAS_BUTTON KEY_BUILTIN // button "PROG" on board -#define HAS_BATTERY_PROBE ADC2_GPIO13_CHANNEL // battery probe GPIO pin -#define BATT_FACTOR 4 // voltage divider 220k/100k on board +//#define HAS_BATTERY_PROBE ADC2_GPIO13_CHANNEL // battery probe GPIO pin +//#define BATT_FACTOR 4 // voltage divider 220k/100k on board //#define HAS_LOWPOWER_SWITCH GPIO_NUM_21 // switches battery power // Pins for I2C interface of OLED Display @@ -32,4 +32,4 @@ #define LORA_IO1 (35) #define LORA_IO2 (34) -#endif \ No newline at end of file +#endif From e13e5db6b19a1c7dbed6d2cb9366f43c7aea33dc Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Mon, 18 Mar 2019 22:34:08 +0100 Subject: [PATCH 2/3] Update paxcounter.conf --- src/paxcounter.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paxcounter.conf b/src/paxcounter.conf index 46d392ae..0e5d3fee 100644 --- a/src/paxcounter.conf +++ b/src/paxcounter.conf @@ -68,7 +68,7 @@ // settings for syncing time of node with external time source #define TIME_SYNC_INTERVAL 60 // sync time attempt each .. minutes from time source (GPS/LORA/RTC) [default = 60], 0 means off #define TIME_SYNC_LORAWAN 0 // set to 1 to use LORA network as time source, 0 means off [default = 0] -#define TIME_SYNC_TIMESERVER 1 // set to 1 to use LORA timeserver as time source, 0 means off [default = 0] +#define TIME_SYNC_TIMESERVER 0 // set to 1 to use LORA timeserver as time source, 0 means off [default = 0] // time zone, see https://github.com/JChristensen/Timezone/blob/master/examples/WorldClock/WorldClock.ino #define DAYLIGHT_TIME {"CEST", Last, Sun, Mar, 2, 120} // Central European Summer Time From c671bc680e92cf97ebc148efc22755de4a467582 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Wed, 20 Mar 2019 22:14:02 +0100 Subject: [PATCH 3/3] Update ttgofox.h --- src/hal/ttgofox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hal/ttgofox.h b/src/hal/ttgofox.h index e29d71fb..86626930 100644 --- a/src/hal/ttgofox.h +++ b/src/hal/ttgofox.h @@ -10,7 +10,7 @@ #define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C #define HAS_LED NOT_A_PIN // green on board LED is useless, is GPIO25, which switches power for Lora+Display -#define HAS_LOWPOWER_SWITCH GPIO_NUM_25 // switches power for LoRa chip + display (0 = off / 1 = on) +//#define HAS_LOWPOWER_SWITCH GPIO_NUM_25 // switches power for LoRa chip + display (0 = off / 1 = on) #define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL #define BATT_FACTOR 2 // voltage divider 100k/100k on board #define HAS_BUTTON GPIO_NUM_36 // on board button (next to reset) @@ -41,4 +41,4 @@ #define LORA_IO1 (33) #define LORA_IO2 (32) -#endif \ No newline at end of file +#endif