Hello,
How do I set the Due SPI clock on 8 mhz.I know this function SPI.setClockDivider(slaveSelectPin, divider) .
Right now I am using SPI.setClockDivider(10,21) which sets it to 4mhz.I want to set it at 8mhz. Is there a forumula that goes along with this function to know what value betwen 1 and 255 corresponds to what SPI clock setting?