parse arduino response