Save the script by the name rtc.py in the same directory where the
rtc_lib.py script is saved. To run the script, open the terminal in the
directory where the script is saved and run the following command:
python3 rtc.py
The result should look like as on the following image:
To stop the script press 'CTRL + C' on the keyboard.
- 26 -