arduino code for crab