lcd 16*2 su standalone e comando lcd.clear()

if (5==rtc.getSeconds())

Ma va bene ugualmente questa sintassi?

Io farei:
if (rtc.getSeconds()==5)