I want to use pin 39 for MISO with the Ethernet library and a WIZ80. Using a Teensy 3.5, so it uses SPIFIFO. I tried SPI.setMISO but that didn't work (leaves pin12 also set to MISO via SPIFIFO.begin, which calls SPCR.enable_pins). To get it to work, I had to call SPCR.setMISO.
Note: SPI.setMISO works for pin 8, but not 39. I think it is just luck as to which pin the SPI module uses if multiple pins are enabled for MISO.
Is this the right way to do it (SPCR.setMISO)? Using Teensyduino 1.40.
Note: SPI.setMISO works for pin 8, but not 39. I think it is just luck as to which pin the SPI module uses if multiple pins are enabled for MISO.
Is this the right way to do it (SPCR.setMISO)? Using Teensyduino 1.40.