Arduino code for a robot designed to collect magnetic samples.