//I am using this sketch to measure the hall effect sensor- based on the elegoo linear hall effect sketch and my PT1521 sketch int sensorPin = D3; // D3 is also A3 on the pinout- its an analog input pin to read the data from the sensor int sensorValue = 0; // sensor variable to store the value coming from the sensor void setup() { Serial.begin(9600); // initialize serial communications } void loop() { pinMode(sensorPin, INPUT); sensorValue = analogRead(sensorPin); // read the value from the sensor sensorValue = map(sensorValue, 0, 4095, 4095, 0); Serial.println(sensorValue); // print value to Serial Monitor delay(100); // short delay so we can actually see the numbers }