Looks like a hooked up a PNP resistor wrong and fried my arduino UNO. Now I cant upload to it, and the atmega328p gets pretty hot even with nothing connected. When I write my sketch:
avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
It still runs the program that was on it.
Went through the troubleshooter too. Is there a way to know if I just need a new atmega328 or a whole new arduino? thanks