Go Down

Topic: char to int (Read 271 times) previous topic - next topic

PGT

its been a while since i coded arduino c++ 

i forgot what was the function to convert from char to int  (including char values as ascii zero or asci 32 )

UKHeliBob

Is atoi() what you are looking for ?
I am not sure how ASCII 32 (ie a space) could be converted to an int though.
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Go Up