Re: 4 bit LCD library little diffs

So do your changes work?

Yeap …

With a REAL LCD I found that the original code is correct …

Enable line must stay HIGH for 230 ns in order to let the data be stored.
The only valid and tested modification to the library is this one:

void LCD4Bit::pushNibble(int value){
  //int val_nibble= value & 0x0F;  <<< clean the value.  (this is really unnecessary)
  for (int i=DB[0]; i <= DB[3]; i++) {
    digitalWrite(i,value & 01);
    value >>= 1;
  }
  pulseEnablePin();
}

Sorry for the mistake (I deleted the wrong code)