Generic library for any voltage and current sensors. Interrupt based, implements a zero cross detector and phase-locked loop for better precision. Completely line frequency independent.