Go Down

Topic: char to int (Read 311 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy