void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Funciona");
}
void loop() {
Serial.println(map(analogRead(A0), 0, 1024, 0, 10));
delay(10); // this speeds up the simulation
}
Loading
st-nucleo-c031c6
st-nucleo-c031c6