Zero-Crossing Detector for Mains Frequency Monitoring | Hacker News Reader