int nr=1; char buf[10]; void setup(){ Serial.begin(9600); } void loop(){ nr=nr+1; sprintf(buf, "%d\n", analogRead(A5)); Serial.write(buf); delay(1000); }