adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
Other
4.04k stars 1.2k forks source link

Add board.SPEAKER alias for PyPortal #1634

Closed caternuson closed 5 years ago

caternuson commented 5 years ago

This is simply to make things a little easier by being more consistent. Similar to naming the battery voltage sense pin. On the PyPortal, the two pins associated with the speaker are currently named:

On the CPX and the Hallowing, the second one is called board.SPEAKER. So suggest either renaming or adding an alias for that as well.

ladyada commented 5 years ago

aliasing board.SPEAKER sounds good - wanna try the PR? :)

caternuson commented 5 years ago

Sure #1635

dhalbert commented 5 years ago

Fixed by #1635.