changed project back over to ESP8266, but it turns out my old boards don't like my deco-mesh.
This commit is contained in:
@@ -8,12 +8,18 @@
|
|||||||
; Please visit documentation for the other options and examples
|
; Please visit documentation for the other options and examples
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[env:esp32doit-devkit-v1]
|
[env:espduino]
|
||||||
platform = espressif32
|
platform = espressif8266
|
||||||
board = esp32doit-devkit-v1
|
board = espduino
|
||||||
framework = arduino
|
framework = arduino
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
lib_deps =
|
lib_deps =
|
||||||
knolleary/PubSubClient@^2.8
|
knolleary/PubSubClient@^2.8
|
||||||
crankyoldgit/IRremoteESP8266@^2.7.10
|
crankyoldgit/IRremoteESP8266@^2.7.10
|
||||||
khoih-prog/ESP_WiFiManager@^1.1.2
|
khoih-prog/ESP_WiFiManager@^1.1.2
|
||||||
|
|
||||||
|
; [env:esp32doit-devkit-v1]
|
||||||
|
; platform = espressif32
|
||||||
|
; board = esp32doit-devkit-v1
|
||||||
|
; framework = arduino
|
||||||
|
;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include <IRtext.h>
|
#include <IRtext.h>
|
||||||
#include <IRutils.h>
|
#include <IRutils.h>
|
||||||
|
|
||||||
#include <WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
#include <PubSubClient.h>
|
#include <PubSubClient.h>
|
||||||
|
|
||||||
|
|
||||||
@@ -35,8 +35,8 @@ decode_results results; // Somewhere to store the results
|
|||||||
const char* ssid = "JoNelsDarlings";
|
const char* ssid = "JoNelsDarlings";
|
||||||
const char* password = "Paris2016";
|
const char* password = "Paris2016";
|
||||||
const char* mqtt_server = "mqtt.ddns.kawomi.com";
|
const char* mqtt_server = "mqtt.ddns.kawomi.com";
|
||||||
const String room_name = "IRLivingroom";
|
//const String room_name = "IRLivingroom";
|
||||||
//const String room_name = "IRBedroom";
|
const String room_name = "IRBedroom";
|
||||||
|
|
||||||
WiFiClient espClient;
|
WiFiClient espClient;
|
||||||
PubSubClient client(espClient);
|
PubSubClient client(espClient);
|
||||||
|
|||||||
Reference in New Issue
Block a user