added buzzer pin

This commit is contained in:
Owl Developer 2025-10-06 02:42:12 +03:00 committed by Tom Fifield
parent e1da309181
commit 342a8fd3af
2 changed files with 3 additions and 2 deletions

View File

@ -5,5 +5,4 @@ board_level = extra
board_check = true board_check = true
build_flags = build_flags =
${esp32_base.build_flags} -D TLORA_V2_1_16 -I variants/esp32/sugarcube ${esp32_base.build_flags} -D TLORA_V2_1_16 -I variants/esp32/sugarcube
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
upload_speed = 115200 upload_speed = 115200

View File

@ -9,7 +9,9 @@
#define I2C_SCL 22 #define I2C_SCL 22
#define BUTTON_PIN 0 #define BUTTON_PIN 0
//#define LED_PIN 25 // If defined we will blink this LED // SugarCube has buzzer and LED sharing the same GPIO pin (25).
// LED activity triggers unintended buzzer noise, so LED functionality is disabled.
#define PIN_BUZZER 25
#define USE_RF95 #define USE_RF95
#define LORA_DIO0 26 // a No connect on the SX1262 module #define LORA_DIO0 26 // a No connect on the SX1262 module