... lots of code ...
Well, generally speaking data is stored in binary internally.
Now that the 20th century is drawing to a close,
char buf;int x=getReading();itoa(x,buf,10);saveStr(x);
Hi,? ? ? ? ? ? ? ?Tom.......
Well, I hope it tastes nice! Who's cooking?
I am not advocating for sending a bunch of ones and zeros as ASCII characters. Doing so is even less efficient.Here is an example of what should be done in c-style pseudo code.The getReading() is a made up functions that reads a value from a sensor.