PicoSystem: Bat sense scaling

This commit is contained in:
Phil Howard 2021-10-06 11:38:10 +01:00
parent 321b9ad4af
commit 6170e258f2
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ def buzz(freq, duty=0.5):
# PicoSystem Status
battery_sense = pimoroni.Analog(PICOSYSTEM_BAT_SENSE)
battery_sense = pimoroni.Analog(PICOSYSTEM_BAT_SENSE, amplifier_gain=(1.0 / 3.0))
charge_status = machine.Pin(PICOSYSTEM_CHARGE_STATUS, machine.Pin.IN)
vbus_status = machine.Pin(PICOSYSTEM_VBUS_STATUS, machine.Pin.IN)