Updated PiSugar 3 Series (markdown)

铲屎将军 2022-05-06 13:06:31 +08:00
parent 8daa78d678
commit eaff798e58

@ -124,6 +124,30 @@ Click and hold the power button to turn on/off. This feature can be turn off in
PiSugar 3 has many advanced power functions that can be set up, which are described below.
Some functions can be operated on WebUI, indicating that this function does not need to be manually set up by I2C, only in WebUI. At the same time, the WebUI interface can be set up directly through the command line. The function set through the WebUI will retain the settings in the Raspberry Pi system and will not be set to the default value after restart or battery reset.
1. Write Protection
**Register address:**
Write protection: 0x0B
**Register operation:**
can be read or written
**Operating instructions:**
When reading, 1 indicates that the PiSugar registers can be written, 0 indicates that the registers cannot be written.
Writing 0x29 to this register will make other registers writable, and writing any other value (such as 0xff) will make other register unwritable
The following functions are not affected by write protection
Reading data.
Feed watchdog
TAP Button State Cleanup
1. External power supply detection
**Register address:**
@ -503,19 +527,6 @@ WebUI supports this function.
WebUI can read the battery power percentage
1. RTC function
**Register address:**
write protection: 0x30, data address: 0x31-0x37
**Register operation:**
can be read or written
**Operating instructions:**
RTC has a write protection function in order to prevent data fluctuations caused by misoperation or system instability.
1. Timing boot function