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