asking
Full Member level 5

Hello
I have data available as 24 hour format from ds1307 but I need the same in 12 hour without using if condition and then deduct 12 hour. I tried to read its pdf but how to make high just 6th bit? I tried much but no success. I please an anyone help me. I I need to put 1 switch for 12/24 conversion.. Plz help
I have data available as 24 hour format from ds1307 but I need the same in 12 hour without using if condition and then deduct 12 hour. I tried to read its pdf but how to make high just 6th bit? I tried much but no success. I please an anyone help me. I I need to put 1 switch for 12/24 conversion.. Plz help