From c2c05a39d2db0eed1747e0796574430ebb0b63d5 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 8 Jul 2018 17:20:14 +0200 Subject: [PATCH] settings .ini / .conf --- platformio.ini | 13 +++++++------ src/paxcounter.conf | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/platformio.ini b/platformio.ini index ee1d133b..91fbac79 100644 --- a/platformio.ini +++ b/platformio.ini @@ -14,8 +14,8 @@ ;env_default = heltec ;env_default = ttgov1 ;env_default = ttgov2 -;env_default = ttgov21 -env_default = ttgobeam +env_default = ttgov21 +;env_default = ttgobeam ;env_default = lopy ;env_default = lopy4 ;env_default = fipy @@ -25,8 +25,9 @@ env_default = ttgobeam description = Paxcounter is a proof-of-concept ESP32 device for metering passenger flows in realtime. It counts how many mobile devices are around. [common_env_data] -;platform_espressif32 = espressif32@>=1.1.0 -platform_espressif32 = https://github.com/platformio/platform-espressif32.git +;platform_espressif32 = espressif32@1.0.2 +;platform_espressif32 = espressif32@1.1.2 +platform_espressif32 = https://github.com/platformio/platform-espressif32.git#feature/stage board_build.partitions = no_ota.csv lib_deps_all = lib_deps_display = @@ -41,8 +42,8 @@ build_flags = ; otherwise device may crash in dense environments due to serial buffer overflow ; ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE - -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO -; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG +; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO + -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE ; ; override lora settings from LMiC library in lmic/config.h and use main.h instead diff --git a/src/paxcounter.conf b/src/paxcounter.conf index b0973688..a4e4c00f 100644 --- a/src/paxcounter.conf +++ b/src/paxcounter.conf @@ -52,7 +52,7 @@ #define RGBLUMINOSITY 30 // 30% // OLED Display refresh cycle (in Milliseconds) -#define DISPLAYREFRESH_MS 80 // e.g. 40ms -> 1000/40 = 25 frames per second +#define DISPLAYREFRESH_MS 40 // e.g. 40ms -> 1000/40 = 25 frames per second // LMIC settings // define hardware independent LMIC settings here, settings of standard library in /lmic/config.h will be ignored