#define HALL_SENSOR_PIN A1 void setup() { Serial.begin(9600); } void loop() { int hallValue = analogRead(HALL_SENSOR_PIN); Serial.print("Hall Sensor Value: "); Serial.println(hallValue); delay(200); }