Useful snippets when using the DS3231