.
Morged stuff from my other project ( https://github.com/RobertGawron/ArduinoAnts )