Skip to content
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

Deprecate SPI params bcm_DC, bcm_RST in favour of gpio_DC, gpio_RST #2

Closed
rm-hull opened this issue Jan 12, 2017 · 1 comment · Fixed by #50
Closed

Deprecate SPI params bcm_DC, bcm_RST in favour of gpio_DC, gpio_RST #2

rm-hull opened this issue Jan 12, 2017 · 1 comment · Fixed by #50
Assignees

Comments

@rm-hull
Copy link
Owner

rm-hull commented Jan 12, 2017

See https://github.com/rm-hull/luma.core/blob/master/luma/core/serial.py#L96

bcm is shorthand for 'broadcom' pin assignment, and is specific to RPi implementations, whereas gpio is a more general term, and should be used if ever a generic GPIO library replaces RPi.GPIO

@thijstriemstra
Copy link
Collaborator

perhaps we could use python's DeprecationWarning here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants