adafruit / Adafruit_CircuitPython_MagTag

Helper library for the Adafruit MagTag
MIT License
29 stars 24 forks source link

Adds `BOOT0` as a fifth pin for the `Peripherals.buttons` list. #89

Closed nitz closed 2 years ago

nitz commented 2 years ago

Added the BOOT0 button as a fifth pin for the buttons list.

This is dependant on https://github.com/adafruit/circuitpython/pull/6657, where I added the pin's name to the board's port. I'm not sure if the BOOT0 pin was skipped intentionally or not, so I'm opening this as a draft until that PR gets looked at.

nitz commented 2 years ago

Looks like https://github.com/adafruit/circuitpython/pull/6657 merged, so I've marked this as RFR, for your consideration :)

Also pushed a change to please black; I guess it wants to chop the parameters now.

nitz commented 2 years ago

Fantastic thought; added!