I do not use any code - my MCU reads IR receiver before - when no IR signal is present it send its own 600 us pulse and reads the sensor during second half of the pulse - with this system it is possible to detect obstacles even between pulses of interferring IR light (pulses of remote)
I do not use any code - my MCU reads IR receiver before - when no IR signal is present it send its own 600 us pulse and reads the sensor during second half of the pulse - with this system it is possible to detect obstacles even between pulses of interferring IR light (pulses of remote)
PetrFM 2 years ago