From 06d4ba73c0f75bbba893747bd03e2cbca38799a6 Mon Sep 17 00:00:00 2001 From: Marcus Date: Fri, 18 Oct 2024 00:14:39 +0200 Subject: [PATCH] mixing data types in a printf call seems not to be ok --- Arduino/CanGrow/CanGrow.ino | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index e51a287..183e6f4 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -93,8 +93,12 @@ void setup() { Serial.println("420"); Serial.printf(".:: CanGrow firmware v%s build %s starting ::.\n", CanGrowVer, CanGrowBuild); - Serial.printf("II To format LittleFS, pull GPIO %s (PinWIPE) to LOW - NOW! (2 seconds left) ::", PinWIPE); - Serial.println(""); + Serial.print("II To format LittleFS, pull GPIO "); + Serial.print(PinWIPE); + Serial.print(" (PinWIPE) to "); + Serial.print(PinWIPE_default); + Serial.println(" - NOW! (2 seconds left) II"); + // blink with the onboard LED on D4 (PinWIPE) for(byte i = 0; i <= 6 ; i++) {