changed project back over to ESP8266, but it turns out my old boards don't like my deco-mesh.

This commit is contained in:
Joe Tretter
2022-06-26 17:34:41 -05:00
parent e522af2e86
commit 58ab37520a
2 changed files with 12 additions and 6 deletions

View File

@@ -8,12 +8,18 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
[env:espduino]
platform = espressif8266
board = espduino
framework = arduino
monitor_speed = 115200
lib_deps =
knolleary/PubSubClient@^2.8
crankyoldgit/IRremoteESP8266@^2.7.10
khoih-prog/ESP_WiFiManager@^1.1.2
; [env:esp32doit-devkit-v1]
; platform = espressif32
; board = esp32doit-devkit-v1
; framework = arduino
;

View File

@@ -6,7 +6,7 @@
#include <IRtext.h>
#include <IRutils.h>
#include <WiFi.h>
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
@@ -35,8 +35,8 @@ decode_results results; // Somewhere to store the results
const char* ssid = "JoNelsDarlings";
const char* password = "Paris2016";
const char* mqtt_server = "mqtt.ddns.kawomi.com";
const String room_name = "IRLivingroom";
//const String room_name = "IRBedroom";
//const String room_name = "IRLivingroom";
const String room_name = "IRBedroom";
WiFiClient espClient;
PubSubClient client(espClient);