//O sensor estará ligado com um pull-up
int hall_pin = 27;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(hall_pin, INPUT);
}
void loop() {
Serial.println(digitalRead(hall_pin));
delay(10); // this speeds up the simulation
}