update pixelorder
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user