Saving and comparing timestamps of the microcontroller's real time clock
STM8S I2C demonstration project