Support Buzzer in Slot C

pull/1439/head
Thomas Göttgens 2022-05-06 14:20:46 +02:00
rodzic 251365dca7
commit 628740d6d1
2 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -1,10 +1,6 @@
#include "buzz.h" #include "buzz.h"
#include "configuration.h" #include "configuration.h"
#ifdef NRF52_SERIES
#include "variant.h"
#endif
#ifndef PIN_BUZZER #ifndef PIN_BUZZER
// Noop methods for boards w/o buzzer // Noop methods for boards w/o buzzer

Wyświetl plik

@ -201,6 +201,9 @@ static const uint8_t SCK = PIN_SPI_SCK;
// RAK12002 RTC Module // RAK12002 RTC Module
#define RV3028_RTC (uint8_t) 0b1010010 #define RV3028_RTC (uint8_t) 0b1010010
// RAK18001 Buzzer in Slot C
#define PIN_BUZZER 21 // IO3 is PWM2
// Battery // Battery
// The battery sense is hooked to pin A0 (5) // The battery sense is hooked to pin A0 (5)
#define BATTERY_PIN PIN_A0 #define BATTERY_PIN PIN_A0