Update ArduinoCode

pow is used for float point, shift is better in this case.