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

drivers/BCM/RPi.cpp pin_to_gpio_rev2 for RPi2 not complete? #895

Closed
RURon opened this issue Jul 25, 2017 · 0 comments
Closed

drivers/BCM/RPi.cpp pin_to_gpio_rev2 for RPi2 not complete? #895

RURon opened this issue Jul 25, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@RURon
Copy link

RURon commented Jul 25, 2017

I tried to use the SPI1 of my RPi2 for the NRF24 module and so specified the desired pins in the configure command. At the make I got the error of wrong pin numbers which got me into the RPi.cpp definition of the translation arrays from pin to GPIO number...and I dont know why this is, but for the RPi2 the higher pin numbers are not existing in the table (all "-1")...I simply copied the array values from the RPi3 array and now everything works...

@marceloaqno marceloaqno self-assigned this Jul 26, 2017
@marceloaqno marceloaqno added this to the 2.2.0 milestone Jul 26, 2017
marceloaqno added a commit to marceloaqno/MySensors that referenced this issue Aug 5, 2017
marceloaqno added a commit to marceloaqno/MySensors that referenced this issue Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants