Swaping MOSI MISO

Hello i have a bad pcb design and i need to swap mosi and miso pins on my Arduino nano
I found a forum post that suggested swaping pins in pins_arduino.h
I did so but its not working. Im sure the pins are the problem because if i solder little adapter and swap the pins. it works.

Im using rf24mesh library.

Is there something im missing?
Is there another way tow swap these pins ?

Thanks for any answers .

Sure, done all the time. Cut the copper traces and use #30 jumper wire to make the correct connections.

2 Likes
  • These are defined in hardware.

  • You can always cut these traces and use wire wrap wire to swap PCB pins.

There is your answer

What everyone is saying is, you can't do it in software.

1 Like

The only way to do it in software would be to use a software implementation of SPI instead of the hardware.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.