PicoSystem: Bat sense scaling
This commit is contained in:
parent
321b9ad4af
commit
6170e258f2
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue