Skip to content

Basic driver for the NXP RTC PCF85063A for ESP32 using ESP-IDF

License

Notifications You must be signed in to change notification settings

costa-victor/ESP32-PCF85063A

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32-PCF85063A

Environment

Build environment: Linux Mint 20 x86_64
Target device: ESP32 NodeMCU
ESPIDF version: v4.4

Description

This is a basic driver for the NXP RTC PCF85063A for ESP32 using ESP-IDF, it also contains a simple example using the PCF85063A driver and some timing manipulations. Hope it helps :)

Reproduce steps

Check out your I2C_MASTER_CLK and change SDA, SCL pins if necessary in the PCF85063A.h file , as follows:

#define SDA_PIN         21
#define SCL_PIN         22
#define I2C_MASTER_CLK  100000

To run this example, make sure you have ESP-IDF installed and run the command:

idf.py build flash monitor

About

Basic driver for the NXP RTC PCF85063A for ESP32 using ESP-IDF

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.7%
  • CMake 2.6%
  • Makefile 1.7%