Arduino code for crab