buzzer pin fixed
parent
bee77e9190
commit
ef69b8001d
|
@ -34,48 +34,54 @@
|
|||
#ifdef T_BEAM_V1_0
|
||||
#define I2C_SDA 21
|
||||
#define I2C_SCL 22
|
||||
const byte TXLED = 4; //pin number for LED on TX Tracker
|
||||
const byte TXLED = 4; //pin number for LED on TX Tracker
|
||||
#define SSD1306_ADDRESS 0x3C
|
||||
#define BUTTON 38 //pin number for Button on TTGO T-Beam
|
||||
#define BUTTON 38 //pin number for Button on TTGO T-Beam
|
||||
#define BUZZER 15 // enter your buzzer pin gpio
|
||||
#elif T_BEAM_V0_7
|
||||
#define I2C_SDA 21
|
||||
#define I2C_SCL 22
|
||||
const byte TXLED = 14; //pin number for LED on TX Tracker
|
||||
const byte TXLED = 14; //pin number for LED on TX Tracker
|
||||
#define SSD1306_ADDRESS 0x3C
|
||||
#define BUTTON 39 //pin number for Button on TTGO T-Beam
|
||||
#define BUTTON 39 //pin number for Button on TTGO T-Beam
|
||||
#define BUZZER 15 // enter your buzzer pin gpio
|
||||
#elif LORA32_1
|
||||
#define I2C_SDA 4
|
||||
#define I2C_SCL 15
|
||||
const byte TXLED = 14; //pin number for LED on TX Tracker
|
||||
const byte TXLED = 14; //pin number for LED on TX Tracker
|
||||
#define SSD1306_ADDRESS 0x3C
|
||||
#define BUTTON 2 //pin number for BUTTO
|
||||
#define BUTTON 2 //pin number for BUTTO
|
||||
#define BUZZER 13 // enter your buzzer pin gpio
|
||||
#elif LORA32_2
|
||||
#define I2C_SDA 21
|
||||
#define I2C_SCL 22
|
||||
const byte TXLED = 14; //pin number for LED on TX Tracker
|
||||
const byte TXLED = 14; //pin number for LED on TX Tracker
|
||||
#define SSD1306_ADDRESS 0x3C
|
||||
#define BUTTON 2 //pin number for BUTTO
|
||||
#define BUTTON 2 //pin number for BUTTO
|
||||
#define BUZZER 13 // enter your buzzer pin gpio
|
||||
#elif LORA32_21
|
||||
#define I2C_SDA 21
|
||||
#define I2C_SCL 22
|
||||
const byte TXLED = 14; //pin number for LED on TX Tracker
|
||||
const byte TXLED = 14; //pin number for LED on TX Tracker
|
||||
#define SSD1306_ADDRESS 0x3C
|
||||
#define BUTTON 2 //pin number for BUTTO
|
||||
#define BUTTON 2 //pin number for BUTTO
|
||||
#define BUZZER 13 // enter your buzzer pin gpio
|
||||
#elif HELTEC_WIFI_KIT32
|
||||
#define I2C_SDA 4
|
||||
#define I2C_SCL 15
|
||||
const byte TXLED = 14; //pin number for LED on TX Tracker
|
||||
#define SSD1306_ADDRESS 0x3C
|
||||
#define BUTTON 2 //pin number for BUTTO
|
||||
#define BUZZER 13 // enter your buzzer pin gpio
|
||||
#elif HELTEC_WIFI_KIT32_V2
|
||||
#define I2C_SDA 4
|
||||
#define I2C_SCL 15
|
||||
const byte TXLED = 14; //pin number for LED on TX Tracker
|
||||
#define SSD1306_ADDRESS 0x3C
|
||||
#define BUTTON 2 //pin number for BUTTO
|
||||
#define BUZZER 13 // enter your buzzer pin gpio
|
||||
#endif
|
||||
|
||||
|
||||
// Variables for APRS packaging
|
||||
String Tcall; //your Call Sign for normal position reports
|
||||
String aprsSymbolTable = APRS_SYMBOL_TABLE;
|
||||
|
@ -170,7 +176,6 @@ uint8_t txPower = TXdbmW;
|
|||
tWebServerCfg webServerCfg;
|
||||
#endif
|
||||
|
||||
|
||||
static const adc_atten_t atten = ADC_ATTEN_DB_6;
|
||||
static const adc_unit_t unit = ADC_UNIT_1;
|
||||
#ifdef T_BEAM_V1_0
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#define MAX_TIME_TO_NEXT_TX 360000L // TRANSMIT INTERVAL set here MAXIMUM time in ms(!) for smart beaconing - minimum time is always 1 min = 60 secs = 60000L !!!
|
||||
#define FIX_BEACON_INTERVAL 1800000L // Fixed beacon interwal (when GPS is disabled and FIXED_BEACON_EN is enabled) 30min default
|
||||
//#define TNC_SELF_TELEMETRY_INTERVAL (5 * 60 * 1000) //
|
||||
#define BUZZER 15 // enter your buzzer pin gpio
|
||||
|
||||
|
||||
#ifdef T_BEAM_V1_0
|
||||
#define ENABLE_WIFI // enable WiFi conection do not turn off
|
||||
|
|
Loading…
Reference in New Issue