割り込みを使用していることを示すコードはどこで見つけられますか? Arduinoのサブフォルダにあるwiring.cを調べてみましたが、機能にしかつながりません。
問題は、Timer/Comp0 の CTC モードを有効にすると、LCD が完全にぎこちなく出力することですが、CTC モードを無効にすると、完全に正常に動作します。
タイマーの初期化コードは次のとおりです。
void timerCompare0_ini(void){ // -Initialization of the Timer Compare 0
TCCR0A = 0; // This regulates the menu navigation arrow to show where user is pointing
TCCR0B = 0;
TCNT0 = 0;
OCR0B = 256;
// TCCR0A |= (1 << COM0B0) | (1 << COM0B1);
TCCR0A |= (1 << WGM01); // -CTC mode
TCCR0B |= ((1 << CS02) | (1 << CS00)); // -1024 prescaler
TIMSK0 |= (1 << OCIE0B); // -Enable timer compare interrupt
}