Fiona LiuFiona Liu
Keymaster
@bancroft
Post count: 371

The button function refers to register 4F, not to variable memory.

For your convenience, sending the command A5 5A 03 80 4F 10 (writing the value 10 in register 4F) will trigger the button when you are on the current page. 2.

For the RTC read function.

Send command: A5 5A 03 81 20 07 A5 5A 03 81 20 07

Description: A5 5A: Frame Head
03: Command Byte Length
81:Read register command
20:RTC’s control registration address.
07: Data byte length

The UART should return.

A5 5A 0A 81 20 07 16 10 26 03 16 09 00.

16 10 26 03 16 09 00
is current time(16-10-26, 03:16:09:00)