Hallo,
I'm using an MKRZero board and I would like to display the output of my project on a 1.8" TFT display that requires Adafruit ST7735 TFT Library. Unfortunately, compiling the sketch I get the error, referred to Adafruit_GFX.cpp:35:0: - fatal error: avr/io.h: No such file or directory
#include <avr/io.h>. the same scketch, instead, works well with a MICRO board that, however, has not enough memory for my project.
do anyone solved this problem?
thanks a lot, Francesco
I've taken the graphicstest example that comes with the library and it compiles without problems for a MKRZero on my system.
You might have an older version of the library; if so, I suggest that you upgrade the library. I have 1.9.3 of the library installed, latest is 1.10.3; just too lazy to update libraries every time
Thenks a lot but I already have the latest version of Adafruit ST7735 TFT Library. testing your suggestion, I think that the problem is, instead, with the <TFT.h> library. bu, OK. for the moment I will manage my project with the MEGA board, instead.
problem solved. MKR family is not compatible with the old <TFT.h> library. using the standard Adafruit ST7735 TFT Library it works.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.