Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 390 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 390 Bytes

PCF8563 RTC Arduino Library

Arduino library for the P1AM-200 PCF8563 RTC chip.

Use the Arduino Library Manager to install.

Example

Here is a simple example which shows the capabilities of the library

#include <PCF8563.h>

void setup(){
  Serial.begin(9600);
  while(!Serial){
    ;
  }
  Serial.println(PCF8563_RTC.getEpoch());	//Print RTC's epoch time
}

void loop(){
}