PA3040
Advanced Member level 3
- Joined
- Aug 1, 2011
- Messages
- 883
- Helped
- 43
- Reputation
- 88
- Reaction score
- 43
- Trophy points
- 1,308
- Activity points
- 6,936
Dear All,
My RTC DS1307 reading writing and adjustments are now working properly
The only thinks that I have to manage to set 24/12 hour and AM / PM accordingly
I mean after adjusted 24 / 12 hour and re writing to RTC not working properly
I know that bit 6 of address 0x02 of RTC should be 0 for 24 hour and 1 for 12 hour
Please advice with the logic that I have to consider in simple code
My MCU 18f452
Compiler HI TECH C lite
Please advice
My RTC DS1307 reading writing and adjustments are now working properly
The only thinks that I have to manage to set 24/12 hour and AM / PM accordingly
I mean after adjusted 24 / 12 hour and re writing to RTC not working properly
I know that bit 6 of address 0x02 of RTC should be 0 for 24 hour and 1 for 12 hour
Please advice with the logic that I have to consider in simple code
My MCU 18f452
Compiler HI TECH C lite
Please advice