Sorry AWOL, I did look before posting, but obviously not hard enough.
Thanks Nick. I want my code to be portable, so I dont think I'll build a custom IDE.
Pity the IDE maintainers couldn't offer sprintf with float as an option, either
by way of an #include file or an entry in the Tools drop-down...
Put this code in a function and hide the awkward way it works, either by calling it with gpsno, day, month and year as parameters or use global variables and just call the function.
tsh:
Thanks Nick. I want my code to be portable, so I dont think I'll build a custom IDE.
Pity the IDE maintainers couldn't offer sprintf with float as an option, either
by way of an #include file or an entry in the Tools drop-down...
There's a "formatDouble" library that lets you turn floats into strings. I suppose it would be nice if it was easier to access.