Source

New LiquidCrystal / LiquidCrystal.cpp

The default branch has multiple heads

Diff from to

File LiquidCrystal.cpp

 // pulseEnable
 void LiquidCrystal::pulseEnable(void) 
 {
+   // There is no need for the delays, since the digitalWrite operation
+   // takes longer.
    digitalWrite(_enable_pin, LOW);
-   delayMicroseconds(1);
+   //delayMicroseconds(1);
    
    digitalWrite(_enable_pin, HIGH);
-   delayMicroseconds(1);           // enable pulse must be > 450ns
+   //delayMicroseconds(1);          // enable pulse must be > 450ns
    
    digitalWrite(_enable_pin, LOW);
-   delayMicroseconds(100);         // commands need > 37us to settle
+   //delayMicroseconds(37);         // commands need > 37us to settle
 }
 
 //
    for (uint8_t i = 0; i < 8; i++) 
    {
       digitalWrite(_data_pins[i], (value >> i) & 0x01);
-   }
-   
+   }   
    pulseEnable();
 }