PIN 12 broken .... Could I use another pin instead?
-
Hi,
unfortunately some PINs on one of my arduinos are broken - due to beginners soldering. (A0, A6, A7, D12) (after unsoldering for the 5th time, there were some issues). :-(
So is there maybe a way to use instead of PIN 12 for the radio e.g. PIN 8?
I already had a look at SoftSPI, but then I would need to use A0 which is broken as well.
Many Thanks
Petz
-
For soft SPI, there are no constraints. You should be able to pick any pin you want. Just replace the pin assignments in RF24_config.h (assuming you run on the master branch):
const uint8_t SOFT_SPI_MISO_PIN = 16; const uint8_t SOFT_SPI_MOSI_PIN = 15; const uint8_t SOFT_SPI_SCK_PIN = 14; -
Worked!
Many Thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login