You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is probably already known, but while trying to get this library to work with the Arduino GIGA R1 board on the SPI pins on the normal shield pins 10-13 are on this board are SPI1. So I tried simply adding the &SPI to the start of the HW constructor and did not work.
Finally tracked it down to two issues: The first is that they did not define the
The second is that the order of the parameters in the constructor: Adafruit_ILI9341(int8_t _CS, int8_t _DC, int8_t _RST = -1);
The second one: Adafruit_ILI9341(SPIClass *spiClass, int8_t dc, int8_t cs = -1, int8_t rst = -1);
Notice the first one is CS, DC, RST
The second one is dc, cs, rst
So you need to swap the CS and DC in your constructor.
My guess is, to late to try to fix the code, but potentially could add this to one or more of the examples.
The text was updated successfully, but these errors were encountered:
It is probably already known, but while trying to get this library to work with the Arduino GIGA R1 board on the SPI pins on the normal shield pins 10-13 are on this board are SPI1. So I tried simply adding the &SPI to the start of the HW constructor and did not work.
Finally tracked it down to two issues: The first is that they did not define the
The second is that the order of the parameters in the constructor:
Adafruit_ILI9341(int8_t _CS, int8_t _DC, int8_t _RST = -1);
The second one:
Adafruit_ILI9341(SPIClass *spiClass, int8_t dc, int8_t cs = -1, int8_t rst = -1);
Notice the first one is CS, DC, RST
The second one is dc, cs, rst
So you need to swap the CS and DC in your constructor.
My guess is, to late to try to fix the code, but potentially could add this to one or more of the examples.
The text was updated successfully, but these errors were encountered: