There is no second row. The rows only run between 0 and 1 for your 16X2 displays.
i din know the row initialization started from 0.
As for the code, i used the LCD example in the Arduio IDE, which worked fine with Arduino before.
Just one thing: millis() for Atmega8 and Attiny13 is, in fact, ten times more, hundredths of second.