Compiling the Hall effect sketch halts on this error:
‘hallRead’ was not declared in this scope
My board is a NodeMCU-32-S and compiling the other sketches (up to Module 2 Unit 4) is OK.
Hello, are you using this exact sketch?
Which board do you have selected in the Arduino IDE? I’ve just tried to compile it for NodeMCU32-S board and it works fine on my installation.
Thank you for your answer.
It is the same sketch, with “Serial.begin(115200);” and the selected board is “NodeMCU32-S”, but something must be wrong in ~/.arduino15: I just checked on another machine, and compiling here is fine.
Sorry to have send this mail too quickly.
Not sure what’s happening then, you might want to delete that installation and re-install the ESP32 add-on. It should find that function in any selected board.
I have re-installed ‘esp32 by Espressif Systems‘ boards definitions and it’s working now.
Thank you for your advice, I will proceed with the course 🙂