2022-12-11 11:11:24 -05:00
|
|
|
import board
|
|
|
|
import digitalio
|
|
|
|
|
|
|
|
_LDO_PIN = digitalio.DigitalInOut(board.LDO_CONTROL)
|
|
|
|
_LDO_PIN.direction = digitalio.Direction.OUTPUT
|
|
|
|
_LDO_PIN.value = True
|
|
|
|
|
2022-12-11 11:25:26 -05:00
|
|
|
|
2022-12-11 11:11:24 -05:00
|
|
|
def ldo_on():
|
|
|
|
global _LDO_PIN
|
|
|
|
_LDO_PIN.value = True
|
|
|
|
|
2022-12-11 11:25:26 -05:00
|
|
|
|
2022-12-11 11:11:24 -05:00
|
|
|
def ldo_off():
|
|
|
|
global _LDO_PIN
|
|
|
|
_LDO_PIN.value = False
|