Arduino programs for controlling a Lego Mindstorms robot