PCF85063: Weekday_alarm register
PCF85063: Timer_value register
PCF85063: Timer_mode register
Below is an example to read the register with index 7, to know the current power mode (0x00 means
input 5V via the USB Type C connector):
And below is an example to write the register with index 18, to set the pulsing interval to 1 second:
Remarks: although the register with index 16 is writable, changing the I2C address is more than
writing an I
2
C register. You will need to modify the software accordingly, and reconnect the power
supply to make it work. You can find more details in the “What I2C address is used by Witty Pi 4?
Can I change it?” section.
pi@raspberrypi:~ $ i2cget -y 1 0x08 7
0x00
pi@raspberrypi:~ $ i2cset -y 1 0x08 18 1