Add some arduino code for measuring voltage and current