Tag Archives: conversion

How to convert integer to string and string to int on Arduino ?

New version of arduino supports String data type . In this tutorial we will see both integer to string and string to integer conversion. Conversion of integer to string can be done using single line statement.

Example:
int a = 1234;
String myStr;
myStr = String(a);  //Converts integer to string

Continue reading How to convert integer to string and string to int on Arduino ?