AnalogRTCLib package includes arduino driver and usecase examples for MAXIM/ADI RTCs. Supported part numbers:
There are two main options to install library:
- Open Arduino IDE
- Go into Tools -> Manage Libraries...
- Search for AnalogRTCLib
- Click install button
- Dowload repository as .zip file
- Rename .zip file as "AnalogRTCLib.zip"
- Open Arduino IDE
- Go into Sketch -> Include Library -> Add .ZIP Library...
- Browse the AnalogRTCLib.zip location
- Click Open
- After installation open Arduino IDE
- Go into Files -> Examples -> AnalogRTCLib
- Select the part number you would like to use
- Select an example
- (If needs) Update example pin connection in example to it match with your target board.
- Plug your Arduino board to PC via USB cable.
- Select board type and serial port by navigating to Tools->Board Tools->Ports
- Click right arrow button to build and load it
- Please check output to see whether load succeeded or not