Add functions to read rtc and add lib for temp sensor