void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(A5,INPUT);
analogReadResolution(12);
}
void loop() {
int sensorValue = analogRead(A5);
// put your main code here, to run repeatedly:
Serial.printf("%d\n",sensorValue);
delay(500); // this speeds up the simulation
}
Loading
st-nucleo-c031c6
st-nucleo-c031c6