Code: Select all
#define Sensor_A0_PIN 36
pinMode(Sensor_A0_PIN, INPUT);
// loop
int sensor_A0_R = analogRead(Sensor_A)_PIN);
display.drawString(0, 20, "Sensor A0: " + String(sensor_A0_R));
Why PIN 36 reported random value while nothing put to this PIN? (if I put 3.3V then 4095 is appear, which is correctly).