this question is bound to have been asked before but I could not find it in the search...
Is there a way to print the leading zero's of a byte?
If I try :
byte v=17; Serial.println(v,BIN);
it prints : 10001
I would like it to print : 00010001