LedControl
LedControl copied to clipboard
fatal error: avr/pgmspace.h: No such file or directory 30 | #include <avr/pgmspace.h>
Why
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