We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing with https://python.microbit.org/v/beta Editor Version: 2.2.0-beta.5; MicroPython Version: 1.0.1/2.0.0-beta.5
An error occurs if music.play specifies pin=None, either directly or through a variable.
import microbit from microbit import * import music myPin=pin0 while True: music.play(music.JUMP_UP) sleep(1000) music.play(music.JUMP_UP,pin=myPin) sleep(1000) myPin=None
The text was updated successfully, but these errors were encountered:
Good catch, thanks Martin! For compatibility with V2 we should to accept None as a pin value in V1 as well.
None
pin
Sorry, something went wrong.
Fixed by 1252f88
No branches or pull requests
Testing with https://python.microbit.org/v/beta
Editor Version: 2.2.0-beta.5;
MicroPython Version: 1.0.1/2.0.0-beta.5
An error occurs if music.play specifies pin=None, either directly or through a variable.
The text was updated successfully, but these errors were encountered: