You can then send the formatted string via Serial.print() function. char buffer[50]; sprintf(buffer, "temperature = %.1fc, Humidity = %.1f%%\n" ...
確定! 回上一頁