Changed data type for Arduino 1.5.7 compatibility