tomjorquera / pico-micropython-lowpower-workaround

Workaround for low power support in micropython for the Raspberry pico
GNU Lesser General Public License v3.0
58 stars 12 forks source link

validation rejecting Pin28 #13

Closed davidmcnabnz closed 1 year ago

davidmcnabnz commented 1 year ago

On my Pi Pico and Pico W devices, pins range from GP0 to GP28.

However, lowpower.py's validation only accepts up to 27.

Recommending this limit be changed to 28 to accommodate use of GP28 for dormant wake-up.

tomjorquera commented 1 year ago

Off by one error strikes again... Fixed it, thanks for the report !