# Do the loop
# Let it run for some minutes to see the delta on internal and external RTC
while True:
# Read the internal RTC
it = rtc.datetime()
# Read the external RTC
et = ds.datetime()
ihour = it[4]
iminute = it[5]
isecond = it[6]
ehour = et[4]
eminute = et[5]
esecond = et[6]
print(f"Internen RTC: {ihour:02d}:{iminute:02d}:{isecond:02d}")
print(f"Externen RTC: {ehour:02d}:{eminute:02d}:{esecond:02d}")
print(" ")
tm.numbers(ehour,eminute,False)
time.sleep_ms(500)
tm.numbers(ehour,eminute,True)
time.sleep_ms(500)