I am developing a project that needs to monitor two infrared sensors (vs1838) at the same time. It is a robot that detects a value encoded in NEC (or RC6, RC5, whatever). If the signal is detected on the right sensor, it turns to the left and vice versa.
I know that the LIRC package is a great tool for infrared sensors, but apparently it only accepts a single infrared sensor.
Does anyone know an example in python to monitor 2 sensors at the same time in raspberypi4??