This example code shows how to interface the Raspberry Pi Pico to the PCF8523 Real Time Clock
This example allows you to initialise the current time and date and then displays it every half-second. Additionally it lets you set an alarm for a particular time and date and raises an alert accordingly. More information about the module is available at https://learn.adafruit.com/adafruit-pcf8523-real-time-clock.
- CMakeLists.txt
-
CMake file to incorporate the example in to the examples build tree.
- pcf8523_i2c.c
-
The example code.
Item |
Quantity |
Details |
Breadboard |
1 |
generic part |
Raspberry Pi Pico |
1 |
|
PCF8523 board |
1 |
|
M/M Jumper wires |
4 |
generic part |