Skip to content

Commit 8498804

Browse files
committed
Set a lot more things
1 parent b7d405b commit 8498804

File tree

1 file changed

+4
-0
lines changed
  • ports/espressif/boards/lilygo_twatch_s3

1 file changed

+4
-0
lines changed

ports/espressif/boards/lilygo_twatch_s3/board.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ static void pmic_init(busio_i2c_obj_t *i2c) {
8989
enable_dldo(i2c, 1); // _dldo1
9090
write_register8(i2c, 0x18, 0x0F); // RTC coin cell + 300mAh main charge limit
9191
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
9296
}
9397

9498

0 commit comments

Comments
 (0)