Thursday, 18 September 2014

Arduino: Convert String to int.

Serial.println(inString.toInt());

source: http://stackoverflow.com/questions/18200035/how-do-you-convert-a-string-to-a-float-or-int

No comments:

Post a Comment