mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-07-21 15:32:53 +00:00
Delete duplicate pin definitions
This commit is contained in:
@@ -3,26 +3,11 @@
|
||||
|
||||
#define BUTTON_PIN 0
|
||||
|
||||
#define HAS_GPS 1
|
||||
#undef GPS_RX_PIN
|
||||
#undef GPS_TX_PIN
|
||||
#define GPS_RX_PIN 44
|
||||
#define GPS_TX_PIN 43
|
||||
#define PIN_GPS_EN 45
|
||||
#define GPS_EN_ACTIVE HIGH
|
||||
#define PIN_GPS_RESET 40
|
||||
#define GPS_RESET_MODE LOW
|
||||
#define PIN_GPS_PPS 41
|
||||
|
||||
#define I2C_SCL 18
|
||||
#define I2C_SDA 21
|
||||
#define SENSOR_INT_PIN 42
|
||||
#define SENSOR_RST_PIN 2
|
||||
#define SENSOR_POWER_CTRL_PIN 46
|
||||
#define SENSOR_POWER_ON HIGH
|
||||
#define PERIPHERAL_WARMUP_MS 100
|
||||
|
||||
#define USE_SX1262
|
||||
#define LORA_SCK 11
|
||||
#define LORA_MISO 13
|
||||
#define LORA_MOSI 12
|
||||
@@ -35,14 +20,10 @@
|
||||
#define SX126X_DIO1 LORA_DIO1
|
||||
#define SX126X_BUSY 1
|
||||
#define SX126X_RESET LORA_RESET
|
||||
#define SX126X_DIO2_AS_RF_SWITCH
|
||||
#define SX126X_DIO3_TCXO_VOLTAGE 1.8
|
||||
|
||||
#define BATTERY_PIN 7
|
||||
#define ADC_CHANNEL ADC_CHANNEL_6
|
||||
#define ADC_CTRL 15
|
||||
#define ADC_CTRL_ENABLED HIGH
|
||||
#define ADC_MULTIPLIER 4.9
|
||||
#define ADC_ATTENUATION ADC_ATTEN_DB_2_5
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user