BATTERY DISPLAY

CODE:

#include”Arduino.h”
#include”maker_batterydisplay.h”

int main()
{

init();
maker_setup(3,2,HIGHEST);
maker_displayLevel(7);
delay(1000);
maker_clearDisplay();

while(1)
{

maker_displayLevel(3);

}
return 0;

}

Battery display can be used as battery indicator in battery-powered projects and it uses analog input for voltage indication and components and connections. 

VCC- power supply pin (5V)

GND – ground pin (0V)

CLK, DIO – controlling pins

Coded by: