I'm looking to convert an int value to a char array. currently I've found the following will return [number]
int num = [number]
str = String(num);
str.toCharArray(cstr,16);
Serial.println(cstr);
However, per Majenko's The Evils of Arduino Strings I feel like this code would make my Arduino's heap look like swiss cheese. Is there a better way to change an [int] into a char[n] array that avoids the String class?
strcat([c string],[time])as I understand, I'll have to stick withitoasince I don't want it to go to serial? – ATE-ENGE Jul 24 '17 at 20:33(PGM_P)F("%02d:%02d:%02d"),section? (specifically the(PGM_P)Fpart) – ATE-ENGE Jul 24 '17 at 20:44