use LED_BUILTIN
This commit is contained in:
parent
6e79cc7bde
commit
ea8535ffc8
10
RFM69_OTA.h
10
RFM69_OTA.h
|
|
@ -37,14 +37,10 @@
|
||||||
#include "RFM69.h"
|
#include "RFM69.h"
|
||||||
#include <SPIFlash.h>
|
#include <SPIFlash.h>
|
||||||
|
|
||||||
#if defined(MOTEINO_M0)
|
#if defined(LED_BUILTIN)
|
||||||
#define LED 13 // Moteino M0
|
#define LED LED_BUILTIN
|
||||||
#elif defined(__AVR_ATmega1284P__)
|
|
||||||
#define LED 15 // Moteino MEGAs have LEDs on D15
|
|
||||||
#elif defined (__AVR_ATmega328P__)
|
|
||||||
#define LED 9 // Moteinos have LEDs on D9
|
|
||||||
#else
|
#else
|
||||||
#define LED 13 // catch all others (UNO, pro mini etc)
|
#define LED 13 // catch all
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SHIFTCHANNEL 1000000 //amount to shift frequency of HEX transmission to keep original channel free of the HEX transmission traffic
|
#define SHIFTCHANNEL 1000000 //amount to shift frequency of HEX transmission to keep original channel free of the HEX transmission traffic
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue