main.ino
Arduino (C++) · 13 lines
int value = 0;
void setup() {
Serial.begin(115200);
delay(1000);
Serial.println("ESP32 Hall Sensor Test");
}
void loop() {
value = hallRead();
Serial.println(value);
delay(1000);
}Arduino (C++) · 13 lines
int value = 0;
void setup() {
Serial.begin(115200);
delay(1000);
Serial.println("ESP32 Hall Sensor Test");
}
void loop() {
value = hallRead();
Serial.println(value);
delay(1000);
}