The subject tells the goal. Here is the rest of the story. There is no micro available. It is preferred to use a dual comparator such as
393 as one of those is already part of the design and having two of one device is preferable to one of these and one of those.I have tried and failed. Others care to give it a crack?
John