Open alignan opened 5 years ago
Maybe related to using an older library version...
/Users/antonio.lignan/Documents/Arduino/libraries/AllWize/src/AllWize.cpp: In member function 'void AllWize::_reset_serial()':
/Users/antonio.lignan/Documents/Arduino/libraries/AllWize/src/AllWize.cpp:114:25: error: 'class SoftwareSerial' has no member named 'end'
_sw_serial->end();
^
BTW I'm trying to compile the wize2mqtt
example
Downloading the version 1.1.1 as .zip and installing manually fixed also all my compilation errors for the MKR-like version
Check your Arduino Core for ESP8266 version. It must be 2.4.0 or higher.
The current ESP8266 version installed is v.2.5.2, I just also updated the Arduino IDE to v1.8.9 and the problem is the same, even with the new AllWize v1.1.2. When clicking install
it attempts to install the library but it is not shown as installed afterwards, but 1.0.3 works.
However, as before, downloading as .zip file and importing as such does the trick.
Just in case we are not talking about the same ESP8266 library (God, I hate Arduino):
This is probably due to #9. I have just committed version 1.1.3 that should solve the issue. It may take a few hours before Arduino tracks the change and the version is available in the Library Manager.
Maybe it is just me, but when I try to install the AllWize library via the Manage Library option of the Sketch menu, it shows the AllWize library and versions to install, and fails silently if attempting to install any version higher than 1.0.3 (e.g. 1.1.0 and 1.1.1).
Not sure which is the recommended tho...
My Arduino IDE version is 1.8.2 if it helps.