C:\users\ats37.platformio\lib\Adafruit-GFX-Library\Adafruit_SPITFT.h:8:18: fatal error: SPI.h: No such file or directory
I tried to make matrixtest for NeoPixel work, but PlatformIO can’t find SPI.h
PS D:__Dokus\Documents\PlatformIO\Neo_Pixel_Matrix_Test> pio upgrade
You’re up-to-date!
PlatformIO 4.2.0 is currently the newest version available.
You will also need to save a copy of smileytongue24.h into the include directory within your project as this file is part of an example and not part of the library itself.
Additionally, you’ll have to fix this line (as the library uses constants outside the range of the data type and PlatformIO is more strict in flagging it as an error):
In file included from lib\Adafruit GFX Library_ID13\src\Adafruit_SPITFT.cpp:36:0:
lib\Adafruit GFX Library_ID13\src\Adafruit_SPITFT.h:26:17: fatal error: SPI.h: No such file or directory
In file included from lib\Adafruit GFX Library_ID13\src\Adafruit_SPITFT.cpp:36:0:
lib\Adafruit GFX Library_ID13\src\Adafruit_SPITFT.h:26:17: fatal error: SPI.h: No such file or directory
Looking for SPI.h dependency? Check our library registry!
...: fatal error: SPI.h: No such file or directory
then your platformio.ini is most likely different from the one I proposed.
Can you show your platformio.ini file? Can you also delete everything in libs?
Regarding uint16_t bmpcolor[] = .... Once you have fixed all library problems, you will get a single complation error. Replace the problematic line with:
I did it my way First I compiled a necked frame on main.cpp then I put SPI.h as first include then all the other Libraries I wrote all the prototypes above Setup and It comilied the sketch . I don’t even get a warning thank you for helping. I wish a nice week