On board software for CurioDuino