You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @AsharLohmar
I think you mean that it's not clear which pin numbering is used: parser.add_argument('-g', dest='gpio', type=int, default=27, help="GPIO pin (Default: 27)")
The term "pin" can be misinterpreted as BOARD/physical numbering, although it's using the GPIO/BCM numbering (too many different names and formats, there's also the wiringPi numbering).
GPIO 27 = BCM 27 = Board 13 = WiringPi 2 (on RPi1 rev.1 the Board 13 was GPIO 21)
Agree that it would be useful to update the help text to make it more clear the BCM numbering is used. parser.add_argument('-g', dest='gpio', type=int, default=27, help="GPIO BCM number (Default: 27)")
In various parts of the code the lib uses the label
gpio
but actually in the code of RFDevice it sets the GPIO in mode BCM
This is kind of misleading.
The text was updated successfully, but these errors were encountered: