Go Down

Topic: proplem in display system (Read 231 times) previous topic - next topic

MostafaHamdy

Hello every one , i make project in production line to counting object this object called (panel) and define time of this object in the production line and i have problem to show data , i use LCD 2*16 and it work good because it library very easy but it very small to but in the production line and i try to hack some led screen but i failed ,i see DMD: Dot Matrix Display in free electronics but i don't know if it easy to use like LCD library because i show variable of counting object like in code :
Code: [Select]

// ineed to show number of panel
panel++;
lcd.setCursor(0,0);
lcd.print("panel_");
lcd.print(panel);
******************************************************************
// show time in display
while(minutes != 60)
        {
             while(seconds != 60)
                    {
                     delay(1000);
                     seconds++;
                     lcd.setCursor(14,1);
                     lcd.print(seconds);
                  }
                  if(seconds==0&&minutes==0)
                      {break ;
                      }
             minutes++;
             seconds=0;
             lcd.setCursor(14,1);
             lcd.print("  ");
             lcd.setCursor(14,0);
             lcd.print(minutes);    
      }
  }
}



Go Up