How do i combine 2 codes in 1 Arduino mega? (capping machine)