Replace Serial.print() for your debugging with this function: easier, shorter, code-removable
In this tutorial we are going to learn how to detect Magnet Polarity using the Hall sensor and display it in Visuino using the Instruments.