I am currently trying to work myself into another persons arduino project using a ESP8266 module. The setup instructions to get everything working were:
Install Arduino IDE http://www.arduino.cc
Install https://github.com/esp8266/Arduino to add ESP8266 hardware support to Arduino IDE
Download USB-UART driver at CP210x USB to UART Bridge VCP Drivers - Silicon Labs
Did that, no problem
I tried it using 'Additional board-manager URL' from the Arduino IDE Menu, but I only received an error stating that the json can not be downloaded. I suppose that does not work from behind a proxy. So I followed their manual guide "Using git version" and now I got the boards to choose from in the menu:
Strangely enough now I got the same boards twice in there. I cleared the 'Additional board-manager URL' and reloaded it but there are still 2.
3. Downloaded the zip and executed without errors
The big problem I am running into is that the code has several definitions of pins looking like this:
#define T_ENCODER_A D4
But when I try to test compile my source code I get the error:
error: 'D4' was not declared in this scope #define T_ENCODER_A D4
I know that the D4 corresponds to a certain GPOPin but I can not simply change the D4 to the corresponding pin because I first want to get everything running cleanly before I am modifying stuff.
Does anyone know how to fix the pin mapping issue for an ESP8266?