Advertisement
RuiViana

Funcao_Print_Com_Zero_a_Esquerda

Nov 24th, 2016
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. void Print(int number)                                                  // Funcao para ajustar os digitos para 00,01,02,...
  2. {
  3.     printf(lcd_putc,(minuto/ 10));
  4.     printf(lcd_putc,(minuto/ % 10));
  5.     printf(lcd_putc,(segundo/ 10));
  6.     printf(lcd_putc,(segundo/ % 10));  
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement