Arduino sketch for a portable meter device for solar PV measurements.