* add optional LED_LORA to indicate LoRa TX * Briefly flash LED_LORA on packet RX --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
11 lines
278 B
C++
11 lines
278 B
C++
#include "variant.h"
|
|
#include "Arduino.h"
|
|
|
|
void initVariant()
|
|
{
|
|
pinMode(LED_PAIRING, OUTPUT);
|
|
digitalWrite(LED_PAIRING, !LED_STATE_ON); // Turn off the LED to start
|
|
pinMode(LED_LORA, OUTPUT);
|
|
digitalWrite(LED_LORA, !LED_STATE_ON); // Turn off the LED to start
|
|
}
|