kopia lustrzana https://github.com/sh123/esp32_loraprs
Use pin4 for led on T-Beam
rodzic
07801becbb
commit
4029da8384
|
@ -2,7 +2,6 @@
|
|||
#include "WiFi.h"
|
||||
#include "loraprs_service.h"
|
||||
|
||||
#define LED_BUILTIN 2
|
||||
#define LED_TOGGLE_PERIOD 1000
|
||||
|
||||
//#define BOARD_T_BEAM // enable for TTG T-Beam board support
|
||||
|
@ -21,6 +20,12 @@
|
|||
#pragma message("Configured for server mode")
|
||||
#endif
|
||||
|
||||
#ifdef BOARD_T_BEAM
|
||||
#define LED_BUILTIN 4
|
||||
#else
|
||||
#define LED_BUILTIN 2
|
||||
#endif
|
||||
|
||||
void initializeConfig(LoraPrs::Config &cfg) {
|
||||
|
||||
// client/server mode switch
|
||||
|
|
Ładowanie…
Reference in New Issue