What is the Rout of ATmega64
This graph from the ATmega64 datasheet (page 353) shows how voltage drops with output current:  



That's about 200 mV per 10 mA, or an output resistance of 20 &Omega;. At 20 mA this increases to 25 &Omega;.