Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Readme - added platformio section #128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ Version 2.5 introduced the ability to upgrade pre-compiled firmware from a binar
* **marquee.ino.d1_mini_2.10.bin** - compiled for Wemos D1 Mini and standard 4x1 LED (default)
* **marquee.ino.d1_mini_wide_2.10.bin** - compiled for Wemos D1 Mini and double wide 8x1 LED display

## Compiling and Loading to Wemos D1
# Building and Compiling
## Using Arudino IDE
### Compiling and Loading to Wemos D1
It is recommended to use Arduino IDE. You will need to configure Arduino IDE to work with the Wemos board and USB port and installed the required USB drivers etc.
* USB CH340G drivers: https://wiki.wemos.cc/downloads
* Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas. This will add support for the Wemos D1 Mini to Arduino IDE.
Expand All @@ -51,7 +53,7 @@ It is recommended to use Arduino IDE. You will need to configure Arduino IDE to
* Set 1M SPIFFS -- **this project requires SPIFFS for saving and reading configuration settings.**
* Select the **Port** from the tools menu.

## Loading Supporting Library Files in Arduino
### Loading Supporting Library Files in Arduino
Use the Arduino guide for details on how to installing and manage libraries https://www.arduino.cc/en/Guide/Libraries
**Packages** -- the following packages and libraries are used (download and install):
<ESP8266WiFi.h>
Expand All @@ -66,6 +68,15 @@ Use the Arduino guide for details on how to installing and manage libraries http

Note ArduinoJson (version 5.13.1) is now included as a library file in version 2.7 and later.


## Building with Platformio.
Just open project with `Visual Studio` or any other IDE that have `Platformio` installed.

Platformio.ini file should be recognized and all dependecies downloaded upon build.

Note ! There is issue with Windows that prevents from building when path is too long - you need to move your project to root folder in order to download all dependecies.


## Initial Configuration
Starting with version 2.0 editing the **Settings.h** file is optional. All API Keys are now managed in the Web Interface except for the GeoNames Key. It is not required to edit the Settings.h file before loading and running the code.
* Open Weather Map free API key: http://openweathermap.org/ -- this is used to get weather data and the latitude and longitude for the current time zone. Weather API key is required for correct time.
Expand Down