prog.c: In function ‘setup’:
prog.c:38:1: error: ‘DDRD’ undeclared (first use in this function)
DDRD = B00010000;
^~~~
prog.c:38:1: note: each undeclared identifier is reported only once for each function it appears in
prog.c:38:8: error: ‘B00010000’ undeclared (first use in this function)
DDRD = B00010000;
^~~~~~~~~
prog.c:44:1: error: ‘PORTD’ undeclared (first use in this function)
PORTD = 1 << 4;
^~~~~
prog.c:46:9: error: ‘B00000000’ undeclared (first use in this function)
PORTD = B00000000;
^~~~~~~~~
prog.c:84:1: warning: implicit declaration of function ‘delayMicroseconds’ [-Wimplicit-function-declaration]
delayMicroseconds(7);
^~~~~~~~~~~~~~~~~