Serialprint question

So i’m using ard, for two pots
and i am using
Serial.println(val);
Serial.println(val1);

Which works fine, it scrolls great numbers on the monitor, i’m trying to get them both posted same line

Serial.println(val, val1);
This causes some really bad juju, it spits out the numbers added together, and sometimes just a bunch of ascii…

any comments, i know it’s a dumb question but eh gotta ask or give up.

try this:

Serial.print(val);
Serial.print(",");
Serial.println(val1);

Greetings,
EriSan500

Nope now it does
0
,
0
0
,
0

Nope now it does

Post your second version of the sketch. Are you sure you noticed the different usage of Seriel.print Vs Serial.println ?

Lefty