ATmega328P development board not working
The code is wrong because you are using the pin physical of the microcontroller like an Arduino pin. You need to review ATmega168/328P-Arduino Pin Mapping able on the Arduino web page

I recommend you to review the source code where these pins are defined pins_arduino.h - Pin definition functions for Arduino