Using 14 instead of 13 for SCK in 4 wire SPI

Status
Not open for further replies.

floating.

Well-known member
I have a Teensy 3.2 and an ADXL345 module from SparkFun, and I'm trying to access it via 4 wire SPI, but I would prefer to use 14 instead 13 for clock.
Is there an easy way to do that? If yes, how do I set up my Arduino code to use 14 instead of 13 for SCLK?

Looking at the sources in C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SPI, in theory I could probably hack the library code, but I would rather not do that.

TIA
 
Status
Not open for further replies.
Back
Top