mirror of https://github.com/meshcore-dev/MeshCore
committed by
GitHub
3 changed files with 37 additions and 17 deletions
@ -1,22 +1,12 @@ |
|||
#pragma once |
|||
|
|||
#include <Arduino.h> |
|||
|
|||
// LoRa radio module pins for Heltec V2
|
|||
#define P_LORA_DIO_1 26 // DIO0
|
|||
#define P_LORA_NSS 18 |
|||
#define P_LORA_RESET RADIOLIB_NC // 14
|
|||
#define P_LORA_BUSY RADIOLIB_NC |
|||
#define P_LORA_SCLK 5 |
|||
#define P_LORA_MISO 19 |
|||
#define P_LORA_MOSI 27 |
|||
#include <helpers/ESP32Board.h> |
|||
|
|||
// built-ins
|
|||
#define PIN_VBAT_READ 37 |
|||
#define PIN_LED_BUILTIN 25 |
|||
|
|||
#include "ESP32Board.h" |
|||
|
|||
#include <driver/rtc_io.h> |
|||
|
|||
class HeltecV2Board : public ESP32Board { |
|||
Loading…
Reference in new issue