IR module

This software module

  1) Reads the input signal from the IR phototransistor

 

Public Functions:

checkIRStatus

   Read input IR signal (low = beam is broken)

   If signal is HI

     Return IR_ACTIVE_STATUS

   Else

     Return  IR_BROKEN_STATUS