Compiled and tested in Arduino IDE