mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-27 15:02:41 +00:00
added buzzer pin
This commit is contained in:
parent
e1da309181
commit
342a8fd3af
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user