-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adafruit RA8875 sclk pin #15
Comments
we must use hardware SPI - if your board uses that pin for the SPI port, then that's the only pin we can use! if you have changes you'd like to make, please submit a pull request :) |
I'm not sure if this is doable on the Teensy 3.2, but it appears to have alternate hardware SPI pins on the Teensy 3.5 and 3.6. I'll need to look into what is needed to make use of those. |
we'd pass in an &SPIDevice for hardware SPI |
Oh yeah, that makes sense. |
I posted this on the Adafruit Forum and was referred here:
I have an Adafruit RA8875 (1590) and the 7.0" TFT screen (2353). I am connecting it to a Teensy 3.2. Following examples from the Adafruit libraries the hardware connections are:
// Library only supports hardware SPI at this time
// Connect SCLK to UNO Digital #13 (Hardware SPI clock)
// Connect MISO to UNO Digital #12 (Hardware SPI MISO)
// Connect MOSI to UNO Digital #11 (Hardware SPI MOSI)
#define RA8875_INT 3
#define RA8875_CS 10
#define RA8875_RESET 9
However the sketch I am going to write uses Pin #13 for a Arduino FreqCount sketch input. Is there anyway to change the SPI clock Pin? I have looked at the Adafruit RA8875 libraries and don't see any place to change the Pin.
I have used other RA8875 libraries that can have the sclk pin changed. Is that possible to add it to this library.
Thanks
Tim Hatch
The text was updated successfully, but these errors were encountered: