Compare commits
5 Commits
e229490d8f
...
1cc588cc94
| Author | SHA1 | Date | |
|---|---|---|---|
| 1cc588cc94 | |||
|
|
18a013169b | ||
|
|
45fd31c91b | ||
|
|
aae65796a8 | ||
|
|
36fabaf954 |
@@ -3,6 +3,8 @@
|
||||
Ok, now they are no longer hidden :).
|
||||
This section contains small setting options that the majority of users do not change or change very rarely and therefore saved the effort of creating an elaborate settings interface.
|
||||
|
||||
All features are only applied at boot. So you have to restart awtrix after modifying.
|
||||
|
||||
Create a `dev.json` in your filemanager.
|
||||
|
||||
## JSON Properties
|
||||
@@ -13,5 +15,6 @@ The JSON object has the following properties:
|
||||
| --- | ---- | ----------- | ------- |
|
||||
| `bootsound` | string | Uses a custom melodie while booting | |
|
||||
| `uppercase` | boolean | Print every character in uppercase | `true` |
|
||||
| `matrix` | int | Changes the matrix layout (0,1 or 2) | `0` |
|
||||
| `temp_dec_places` | int | Number of decimal places for temperature measurements | `0` |
|
||||
| `color_correction` | array of int | Sets the colorcorrection of the matrix | `[255,255,255]` |
|
||||
| `color_correction` | array of int | Sets the colorcorrection of the matrix | `[255,255,255]` |
|
||||
|
||||
@@ -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