-
Notifications
You must be signed in to change notification settings - Fork 3
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
Option for BCM numbering #3
Comments
Thanks ! I'm using wiringPi for GPIO pins, and I think they allow to use both BCM and board for pin numbering (http://wiringpi.com/pins/). I'll look into it, and maybe add some option to the plugin initialization to set the numbering mode to use. |
As a workaround, you should be able to just warp a "matcher" around this like that:
|
Thanks, the wiring gets confusing when you are working with multiple packages and they have different numbering. |
Great job. This is the first package I’ve found that works flawlessly with the DHT-22. Would it be possible to add an option to use BCM numbering instead of board for the GPIO pins? For example, some packages have a set mode option to switch between BCM and board. Or some packages allow you to specify a string such as “GPIO21” instead of a number for BCM.
The text was updated successfully, but these errors were encountered: