Update picowbell doubler CP example

65535 instead of 65536
This commit is contained in:
Liz 2024-03-21 16:42:12 -04:00 committed by GitHub
parent f49f34f4b0
commit 440e0198a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ led.direction = Direction.OUTPUT
analog_in = AnalogIn(board.A3)
def get_vsys(pin):
return ((pin.value * 3) * 3.3) / 65536
return ((pin.value * 3) * 3.3) / 65535
while True:
led.value = True