The DS1307 can be run in either 12-hour or 24-hour mode. Bit 6 of the hours register is defined as the 12-hour or
24-hour mode-select bit. When high, the 12-hour mode is selected.
i know its correct. But cant i get sometyn like 12am with the code?
And again i noticed that the code is not obeying the conditional statement. Ian if i may ask have u worked with that code before?