Hello,
A quick over view of my project before I jump into the problem. I am measuring information from Arduino #1, this then sends the measured data to Arduino #2 via power line communication, due to my mamba shield only working on Arduino 0022 and my wireless shield connection to the internet being programmed on Arduino 1.0.3 and the shields sharing pins, this information is then sent from Arduino #2 to Arduino #3 via serial communication ready to be sent to Google docs wirelessly.
So far most of my problems have come from the mamba shields. However through a lot of dodgy coding and banging of my head against a wall, I have managed to get the information to be received at Arduino #3.
Now the problem. Each reading has to be sent 1 digit at a time by the power line communication, so it arrives at Arduino #3. I want to turn all the digits back into one number. I have tried using an array and a string to do this, but the information received at Arduino #3 is the decimal number for the ACSII char, and I am struggling to change it back to the correct number. I have tried atoi() but that gave a conflict when trying to put it into a string. I know that a bit of the codes I have used would be helpful, but the code got to such a mess that i have deleted it all and plan to start again.
So my question is how can I change a decimal number to the acsii character it represents, and then put all the single digits received into the one number they were to begin with?
Currently I am sending the int 1821 from Arduino #1, and getting 49 56 50 49 (one at a time) at Arduino #3.



