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
Slightly pedantic maybe ...
The spec uses (-) and the python bindings use underscores (_)
So should: GPIO_A = GPIO.gpio_id('GPIO_A')
GPIO_A = GPIO.gpio_id('GPIO_A')
be: GPIO_A = GPIO.gpio_id('GPIO-A')
GPIO_A = GPIO.gpio_id('GPIO-A')
The text was updated successfully, but these errors were encountered:
The underlying library actually supports both dash and underscore:
https://github.com/96boards/96BoardsGPIO/blob/master/lib/gpio.c#L58
On Fri, Nov 13, 2015 at 4:12 PM, Barry Byford notifications@github.com wrote:
Slightly pedantic maybe ... The spec https://www.96boards.org/wp-content/uploads/2015/02/96BoardsCESpecificationv1.0-EA1.pdf uses (-) and the python bindings use underscores (_) So should: GPIO_A = GPIO.gpio_id('GPIO_A') be: GPIO_A = GPIO.gpio_id('GPIO-A') — Reply to this email directly or view it on GitHub #8.
The spec https://www.96boards.org/wp-content/uploads/2015/02/96BoardsCESpecificationv1.0-EA1.pdf uses (-) and the python bindings use underscores (_)
— Reply to this email directly or view it on GitHub #8.
Sorry, something went wrong.
Thanks @doanac . You are correct, both underscore and dash work. I'll close the issue
No branches or pull requests
Slightly pedantic maybe ...
The spec uses (-) and the python bindings use underscores (_)
So should:
GPIO_A = GPIO.gpio_id('GPIO_A')
be:
GPIO_A = GPIO.gpio_id('GPIO-A')
The text was updated successfully, but these errors were encountered: