upgrade libraries
This commit is contained in:
parent
50d48dcfe2
commit
4a3c54b024
@ -11,7 +11,7 @@ public:
|
||||
void fromJson(JsonObjectConst& rcSwitch, RCSwitch& rcDevice) override {
|
||||
unsigned int protocol = rcSwitch["protocol"];
|
||||
rcDevice.setProtocol(protocol);
|
||||
char* group = rcSwitch["group"];
|
||||
const char* group = rcSwitch["group"];
|
||||
int channel = rcSwitch["channel"];
|
||||
rcSwitch["state"] ? rcDevice.switchOn(group, channel) : rcDevice.switchOff(group, channel);
|
||||
}
|
||||
|
||||
@ -18,10 +18,10 @@ framework = arduino
|
||||
lib_extra_dirs =
|
||||
../libraries
|
||||
lib_deps =
|
||||
sui77/rc-switch@^2.6.3
|
||||
bblanchon/ArduinoJson@6.19.4
|
||||
adafruit/Adafruit Unified Sensor@^1.1.4
|
||||
adafruit/DHT sensor library@1.3.10
|
||||
sui77/rc-switch
|
||||
bblanchon/ArduinoJson@6
|
||||
adafruit/Adafruit Unified Sensor
|
||||
adafruit/DHT sensor library
|
||||
https://git.hodos.ro/arduino/lib_serial-reader.git@^1.0.0
|
||||
build_flags = -D DHT_SENSOR=0 -D DEBUG_RAW=0
|
||||
upload_port = /dev/ttyUSB0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user