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


  • Contest Winner

    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

Log in to reply

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.