#define anlogPin PA0
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
// Serial.println("Hello, STM32!");
pinMode(anlogPin, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
// delay(10); // this speeds up the simulation
int val = analogRead(anlogPin);
Serial.print("ADC Value = ");
Serial.println(val);
delay(1000);
}