2025-05-2400

This commit is contained in:
2025-06-24 23:12:33 +02:00
parent ae19f4ffa1
commit a410fcf618
2 changed files with 7 additions and 6 deletions

View File

@ -13,9 +13,9 @@ platform = espressif32
board = nodemcu-32s board = nodemcu-32s
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 115200
monitor_port = COM3 monitor_port = /dev/ttyACM0
monitor_filters = time monitor_filters = time
upload_port = COM3 upload_port = /dev/ttyACM0
lib_deps = lib_deps =
knolleary/PubSubClient @ 2.8 knolleary/PubSubClient @ 2.8
adafruit/Adafruit GFX Library @ 1.11.3 adafruit/Adafruit GFX Library @ 1.11.3
@ -23,7 +23,7 @@ lib_deps =
;adafruit/Adafruit BusIO @ 1.7.2 ;adafruit/Adafruit BusIO @ 1.7.2
build_flags = build_flags =
-DSCAN=32 -DSCAN=16
[env:debug] ; Entwicklungssystem [env:debug] ; Entwicklungssystem

View File

@ -25,7 +25,8 @@
#define P_B 23 #define P_B 23
#define P_C 18 #define P_C 18
#define P_D 5 #define P_D 5
#define P_E 15 //#define P_E 15
#define P_E -1
#define P_OE 16 #define P_OE 16
hw_timer_t * timer = NULL; hw_timer_t * timer = NULL;
portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED; portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED;
@ -71,8 +72,8 @@ PubSubClient client(espClient);
uint8_t display_draw_time=10; //30-70 is usually fine uint8_t display_draw_time=10; //30-70 is usually fine
//PxMATRIX display(32,16,P_LAT, P_OE,P_A,P_B,P_C); //PxMATRIX display(32,16,P_LAT, P_OE,P_A,P_B,P_C);
//PxMATRIX display(64,32,P_LAT, P_OE,P_A,P_B,P_C,P_D); PxMATRIX display(64,32,P_LAT, P_OE,P_A,P_B,P_C,P_D);
PxMATRIX display(64,64,P_LAT, P_OE,P_A,P_B,P_C,P_D,P_E); //PxMATRIX display(64,64,P_LAT, P_OE,P_A,P_B,P_C,P_D,P_E);
// Some standard colors // Some standard colors
uint16_t myRED = display.color565(255, 0, 0); uint16_t myRED = display.color565(255, 0, 0);