|
Post by Ken Masengill on Jan 30, 2018 12:26:11 GMT -8
I an getting
when I try and load the board i get the following error:
Arduino: 1.8.5 (Windows 10), Board: "Adafruit HUZZAH ESP8266, 80 MHz, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Serial, None, 115200"
SDL_ESP8266_WeatherPlus:177: error: 'WEB_SERVER_PORT' was not declared in this scope
WiFiServer server(WEB_SERVER_PORT); I thinK I fixed this one by adding: WiFiServer server(80);
^
SDL_ESP8266_WeatherPlus:395: error: 'LOCALMAC' was not declared in this scope
static uint8_t mac[] = LOCALMAC;
^
SDL_ESP8266_WeatherPlus:396: error: 'LOCALIP' was not declared in this scope
static uint8_t ip[] = LOCALIP;
I see this has been a problem with others. I have downloaded the zip multiple times from gethub and opened the zip in Arduino IDE as a library. I still get this same issue.
Thanks
|
|
|
Post by SDL on Feb 4, 2018 19:10:19 GMT -8
You don't put it in as a library. It is a full program. It works for me. I'm wondering if you changed the directory name incorrectly. The fact you have to change this directory will get fixed in another release. GitHub has changed something and it is different now, I think. You apparently are missing files. WEB_SERVER_PORT Is defined in config.h (or more likely, the IDE can't find the files) I'm looking at all those constants defined in config.h. Send me a screen shot of your Arduino IDE. Here's what I have done. I changed directory to the Arduino directory git clone github.com/switchdoclabs/OurWeatherWeatherPlus.gitThen I changed the directory name to: SDL_ESP8266_WeatherPlus Then I compiled it without incident. I see you are on windows. Did you download a zip file? Move it to the Arduino Directory. Unzip it. Then I changed the directory name to: SDL_ESP8266_WeatherPlus It should compile without incident. Open your SDL_ESP8266_WeatherPlus.ino file in your Arduino IDE. Let us know. Best regards, John C. Shovic, PhD CTO SwitchDoc Labs
|
|
|
Post by SameIssueSam on Apr 2, 2018 7:46:54 GMT -8
John, What additional libraries should one install on a fresh copy of ArduinoIDE? You have mentioned in a few other posts that people were missing libraries. Is there somewhere we can find a list to make sure we have the same ones installed for when we interface with our boards? I believe this to be my issue as well, and have been scouring all around looking for the libraries one should install on a fresh copy of ArduinoIDE.
|
|
|
Post by SDL on Apr 2, 2018 10:22:53 GMT -8
SameIssueSam,
It depends on what program you are compiling. Our various README.md files and (in the case of GroveWeatherPi) tutorials show what libraries to install.
Best,
BP
|
|