Hi! I started derailing a different thread (here)
Now realizing I kind of was getting off topic there, I wanted to return to the main point:
Are there any SPI libraries optimized for the teensy that I could sort of plug and play for existing libraries? I'm running Adafruit's RA8875 with modification for easy multiple fonts (I made a thread for it Here)
The best thing I have found is that paul updated some SPI code 10 days ago at https://github.com/PaulStoffregen/SPI
It looks like he's hoping to get this code eventually pushed to the main arduino SPI core. The arduino SPI core does seem to be very different.
Does anyone know if this code is usable right now? or if it's even different than the core SPI library? As far as I can tell the core SPI library doesn't have any special cases and is just one-processor-size-fits-all.
The other thing I don't know is if this library is built in such a way that I could expect swapping it out to work.
Ok! I went ahead and tried swapping things out just one for one with the old spi.h and spi.cpp. The first compiler error I get is "IRQ_number_t has not been declared and I don't really know if my hopes of swapping 1-1 without doing anything else could be expected to work.
Now realizing I kind of was getting off topic there, I wanted to return to the main point:
Are there any SPI libraries optimized for the teensy that I could sort of plug and play for existing libraries? I'm running Adafruit's RA8875 with modification for easy multiple fonts (I made a thread for it Here)
The best thing I have found is that paul updated some SPI code 10 days ago at https://github.com/PaulStoffregen/SPI
It looks like he's hoping to get this code eventually pushed to the main arduino SPI core. The arduino SPI core does seem to be very different.
Does anyone know if this code is usable right now? or if it's even different than the core SPI library? As far as I can tell the core SPI library doesn't have any special cases and is just one-processor-size-fits-all.
The other thing I don't know is if this library is built in such a way that I could expect swapping it out to work.
Ok! I went ahead and tried swapping things out just one for one with the old spi.h and spi.cpp. The first compiler error I get is "IRQ_number_t has not been declared and I don't really know if my hopes of swapping 1-1 without doing anything else could be expected to work.