hello , every one in the following code , the seven segments clock is working correctly but i don not need to loose the seconds every time i switched on , so i add " void ds1307_init() " but it always show - in seconds - 03 ; so please what is wrong ?
[I've put your code into a [CODE] block so the indentation can be shown -- KrisBlueNZ, moderator]
DS1307 initializing
[I've put your code into a [CODE] block so the indentation can be shown -- KrisBlueNZ, moderator]
Code:
unsigned short mask(unsigned short num) { switch (num) { case 0 : return 0xC0; case 1 : return 0xF9; case 2 :...