dataString += String(sensor);
There is no need to create a temporary String to wrap the int before concatenating it. Doing so consumes more resources that necessary.
dataString += String(sensor);
There is no need to create a temporary String to wrap the int before concatenating it. Doing so consumes more resources that necessary.