adrianka:
Thanks, good input!How can I achieve to update a display by timer interrupt if printing in ISR is not a good idea?
why is it not a good idea?
Even declaring
volatile DateTime now;doesn't work.
Read Nick Gammon's excellent tips on using interrupts before going any further.
If rtc.now() uses I2C, then using it in an interrupt handler will also likely cause a hang.