How to enable the SQW output of the DS3231 on Arduino

rtc.writeSqwPinMode(DS3231_SquareWave1Hz);

did it for me.