AlexLynd / ESP8266-Wardriving

ESP8266 wardriving scripts & Jupyter Notebook data visualization tools
152 stars 36 forks source link

'D4' was not declared in this scope #4

Open Lup1n-3 opened 1 year ago

Lup1n-3 commented 1 year ago

Hi, I'm having a problem compiling the code.

ESP8266-Wardriving:24:19: error: 'D4' was not declared in this scope 24 | SoftwareSerial ss(D4, D3); // RX, TX | ^~ ESP8266-Wardriving:24:23: error: 'D3' was not declared in this scope 24 | SoftwareSerial ss(D4, D3); // RX, TX | ^~ C:\Users\win 1o\Desktop\ESP8266-Wardriving-master\src\ESP8266-Wardriving\ESP8266-Wardriving.ino: In function 'void setup()': ESP8266-Wardriving:10:20: error: 'D8' was not declared in this scope; did you mean 's8'? 10 | #define SD_CS D8 | ^~ C:\Users\win 1o\Desktop\ESP8266-Wardriving-master\src\ESP8266-Wardriving\ESP8266-Wardriving.ino:40:17: note: in expansion of macro 'SD_CS' 40 | if (!SD.begin(SD_CS)) { | ^~~~~ Se encontraron varias bibliotecas para "SD.h" Usado: C:\Users\win 1o\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SD No usado: C:\Program Files (x86)\Arduino\libraries\SD exit status 1 'D4' was not declared in this scope`

chopper-2656 commented 1 year ago

Make sure you have the following included. I also found that I had to revert back to an older ESP8266 firmware to resolve some issuess.

include

include

include

include

include

include

include <TinyGPS++.h>

include