Update master branch to dev1 #3

Merged
siwat merged 1 commits from develop into master 2019-08-23 03:47:01 +00:00
2 changed files with 1 additions and 16 deletions

View File

@ -1,4 +1,4 @@
#include <ArduinoJson.h>
#include <LiquidCrystal_I2C.h>
#include <PubSubClient.h>
#include <MqttWildcard.h>

View File

@ -1,15 +0,0 @@
#include <ArduinoJson.h>
// Copyright Siwat INC(tm) 2019
// Created by Siwat Sirichai
// ESPCommander EXTENDED v1.2
void espcommander(String topic, String rawcommand) {
StaticJsonDocument<200> doc;
DeserializationError error = deserializeJson(doc, rawcommand);
if (error) {
Serial.print(F("deserializeJson() failed: "));
Serial.println(error.c_str());
return;
}
const char* command = doc["command"];
const char* value = doc["value"];
}