Open valerionew opened 4 years ago
Now when there is possibility to print characters... this could probably be quite easily possible using sprintf("%E", )
, right?
Well apparently not as Arduino does not support those formats so the function dtostre
could be used but the output will be very often longer than 6 digits so it would need probably special handling.
As you stated, Arduino does not support snprintf without changing compiler settings, and that would make impossible to install this as a library, so another implementation has to be found
@valerionew @pk Although an old issue, you might have a look at - https://github.com/RobTillaart/printHelpers It supports several formats including exponential.
Printing in the for of 123E45 and 123E-4 should be possible with a 7 segment LCD