HI,
I've got a problem with the SoftwareSerial library. The sketch is for an Adafruit ESP8266. There are two include statements.
#include <Adafruit_ESP8266.h>
#include "SoftwareSerial.h"
The #include <Adafruit_ESP8266.h> is not a problem, however the 2nd include statement is:
#include "SoftwareSerial.h".
(Originally it was #include <SoftwareSerial.h>, but one forum post indicated the compiler would look in two places if "" were used instead of <>. But it didn't help.)
I know the library exists. The file manager indicates it is installed at: C:\Programfiles(x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial (SoftwareSerial is a directory containing the SoftwareSerial.h and .cpp files.)
Since the files exist I thought I might have a bad install so I uninstalled and reinstalled the Arduino 1.6.5 package. No change. The compiler still could not find the library.
I then copied the SoftwareSerial directory into three other locations in hopes it would find the library there:
C:\Users\username\AppData\Roaming\Arduino15\staging\libraries
C:\Programfiles(x86)\Arduino\Libraries
C:\Users\username\Documents\Arduino\Libraries
The compiler still says it cannot find the library. This is the error message.
Arduino: 1.6.5 (Windows 8.1), Board: "Adafruit HUZZAH ESP8266, 80 MHz, 115200"
Vproto1.ino:19:28: fatal error: SoftwareSerial.h: No such file or directory
compilation terminated.
Error compiling.
Where should this directory/file be located, and can I simply copy and paste it there?
Thanks,
Martin