Closed lolcocks123 closed 2 years ago
Oops.
Was editing the wrong SoftwareSerial.cpp. Should have edited the one in the %appdata% folder.
Also, SoftwareSerial.cpp seems to be a little different from the one in the guide but was able to use PCINT2 for SoftwareSerial.cpp and PCINT0 for SDI12.cpp.
Hello,
I have been trying to get a lot of things to get working and it is really important to me that I get SoftwareSerial working with this SDI12 library.
I tried doing the Stopgap Fix:
SoftwareSerial.cpp:
SDI12.cpp:
However, after I restart and try to compile my code, I get the following error:
libraries\SoftwareSerial\SoftwareSerial.cpp.o (symbol from plugin): In function 'SoftwareSerial::read()': (.text+0x0): multiple definition of '__vector_3' libraries\SDI-12\SDI12.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board Arduino Uno.
Any help appreciated.