How to use an Anet A8 control board with a damaged AVR IC?
This post was taken from Tooniis's comment.



I've been doing #2 for a week now. I swapped ports of the nozzle and hotbed. Now I have a functional nozzle but the bed cannot be heated. The new hardware should arrive soon though. As for #1, it would be very hard to do since the ATmega chip is an SMD package. 

In sanguino.h there are two lines which define the pins for the hotbed thermistor and the nozzle thermistor. One of them is 6 and the other is 7, and I just swapped those two. The lines are next to each other.