updated Arduino sketches and app