Way to specify number of digits / places when printing hex, octal, and binary numbers. [imported]
This is Issue 549 moved from a Google Code project. Added by 2011-05-24T19:34:41.000Z by [email protected]. Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Enhancement, Priority-Medium, Component-Core
Original description
Serial.print(n, HEX, 3); // for example
Recommendation: don't implement this if it causes the size of certain executables to increase. The "certain executables": ones which don't use this feature.
Rationale: I have a small board and I don't want to waste the tiny memory I have. Furthermore, I feel that if someone needs this feature, then they should use a more powerful system than an Arduino. (And I =do= use this feature heavily, but in big-time programs.)