Bricklet for high precision sensing of voltage and current