Questions tagged «terminal»

12
如何在一个字符串中打印多个变量?
假设我有一些要打印到终端的变量,以字符串形式打印它们的最简单方法是什么? 目前,我正在执行以下操作: Serial.print("Var 1:");Serial.println(var1); Serial.print(" Var 2:");Serial.println(var2); Serial.print(" Var 3:");Serial.println(var3); 有一个更好的方法吗?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.