prog.cpp: In function ‘void setup()’:
prog.cpp:33:1: error: ‘DDRD’ was not declared in this scope
DDRD = B11111111;
^~~~
prog.cpp:33:8: error: ‘B11111111’ was not declared in this scope
DDRD = B11111111;
^~~~~~~~~
prog.cpp:40:1: error: ‘PORTD’ was not declared in this scope
PORTD = B00010000;
^~~~~
prog.cpp:40:9: error: ‘B00010000’ was not declared in this scope
PORTD = B00010000;
^~~~~~~~~
prog.cpp:42:9: error: ‘B00000000’ was not declared in this scope
PORTD = B00000000;
^~~~~~~~~
prog.cpp:47:1: error: ‘PORTD’ was not declared in this scope
PORTD = B00010000;
^~~~~
prog.cpp:47:9: error: ‘B00010000’ was not declared in this scope
PORTD = B00010000;
^~~~~~~~~
prog.cpp:49:9: error: ‘B00000000’ was not declared in this scope
PORTD = B00000000;
^~~~~~~~~
prog.cpp:53:21: error: ‘delayMicroseconds’ was not declared in this scope
delayMicroseconds(50);
^