Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: avr/pgmspace.h: No such file or directory 30 | #include <avr/pgmspace.h> #56

Open
AlpoReyz opened this issue Oct 15, 2024 · 1 comment

Comments

@AlpoReyz
Copy link

Why

@haroldcris
Copy link

haroldcris commented Dec 4, 2024

Try this one:

Open the LedControl.h file.
If you don't know the location of the file. In your code, Mouse over the #include "LedControl.h", and a tooltip will show the location of the file.

replace :
include <avr/pgmspace.h>

with

#if defined(__AVR__)
#include <avr/pgmspace.h>
#else
#include <pgmspace.h>
#endif

Got this solution from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants