Merge pull request #45 from Genaker/testable

buzzer pin button pin
This commit is contained in:
Egor Shitikov
2024-09-27 12:04:33 -07:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -35,8 +35,6 @@ SX1262 radio = new Module(RADIO_CS_PIN, RADIO_DIO1_PIN, RADIO_RST_PIN, RADIO_BUS
#endif // end ARDUINO_heltec_wifi_32_lora_V3
#endif // end HELTEC_NO_RADIO_INSTANCE
void heltec_loop() {}
void heltec_led(int led) {}
void heltec_deep_sleep() {}
@@ -88,6 +86,8 @@ Print &both = Serial;
#include "HotButton.h"
HotButton button(BUTTON);
void heltec_loop() { button.update(); }
// This file contains a binary patch for the SX1262
#include "modules/SX126x/patches/SX126x_patch_scan.h"

View File

@@ -22,6 +22,10 @@
#define BUZZER_PIN 41
#ifdef LILYGO
#define BUZZER_PIN 45
#endif
// REB trigger PIN
#define REB_PIN 42