valIn = analogRead(0); valOut = valIn/4; Serial.print(valIn); Serial.print (" "); analogWrite(LED, valOut); // PWM -- see API Serial.println(valOut); delay(10);
What I had (my apologies, I don't remember from where) gave me output in two distinct columns
Serial.println ("Input Output");
the relevant values on the same line. It didn't involve any fancy or lengthy coding
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16