Quick question

Hello,

Hopefully someone can quickly help me.

I have a value stored in a variable, val, and I want to display it all in the same line, so I get "Time in Milliseconds is: 40"

But instead I have them on seperate lines, so I get

"Time in Milliseconds is:
40"

How I can I get them on the one line?

I have tried doing

Serial.println("Time in Milliseconds is: ", (val)

But it didnt like that.

Thanks.

Seán

Serial.print("Time in Milliseconds is: ");
Serial.println(val);

Fantastic!

Go raibh míle maith agat mo chara

Seán

o.fithcheallaigh:
Go raibh míle maith agat mo chara

Tá tú fáilte roimh chách. (Translation by Google)