Skip to content

Commit 5837d05

Browse files
committed
v3.3.0 release
1 parent 4e8a58e commit 5837d05

File tree

3 files changed

+27
-6
lines changed

3 files changed

+27
-6
lines changed

marquee/OpenWeatherMapClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* 20250628 rob040 Completely changed this OWM client API and OWM access API to use the Free Service
99
* 20250712 rob040 Revised data invalidation and data get retry count until data invalid error. New API dataGetRetryCount(), removed API getCached().
1010
* 20250714 rob040 add more options for geo location; it is no longer centered around CityID, Class Ctor does not need CityID, new method setGeoLocation()
11-
*
11+
* Further: See git log
1212
*/
1313

1414
#include "OpenWeatherMapClient.h"

marquee/marquee.ino

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include "Settings.h"
88

9-
#define VERSION "3.2.1"
9+
#define VERSION "3.3.0"
1010

1111
// Refresh main web page every x seconds. The mainpage has button to activate its auto-refresh
1212
#define WEBPAGE_AUTOREFRESH 30
@@ -599,7 +599,9 @@ void loop() {
599599
SCHEDULE_INTERVAL(staticDisplayLastTime, staticDisplayTime, staticDisplayNext);
600600

601601
if (loopState != lastState) {
602-
Serial.printf_P(PSTR("[%u] loopstate %d -> %d\n"), millis()&0xFFFF, lastState, loopState);
602+
#if DEBUG
603+
Serial.printf_P(PSTR("[%u] loopstate %d -> %d\n"), millis()&0xFFFF, lastState, loopState);
604+
#endif
603605
lastState = loopState;
604606
}
605607
switch (loopState) {
@@ -655,7 +657,9 @@ void loop() {
655657
break;
656658
}
657659
if (loopState != lastState) {
658-
Serial.printf_P(PSTR("[%u] loopstate -> %d\n"), millis()&0xFFFF, loopState);
660+
#if DEBUG
661+
Serial.printf_P(PSTR("[%u] loopstate -> %d\n"), millis()&0xFFFF, loopState);
662+
#endif
659663
}
660664

661665

platformio.ini

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
src_dir = marquee/
1313
include_dir = marquee/
1414
#lib_dir = marquee/libs
15-
default_envs = default
15+
default_envs = release
1616

1717
[env]
1818
platform = espressif8266
@@ -27,9 +27,26 @@ lib_deps =
2727
hmueller01/pubsubclient3@^3.2.0
2828
ArduinoJson@^7.4
2929

30-
[env:default]
30+
[env:release]
3131
board = d1_mini
3232
# Wemos D1 (mini) is function compatible with Node MCU V0.9 and V2.0 and other ESP devkits, but not pin compatible!
3333
# Wemos D1 mini lite is NOT compatible! (has only 1MB flash)
3434
build_flags = #-Wl,-Map=firmware.map -Wall -Wextra -Wfatal-errors -Wunused-variable
3535

36+
[env:debug]
37+
board = d1_mini
38+
build_flags = -Wl,-Map=firmware.map -Wall -Wextra -Wfatal-errors -Wunused-variable
39+
-DDEBUG=1
40+
-DDEBUG_ESP_PORT=Serial
41+
-DDEBUG_ESP_WIFI=1
42+
-DDEBUG_ESP_HTTP_CLIENT=1
43+
-DDEBUG_ESP_HTTP_UPDATE=1
44+
-DDEBUG_ESP_MQTT=1
45+
-DDEBUG_ESP_TIME=1
46+
-DDEBUG_ESP_EEPROM=1
47+
-DDEBUG_ESP_LITTLEFS=1
48+
-DDEBUG_ESP_WIFIMANAGER=1
49+
-DDEBUG_ESP_PUBSUBCLIENT=1
50+
-DCORE_DEBUG_LEVEL=5
51+
52+

0 commit comments

Comments
 (0)