Broke Digital Pin 2 - Easy fix?

Hello Arduino community,

I recently applied 15V to my digital PIN 2 and confirmed using an oscilloscope that the pin is most likely broken. I wrote a simple digitalWrite, HIGH and LOW and on the oscilloscope the voltage was varying between like .75V to 1.2V, rather 0 and 3.3V.

I was wondering if replacing a certain component on the microcontroller, specifically the ATMEGA328P would be cheaper or should I just buy another Arduino Uno R3 altogether?

Replacing the atmega328p with another 328p with Uno bootloader, or replacing it with a blank 328p and bootloading it (using a working Uno or standalone ISP programmer) will fix that - since it sounds like you haven't damaged anything else.