update arduino algorithm
update coefficient in cv algorithm
debug