Updated to hiabuto.net Faction Timer PCB V1.0

This commit is contained in:
2023-02-13 22:59:42 +01:00
parent 0b95cff140
commit 3ee276c189
31 changed files with 5807 additions and 518 deletions

View File

@@ -1,20 +0,0 @@
#include "lora_net.h"
uint8_t LoRa_Init()
{
uint8_t success = false;
// SPI LoRa pins
SPI.begin(LORA_SCK, LORA_MISO, LORA_MOSI, LORA_SS);
// setup LoRa transceiver module
LoRa.setPins(LORA_SS, LORA_RST, LORA_DIO0);
if (!LoRa.begin(LORA_BAND))
{
Serial.println("Starting LoRa failed!");
success = false;
}
Serial.println("LoRa Initializing OK!");
success = true;
return success;
}