waveshareteam / e-Paper

1.3k stars 585 forks source link

1.54 and 2.9 Not compiling in Arduino IDE 1.8.13 #145

Open nnc6 opened 3 years ago

nnc6 commented 3 years ago

As in the title this examples are not compiling in Arduino IDE. I got: avr/pgmspace.h: No such file or directory I found https://www.arduino.cc/reference/en/language/variables/utilities/progmem/ which says this library is already included in modern IDE so I tried to comment #include <avr/pgmspace.h> and I got: pgm_read_byte' was not declared in this scope I would appreciate some informations about how to make this displays work!

SSYYL commented 3 years ago

This header file should already be included in the project and is shipped with the IDE by default. Please add the detailed error information.

JaimieD commented 3 years ago

I have come across this issue and resolved it temporarily by adding the library to the working folder and getting rid of the "avr/" in my "include" lines.