Updated code sent to Arduino to get a more simple result