Skip to content

Minor ubluetooth documentation update #5614

New issue

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

Closed
wants to merge 1 commit into from

Conversation

EddieParis
Copy link
Contributor

change bluetooth to ubluetooth when relevant.

@dpgeorge dpgeorge added the docs label Feb 10, 2020
@dpgeorge
Copy link
Member

Thanks for the patch, but I'm not sure it's the right thing to do. Indeed it is ubluetooth underneath, but the intention is that bluetooth is used in all code (which either aliases directly to ubluetooth, by default, or is provided on by a bluetooth.py in the import search path to add functionality). This is similar to umachine/machine: code examples and docs use machine.

@EddieParis
Copy link
Contributor Author

Oh ! I did not understand the alias ! I imported and used ubluetooth in my app, thinking the doc was wrong... Maybe this should be emphasized in the doc.

Sorry for the missunderstanding.

@jimmo
Copy link
Member

jimmo commented Feb 14, 2020

@EddieParis There's a (slightly confusing) explanation of this in the docs here: http://docs.micropython.org/en/latest/library/index.html#python-standard-libraries-and-micro-libraries (It would be good to update this though).

See also: #5377

@EddieParis EddieParis closed this Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants