mkdir mything cd mything platformio init --board=esp12e <edit your src/main.ino> platformio run -t upload
platformio init --email@example.com:skorokithakis/wifi-template.git
Where are these includes in your program coming from?
#include "PubSubClient.h" #include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #include <WiFiUdp.h> #include <ArduinoOTA.h> #include <DHT.h>
Do I need to physically get those? Are they just default Arudino IDE libraries? If so I can just look up the included servo library and add it correct?
targets = upload lib_install = 19,89 build_flags = -DMQTT_MAX_PACKET_SIZE=1024 upload_flags = -a OTAPASS upload_port = 192.168.10.144
And just so I'm clear in my own head...
[env:nodemcuv2] platform = espressif framework = arduino board = nodemcuv2 targets = upload lib_install = 19,89 build_flags = -DMQTT_MAX_PACKET_SIZE=1024 upload_flags = -a pass upload_port = 192.168.10.144
This will download the libraries to the ESP, does this include all included Arduino IDE libraries? So I can add whatever library I want and it will download it to the ESP?