We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7d405b commit 8498804Copy full SHA for 8498804
ports/espressif/boards/lilygo_twatch_s3/board.c
@@ -89,6 +89,10 @@ static void pmic_init(busio_i2c_obj_t *i2c) {
89
enable_dldo(i2c, 1); // _dldo1
90
write_register8(i2c, 0x18, 0x0F); // RTC coin cell + 300mAh main charge limit
91
write_register8(i2c, 0x27, 0x1F); // 2s on time + 10s off time
92
+ write_register8(i2c, 0x62, 0x0B); // 500mA Current limit
93
+ write_register8(i2c, 0x16, 0x04); // 1.5A INcurr limit
94
+ write_register8(i2c, 0x61, 0x06); // 150mA Precharge limit
95
+ write_register8(i2c, 0x64, 0x03); // 4.2V Voltage target
96
}
97
98
0 commit comments