From d71f568ccfac26ecacabb23098e0d7293d641de1 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 4 Oct 2018 11:33:49 +0200 Subject: [PATCH] minor changes --- README.md | 4 ++-- platformio.ini-example | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 666fac523..ddb824ae4 100644 --- a/README.md +++ b/README.md @@ -284,9 +284,9 @@ Roughly these are the steps needed when running Windows: - First download [Git](https://git-scm.com/download/win) (install using the default settings) - Download and install [Visual Studio Code](https://code.visualstudio.com/docs/?dv=win) (VSC) - Restart the PC (if using Windows) to apply the new PATH settings. It should now detect Git -- Install these VSC extensions: PlatformIDE and GitLens, the reload to activate them +- Install these VSC extensions: PlatformIO IDE & GitLens, and then click reload to activate them - Git clone this repo, eith using `git clone` from PlatformIO's terminal or the Git GUI interface -- Create a `platformio.ini` based on my `platformio.ini-example` making the necessary changes for your WiFi and MQTT credentials in the build flags. If you're not using MQTT leave MQTT_IP empty (`MQTT_IP=""`) +- Create a `platformio.ini` based on the `platformio.ini-example` making the necessary changes for your WiFi and MQTT credentials in the build flags. If you're not using MQTT leave MQTT_IP empty (`MQTT_IP=""`) ### Using ESPurna diff --git a/platformio.ini-example b/platformio.ini-example index 351d7a1ff..0f68ed9f8 100644 --- a/platformio.ini-example +++ b/platformio.ini-example @@ -4,7 +4,8 @@ env_default = nodemcuv2 [common] platform = espressif8266 -build_flags = -DMQTT_MAX_PACKET_SIZE=300 -DUSE_LED +; optional flags are -DUSE_LED -DSHOWER_TEST -DDEBUG +build_flags = -DMQTT_MAX_PACKET_SIZE=300 build_flags_custom = '-DWIFI_SSID="my_ssid"' '-DWIFI_PASSWORD="my_password"' '-DMQTT_IP="my_broker_ip"' '-DMQTT_USER="my_broker_username"' '-DMQTT_PASS="my_broker_password"' lib_deps = Time