Posted on February 25, 2018 at 20:15Hi,I want to detect zero crossing of AC mains by using stm8l151kxxx. In referance manual it says there are two comparators for zero cross detection but it doesn't give detailed information about hardware implement...