(Serial.read blocking) error
DominicanMS opened this issue · comments
Hello, try to compile the sketch "Menu Demo" and it presents the following error
class HalfDuplexSerial has no member named read_blocking; did you mean read_char_blocking?
Really? I have no problems compiling this. Are you using a manual or board manager install?
read_blocking
is defined here:
MicroCore/avr/cores/microcore/HalfDuplexSerial.cpp
Lines 61 to 69 in 817fd21
I am using a manual install there is this is the error. board manager is compiled correctly
Then you'll have to update your manual installation. If you're using git, you can just pull it again. If not, re-download the zip-file
download the current version to confirm, throw the same compilation error, drop arduino, reinstall it again it does the same
Then you would have to figure out where Arduino IDE finds these files. The latest boards manager release is even with the master branch, so a manual install is exactly the same as a boards manager install. Turn on verbose compilation in the IDE settings, trace down the HalfDuplexSerial.h+cpp file and check if read_blocking is present.
Thanks, it was a problem with temporary files in C:\Users\PC\AppData\Local\arduino15
delete it, configure it again and it worked correctly