void setup() { // put your setup code here, to run once: Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: //analogReference(INTERNAL); int val = analogRead(1); Serial.println(val); delay(100); }