, it's works fine ...
it was time for me to understand your explanation in the previous Post (date of 01/02)
i just init the RTC by specific values of Date and Time
then read back every 1sec the RTC , and print out the result
YY,MM,DD,JS,HH,MM,MN
except a strange behavior ..
i don't undestand why i print out twice the 3 first line of text on my terminal display ..
i can't find where is my mistake ?
no external file ...
Presentation :
Directory :C:_MikroC_MesProjets_MikroC_18F27K42
MikroC pro 7.30 Beta
ð
Presentation :
Directory :C:_MikroC_MesProjets_MikroC_18F27K42
MikroC pro 7.30 Beta
Projet : PIC18F27K42_UART1_RTC_DS3231_I2C1_Hardw_Test.mcppi
Test PIC18F27K42 I2C1 HW
Config bit : P18F27K42_at_64Mhz.cfgsch FOSC:64.0 MHz
Source : PIC18F27K42_UART1_RTC_DS3231_Hardw_I2C_Test_190220.c
Init I2C1 HW
Init RTC DS3231
Active sortie SQW=1Hz:
Init data RTC par defaut, avec RTC_Forcée=0
19 02 20 02 14 59 50
19 02 20 02 14 59 51
19 02 20 02 14 59 52
19 02 20 02 14 59 53
19 02 20 02 14 59 54
19 02 20 02 14 59 55
19 02 20 02 14 59 56
19 02 20 02 14 59 57
19 02 20 02 14 59 58
19 02 20 02 14 59 59
19 02 20 02 15 00 00
19 02 20 02 15 00 01
19 02 20 02 15 00 02
19 02 20 02 15 00 03
19 02 20 02 15 00 04
19 02 20 02 15 00 05