Can I do this? LCD+Arduino = fast moving display?

its possible!!! :smiley:

you can modify the LCD4Bit with some assembler, and never use the "cursorTo" Function.

heres the change:

void LCD4Bit::pulseEnablePin(){
  digitalWrite(Enable,LOW);
  asm("nop\n"); 
  // send a pulse to enable
  digitalWrite(Enable,HIGH);
  asm("nop\n"); 
  digitalWrite(Enable,LOW);
  asm("nop\n"); 
}

delete the LCD4Bit.o after modifying LCD4Bit.cpp.

and for positioning the cursor use:

      lcd.commandWrite(0x80);                   //Line=1, Cursor 0
      lcd.commandWrite(0xC0+val);            //Line=2, Cursor val
      lcd.commandWrite(0x94+7);               //Line=3, Cursor 7
      lcd.commandWrite(0xD4);                   //Line=4, Cursor 0

give it a try, the difference is impressive for so little changes :sunglasses:

designer2k2