We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6186383 + c2c7cc3 commit c3d4042Copy full SHA for c3d4042
libraries/ArduinoOTA/examples/BasicOTA/BasicOTA.ino
@@ -30,10 +30,10 @@ void setup() {
30
Serial.println("Start");
31
});
32
ArduinoOTA.onEnd([]() {
33
- Serial.println("End");
+ Serial.println("\nEnd");
34
35
ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
36
- Serial.printf("Progress: %u%%\n", (progress / (total / 100)));
+ Serial.printf("Progress: %u%%\r", (progress / (total / 100)));
37
38
ArduinoOTA.onError([](ota_error_t error) {
39
Serial.printf("Error[%u]: ", error);
0 commit comments