I presume this is an easy answer because I didn't find anyone else with this problem. Just trying to compile the basic 'graphicstest.ino' in the PaulStoffregen/ST7789_t3 examples. This is with Arduino IDE. The compiler finds ST7789_t3 and ST7789_t3.cpp in the Arduino Libraries, where I put them. The basic error is
That error is repeated for all the vars in:
I assume this code was not specifically written for T4.1 so I added the following to the defined code:
which didn't help.
That is the only change I made to the example code and libraries.
What the heck am I missing?
Thank you!
Code:
error: '_cs' was not declared in this scope; did you mean 'cs'?
_cs = cs;
That error is repeated for all the vars in:
Code:
#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
uint8_t _cs, _rs, _rst, _sid, _sclk;
uint8_t colstart, rowstart;
uint8_t pcs_data, pcs_command;
uint32_t ctar;
volatile uint8_t *datapin, *clkpin, *cspin, *rspin;
#endif
I assume this code was not specifically written for T4.1 so I added the following to the defined code:
Code:
|| defined(__IMXRT1060RM__)
which didn't help.
That is the only change I made to the example code and libraries.
What the heck am I missing?
Thank you!