Wie Sketch von RtcDS1307 auf DS3231 ändern?

robiv8:
... die Zeit anzeigt. Std:Min:Sek Sonst nix.

Dann kannst Du Speicher sparen:

#include <SPI.h>
#include <U8g2lib.h>
#include <Wire.h>
#include <RtcDS3231.h>
RtcDS3231<TwoWire> Rtc(Wire);

//U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE, /* clock=*/ 5, /* data=*/ 4);   // ESP32 Thing, HW I2C with pin remapping
U8G2_SSD1306_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0);

void setup () {
  u8g2.begin();
  Rtc.Begin();
}

void loop () {
  u8g2.firstPage();
  do {
    RtcDateTime now = Rtc.GetDateTime();
    u8g2.setFont(u8g2_font_crox2hb_tn);  // choose a suitable font
    u8g2.setCursor(24, 10);
    ausgabe(now.Day());
    u8g2.print('.');
    ausgabe(now.Month());
    u8g2.print('.');
    u8g2.print(now.Year(), DEC);

    u8g2.setFont(u8g2_font_helvR24_tn);
    u8g2.setCursor(2, 43);
    ausgabe(now.Hour());
    u8g2.print(':');
    ausgabe(now.Minute());
    u8g2.print(':');
    ausgabe(now.Second());
  } while ( u8g2.nextPage() );

  delay (1000);
}

void ausgabe(uint8_t zahl){
   if (zahl < 10) {
      u8g2.print('0');
    }
    u8g2.print(zahl, DEC);
}

Der Sketch verwendet 9.630 Bytes (3%) des Programmspeicherplatzes. Das Maximum sind 253.952 Bytes.
Globale Variablen verwenden 592 Bytes (7%) des dynamischen Speichers, 7.600 Bytes für lokale Variablen verbleiben. Das Maximum sind 8.192 Bytes.