update pixelorder

This commit is contained in:
2023-04-11 20:49:07 +02:00
parent 18a013169b
commit 1cc588cc94
3 changed files with 21 additions and 21 deletions

View File

@@ -12,7 +12,7 @@
platform = https://github.com/platformio/platform-espressif32.git platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev board = esp32dev
board_build.partitions = awtrix_partition.csv board_build.partitions = awtrix_partition.csv
upload_speed = 921600 #upload_speed = 921600
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 115200
board_build.f_cpu = 240000000L board_build.f_cpu = 240000000L
@@ -26,20 +26,20 @@ lib_deps =
knolleary/PubSubClient@^2.8 knolleary/PubSubClient@^2.8
plerup/EspSoftwareSerial@^8.0.1 plerup/EspSoftwareSerial@^8.0.1
[env:awtrix_upgrade] ; [env:awtrix_upgrade]
platform = https://github.com/platformio/platform-espressif32.git ; platform = https://github.com/platformio/platform-espressif32.git
board = wemos_d1_mini32 ; board = wemos_d1_mini32
board_build.partitions = awtrix_partition.csv ; board_build.partitions = awtrix_partition.csv
upload_speed = 921600 ; upload_speed = 921600
monitor_speed = 115200 ; monitor_speed = 115200
framework = arduino ; framework = arduino
build_flags = -DAWTRIX_UPGRADE -D MQTT_MAX_PACKET_SIZE=1024 ; build_flags = -DAWTRIX_UPGRADE -D MQTT_MAX_PACKET_SIZE=1024
lib_deps = ; lib_deps =
adafruit/Adafruit BME280 Library@^2.2.2 ; adafruit/Adafruit BME280 Library@^2.2.2
plerup/EspSoftwareSerial@^8.0.1 ; plerup/EspSoftwareSerial@^8.0.1
bblanchon/ArduinoJson@^6.20.0 ; bblanchon/ArduinoJson@^6.20.0
evert-arias/EasyButton@^2.0.1 ; evert-arias/EasyButton@^2.0.1
fastled/FastLED@^3.5.0 ; fastled/FastLED@^3.5.0
marcmerlin/FastLED NeoMatrix@^1.2 ; marcmerlin/FastLED NeoMatrix@^1.2
knolleary/PubSubClient@^2.8 ; knolleary/PubSubClient@^2.8
plerup/EspSoftwareSerial@^8.0.1 ; plerup/EspSoftwareSerial@^8.0.1

View File

@@ -34,7 +34,7 @@ GifPlayer gif;
uint16_t gifX, gifY; uint16_t gifX, gifY;
CRGB leds[MATRIX_WIDTH * MATRIX_HEIGHT]; 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); MatrixDisplayUi *ui = new MatrixDisplayUi(matrix);
uint8_t lastBrightness; uint8_t lastBrightness;

View File

@@ -9,8 +9,8 @@
#include "Globals.h" #include "Globals.h"
#ifdef ULANZI #ifdef ULANZI
#define URL_fw_Version "https://raw.githubusercontent.com/Blueforcer/awtrix-light/main/version" #define URL_fw_Version "todo"
#define URL_fw_Bin "https://raw.githubusercontent.com/Blueforcer/awtrix-light/main/docs/flasher/firmware/firmware.bin" #define URL_fw_Bin "todo"
#else #else
#define URL_fw_Version "todo" #define URL_fw_Version "todo"
#define URL_fw_Bin "todo" #define URL_fw_Bin "todo"