Hello all,
I have a question using SPI1 for my project.
How can I use SPI1 instead of SPI on the Teensy 4.1? I'm having trouble with the SCK and MOSI pins. Specially with the SCK. The following code isn't working:
SPI1.setSCK(27);
SPI1.setMOSI(26);
SPI1.begin();
SPI1.beginTransaction(SPISettings(14000000, MSBFIRST, SPI_MODE0));
Or do I have to set something somewhere else?
Thanks for your help
I have a question using SPI1 for my project.
How can I use SPI1 instead of SPI on the Teensy 4.1? I'm having trouble with the SCK and MOSI pins. Specially with the SCK. The following code isn't working:
SPI1.setSCK(27);
SPI1.setMOSI(26);
SPI1.begin();
SPI1.beginTransaction(SPISettings(14000000, MSBFIRST, SPI_MODE0));
Or do I have to set something somewhere else?
Thanks for your help