(s)printf not working WRT '%.'
Posted: Mon Dec 03, 2018 6:40 am
I had a search but couldn't see anything on this....
outputs:
Time: 10:%.2d:%.2d
instead of:
Time: 10:11:05
apologies if this has been covered B4 !
Code: Select all
Serial.printf("Time: %2d:%.2d:%.2d", 10, 11, 5);
outputs:
Time: 10:%.2d:%.2d
instead of:
Time: 10:11:05
apologies if this has been covered B4 !