check in firmware 2.1.0 Arduino code. for intermediate changes, please check the development thread at https://github.com/OpenSprinkler/OpenSprinklerGen2