Update digital read to parseInt buffer response.