Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Czas(void) {
- if (czas_e >= 1000) {
- sekundy++;
- czas_e = czas_e - 1000;
- }
- if (sekundy > 59) {
- sekundy = 0;
- minuty++;
- }
- if (minuty > 59) {
- minuty = 0;
- godz++;
- }
- strcpy(sekundy_str, u8x8_u8toa(sekundy, 2));
- strcpy(minuty_str, u8x8_u8toa(minuty, 2));
- strcpy(godz_str, u8x8_u8toa(godz, 2));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement