8 years, 5 months ago.

What's the "println" instruction equivalent?

Hi,

In C++ or Arduino, the command to display the output in unic line refreshed without output should be like: <<code>>println("x: %.0f | y: %.0f | z: %.0f ", measX, measY, measZ ); <</code>>

In Mbed interface, this command works: <<code>>print("x: %.0f | y: %.0f | z: %.0f ", measX, measY, measZ ); <</code>>

but the display is added after the older. <<code>>y: 106 | z: 104 x: 117 | y: 104 | z: 104 x: 117 | y: 104 | z: 106 x: 117 | y: 104 | z: 104 x: 118 | y: 105 | z: 105 x: 117 | y: 105 | z: 102 <</code>>

How to have one line.

Thanks

Be the first to answer this question.