Code:
void lcd_command(char cmd) {

    /* RW and RS = 0 */
    PORTC = (0 << PC1) | (0 << PC0);

    /* and move out */
    PORTA =  cmd;

}
Ich habe zwar noch nie mit einem HD44870 gearbeitet, aber ich bezweifel doch stark, dass Kommandos ohne jeglichen Schreib- oder Enable-Impuls übertragen werden.