diff --git a/platformio.ini b/platformio.ini index 3d2ed23..44977bb 100644 --- a/platformio.ini +++ b/platformio.ini @@ -12,7 +12,7 @@ platform = https://github.com/platformio/platform-espressif32.git board = esp32dev board_build.partitions = awtrix_partition.csv -upload_speed = 921600 +#upload_speed = 921600 framework = arduino monitor_speed = 115200 board_build.f_cpu = 240000000L @@ -26,20 +26,20 @@ lib_deps = knolleary/PubSubClient@^2.8 plerup/EspSoftwareSerial@^8.0.1 -[env:awtrix_upgrade] -platform = https://github.com/platformio/platform-espressif32.git -board = wemos_d1_mini32 -board_build.partitions = awtrix_partition.csv -upload_speed = 921600 -monitor_speed = 115200 -framework = arduino -build_flags = -DAWTRIX_UPGRADE -D MQTT_MAX_PACKET_SIZE=1024 -lib_deps = - adafruit/Adafruit BME280 Library@^2.2.2 - plerup/EspSoftwareSerial@^8.0.1 - bblanchon/ArduinoJson@^6.20.0 - evert-arias/EasyButton@^2.0.1 - fastled/FastLED@^3.5.0 - marcmerlin/FastLED NeoMatrix@^1.2 - knolleary/PubSubClient@^2.8 - plerup/EspSoftwareSerial@^8.0.1 +; [env:awtrix_upgrade] +; platform = https://github.com/platformio/platform-espressif32.git +; board = wemos_d1_mini32 +; board_build.partitions = awtrix_partition.csv +; upload_speed = 921600 +; monitor_speed = 115200 +; framework = arduino +; build_flags = -DAWTRIX_UPGRADE -D MQTT_MAX_PACKET_SIZE=1024 +; lib_deps = +; adafruit/Adafruit BME280 Library@^2.2.2 +; plerup/EspSoftwareSerial@^8.0.1 +; bblanchon/ArduinoJson@^6.20.0 +; evert-arias/EasyButton@^2.0.1 +; fastled/FastLED@^3.5.0 +; marcmerlin/FastLED NeoMatrix@^1.2 +; knolleary/PubSubClient@^2.8 +; plerup/EspSoftwareSerial@^8.0.1 diff --git a/src/DisplayManager.cpp b/src/DisplayManager.cpp index a2a019b..a6f8e60 100644 --- a/src/DisplayManager.cpp +++ b/src/DisplayManager.cpp @@ -34,7 +34,7 @@ GifPlayer gif; uint16_t gifX, gifY; CRGB leds[MATRIX_WIDTH * MATRIX_HEIGHT]; -FastLED_NeoMatrix *matrix = new FastLED_NeoMatrix(leds, 8, 8, 4, 1, NEO_MATRIX_TOP + NEO_MATRIX_LEFT + NEO_MATRIX_ROWS + NEO_MATRIX_PROGRESSIVE); +FastLED_NeoMatrix *matrix = new FastLED_NeoMatrix(leds, 32, 8, NEO_MATRIX_TOP + NEO_MATRIX_LEFT + NEO_MATRIX_ROWS + NEO_MATRIX_ZIGZAG); MatrixDisplayUi *ui = new MatrixDisplayUi(matrix); uint8_t lastBrightness; diff --git a/src/UpdateManager.cpp b/src/UpdateManager.cpp index 53307bc..2fa8476 100644 --- a/src/UpdateManager.cpp +++ b/src/UpdateManager.cpp @@ -9,8 +9,8 @@ #include "Globals.h" #ifdef ULANZI -#define URL_fw_Version "https://raw.githubusercontent.com/Blueforcer/awtrix-light/main/version" -#define URL_fw_Bin "https://raw.githubusercontent.com/Blueforcer/awtrix-light/main/docs/flasher/firmware/firmware.bin" +#define URL_fw_Version "todo" +#define URL_fw_Bin "todo" #else #define URL_fw_Version "todo" #define URL_fw_Bin "todo"