remove bitwise right shifting

remove bitwise right shifting with analog read value