Hey, Idk if I'm just dumb, but I did not find any information on this issue anywhere.
I'm trying to program an ESP8266. Everything works, except sometimes, the sketch uses the right library (for the ESP) and sometimes it uses the built in AVR library which of course doesn't work. I have no idea who thought it was a good idea to name the esp library header exactly the same (just SoftwareSerial.h) but yeah. The Idea says it found multiple libraries, uses the wrong one and says that of course the syntax is wrong, cause they don't work the same. Is there any way I can define in the code or ide or whatever which library it should use? Of course i could just delete the AVR library, but as I'm also working equally as often with avr boards, that would just be a pain in the ... here is the console code:
serial.begin(9600, SWSERIAL_8N1, 0, 2);
Mehrere Bibliotheken wurden für "SoftwareSerial.h" gefunden
Nicht benutzt: D:\Documents\Arduino\libraries\EspSoftwareSerial
exit status 1
no matching function for call to 'SoftwareSerial::SoftwareSerial()'
yes, I'm german, it basicly says:
multiple libraries for "SoftwareSerial.h" found
not used: D\documents\ard\libs\EspSoftwareSerial(Theright one it should use!)
Thanks for your time