I’m having a problem trying to split my code in many *.c and *.h files.
So, this is the structure of my project:
the problem is when I try to use some AVR constant like HIGH or LOW:
#include <avr/wiring.h> #include "darksequencer2.h" ... buttons[i].buttonState = LOW;
I’ve included <avr/wiring.h> to have LOW defined, but when I compile I get this error:
buttons.c:1:25: error: avr/wiring.h: No such file or directory
where am I wrong?