1. F Malpartida
  2. New LiquidCrystal

Commits

F Malpartida  committed a34e78e

Added 1us delay for faster IO, it is currently border line.

  • Participants
  • Parent commits fc7ac42
  • Branches default

Comments (0)

Files changed (1)

File LiquidCrystal_SR.cpp

View file
    ATOMIC_BLOCK(ATOMIC_RESTORESTATE)
    {
       fio_digitalWrite_HIGH(_srEnableRegister, _srEnableBit);
-      waitUsec (1);         // enable pulse must be >450ns               
+      delayMicroseconds (1);         // enable pulse must be >450ns               
       fio_digitalWrite_SWITCHTO(_srEnableRegister, _srEnableBit, LOW);
    } // end critical section
 }