KorMYS filter lightlevel
This commit is contained in:
@@ -8,10 +8,11 @@
|
||||
#define MY_RADIO_RF24
|
||||
#define MY_RF24_CHANNEL (105)
|
||||
#define MY_RF24_PA_LEVEL RF24_PA_MAX
|
||||
//#define MY_REPEATER_FEATURE
|
||||
|
||||
#define MY_DEFAULT_ERR_LED_PIN (4) // Error led pin
|
||||
#define MY_DEFAULT_RX_LED_PIN (5) // Receive led pin
|
||||
#define MY_DEFAULT_TX_LED_PIN (6) // the PCB, on board LED
|
||||
#define MY_DEFAULT_ERR_LED_PIN (A3) // Error led pin
|
||||
#define MY_DEFAULT_RX_LED_PIN (A2) // Receive led pin
|
||||
#define MY_DEFAULT_TX_LED_PIN (A1) // the PCB, on board LED
|
||||
|
||||
#include <MySensors.h>
|
||||
#include <SoftwareSerial.h> // Remove if using HardwareSerial or non-uno compatabile device
|
||||
@@ -21,7 +22,7 @@
|
||||
#define TX_PIN 7
|
||||
#define BAUDRATE 9600
|
||||
|
||||
#define MOTION (7)
|
||||
#define MOTION (4)
|
||||
#define LED_WHITE (5)
|
||||
#define LED_BLUE (6)
|
||||
MHZ19 myMHZ19;
|
||||
@@ -34,7 +35,6 @@ uint8_t curDelay;
|
||||
uint8_t spLight, dbLight;
|
||||
uint16_t levelBlue, levelWhite;
|
||||
bool move, lightWhite;
|
||||
|
||||
|
||||
float temp, hum;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user