Tool/software:
I have a 24V supply from an external board that supplies power to a buck converter on my board to generate 5Volts and is connected to IN1 / pin 7.
I have a 5V backup supply from the same external board that is connected to IN2 / pin 2.
Using a resistor divider connected to the PR1 / pin 6 input, I would like to use the 24V supply to trigger the switch over from IN1 to IN2 when the 24V supply runs out of energy.