Wonderful! It worked! Thanks a million!
I had no idea you could just use 'atoi' on a character array.
...my 'plan B' was to use the WString library, and convert the character array into a string, then the string into an integer...totally inefficient and space consuming, especially since I only have an atmega168 with my board
Thanks for your input also, It works perfectly also.
just a quick question though. i can see that atoi(&command) will convert all characters from the second position in the array onwards, but is there anyway to start the conversion at for example command and stop it at command?...just curious, Thanks.