added DMA as interrupt for IR sensors