wvmarle:
So you're sending out human readable ASCII, which indeed can be converted using atoi() (Google much?).
As you're using println you automatically add LF and CR to the end of the message (the line termination), so on the receiver side just read the bytes until you see the LF come in (iirc that's the first one, otherwise it's the CR).
I've search google regarding on how to convert ASCII to int. But when i try it in my code, it doesnt seem to work.
i would like exactly get what is printed in the serial monitor and make it into an int exactly as it is. for example if i got a reading of 156, i will make it into an int with the same value. thanks! much appreciated!