-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Code to print int64_t and uint64_t for UNO (and maybe DUE) #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What's the status on this? Any updates? |
@RobTillaart Is the 8Kb a flat addition or only when used? If it is added without using it, I think I may be able to mitigate this in PrintEx. |
That code is from long long ago ;) I had a quick look at the code again and I (still) propose the print9() version which has imho a good balance between footprint and speed and understandability. @Chris--A |
See: https://github.com/arduino/Arduino/issues/1236 Signed-off-by: Frederic.Pillon <[email protected]>
I have make a pgm, that convert integer up to 64-bit to a String - you can used. |
Any chance to see this patch in upstream? |
Created pull request - arduino/Arduino#6608 |
Created my own lib to solve this - https://github.com/RobTillaart/printHelpers |
In - http://arduino.cc/forum/index.php/topic,143584.0.html - I posted code to be able to print int64_t and uint64_t for the UNO.
Not tested on other platforms but the code is very straightforward,
Drawback is it adds 8KB to a sketch so placed some #ifdefs in the proposed code.
Rob
The text was updated successfully, but these errors were encountered: