Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - // KAKO TRENUTNO IMAM
 - void screenHighBeam()
 - {
 - refreshScreen = true;
 - display.setCursor(SCR_ICONS_X, SCR_ICONS_HB_Y);
 - display.setTextSize(SCR_ICONS_SIZE);
 - display.print(F("HB"));
 - }
 - void screenHighBeamClear()
 - {
 - refreshScreen = true;
 - display.setCursor(SCR_ICONS_X, SCR_ICONS_HB_Y);
 - display.setTextSize(SCR_ICONS_SIZE);
 - display.print(F(" "));
 - }
 - void screenFogLight()
 - {
 - refreshScreen = true;
 - display.setCursor(SCR_ICONS_X, SCR_ICONS_FL_Y);
 - display.setTextSize(SCR_ICONS_SIZE);
 - display.print(F("FL"));
 - }
 - void screenFogLightClear()
 - {
 - refreshScreen = true;
 - display.setCursor(SCR_ICONS_X, SCR_ICONS_FL_Y);
 - display.setTextSize(SCR_ICONS_SIZE);
 - display.print(F(" "));
 - }
 - // PRIMJER
 - void ekran(uint8_t dio)
 - {
 - refreshScreen = true;
 - if (dio == 0)
 - {
 - display.setCursor(SCR_ICONS_X, SCR_ICONS_HB_Y);
 - display.setTextSize(SCR_ICONS_SIZE);
 - display.print(F("HB"));
 - }
 - else if (dio == 1)
 - {
 - display.setCursor(SCR_ICONS_X, SCR_ICONS_HB_Y);
 - display.setTextSize(SCR_ICONS_SIZE);
 - display.print(F(" "));
 - }
 - else if (dio == 2)
 - {
 - display.setCursor(SCR_ICONS_X, SCR_ICONS_FL_Y);
 - display.setTextSize(SCR_ICONS_SIZE);
 - display.print(F("FL"));
 - }
 - else if (dio == 3)
 - {
 - display.setCursor(SCR_ICONS_X, SCR_ICONS_FL_Y);
 - display.setTextSize(SCR_ICONS_SIZE);
 - display.print(F(" "));
 - }
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment