Arduino - reference TCAS implementation