Hello,
I know it has been mentioned so many times.
Just how do I very easily convert a string with a decimal number e.g. string data "1" into an integer?
I want a comparison at the end (if (data2 == 1) {...}) to turn on an LED. Many thanks.
best regards
I know it has been mentioned so many times.
Just how do I very easily convert a string with a decimal number e.g. string data "1" into an integer?
I want a comparison at the end (if (data2 == 1) {...}) to turn on an LED. Many thanks.
best regards