2023-12-07 03:42:06 +00:00
|
|
|
#define ARDUINO_ARCH_AVR
|
|
|
|
|
2023-12-07 23:12:51 +00:00
|
|
|
#define USE_SSD1306
|
2023-12-07 03:42:06 +00:00
|
|
|
|
|
|
|
#define BUTTON_PIN 2
|
2023-12-07 23:12:51 +00:00
|
|
|
#define BUTTON_NEED_PULLUP
|
2023-12-07 03:42:06 +00:00
|
|
|
|
|
|
|
#define LED_PIN PIN_LED
|
|
|
|
|
|
|
|
#undef BATTERY_PIN
|
2024-01-29 12:14:21 +00:00
|
|
|
#define BATTERY_SENSE_RESOLUTION_BITS ADC_RESOLUTION
|
2023-12-07 03:42:06 +00:00
|
|
|
|
|
|
|
#undef LORA_SCK
|
|
|
|
#undef LORA_MISO
|
|
|
|
#undef LORA_MOSI
|
|
|
|
#undef LORA_CS
|
|
|
|
|
|
|
|
#define USE_RF95
|
2023-12-07 23:12:51 +00:00
|
|
|
#define LORA_SCK PIN_SPI0_SCK
|
|
|
|
#define LORA_MISO PIN_SPI0_MISO
|
|
|
|
#define LORA_MOSI PIN_SPI0_MOSI
|
|
|
|
#define LORA_CS PIN_SPI0_SS
|
2023-12-07 03:42:06 +00:00
|
|
|
|
|
|
|
#define LORA_DIO0 21
|
|
|
|
#define LORA_DIO1 22
|
2023-12-07 23:12:51 +00:00
|
|
|
#define LORA_DIO2 RADIOLIB_NC
|
|
|
|
#define LORA_RESET 20
|