Added Devon's most recent code to communicate with IR sensors