mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-11 15:11:25 +00:00
![GUVWAF](/assets/img/avatar_default.png)
* When channel is active, first try receiving that packet Afterwards we'll try transmitting again * Remove setStandby in startSend Already done in isChannelActive() * Set LORA_DIO1 as RadioLib GPIO for SX127x * LORA_DIO1 for Heltec v1, overlaps with GPS_TX Set to RADIOLIB_NC for now * If receive was not successful, startReceive doesn't trigger the interrupt So we have to go back to transmitting anyway --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
22 lines
840 B
C
22 lines
840 B
C
#undef GPS_RX_PIN
|
|
#undef GPS_TX_PIN
|
|
#define GPS_RX_PIN 36
|
|
#define GPS_TX_PIN 13 // per @eugene
|
|
|
|
#define BATTERY_PIN 35 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
|
|
|
|
#define I2C_SDA 21 // I2C pins for this board
|
|
#define I2C_SCL 22
|
|
|
|
#define RESET_OLED 16 // If defined, this pin will be used to reset the display controller
|
|
|
|
#define VEXT_ENABLE 21 // active low, powers the oled display and the lora antenna boost
|
|
#define LED_PIN 25 // If defined we will blink this LED
|
|
#define BUTTON_PIN 36
|
|
#define BUTTON_NEED_PULLUP
|
|
|
|
#define USE_RF95
|
|
#define LORA_DIO0 26 // a No connect on the SX1262 module
|
|
#define LORA_RESET 14
|
|
#define LORA_DIO1 33 // Prob. must be manually wired: https://www.thethingsnetwork.org/forum/t/big-esp32-sx127x-topic-part-3/18436
|
|
#define LORA_DIO2 32 // Not really used
|