The code recives a measurment from the arduino of how high the voltage of a battery is. If it is higher than 1,5 then a green LED lights up. But if it is lower than 1,5 then a red LED lights up.
1.Arduino uno
2.Leaders
3.Bread board
4.One green and one read LED
5.attery meter