Skip to content

Changed timing of pulses #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/LiquidCrystal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,11 @@ void LiquidCrystal::send(uint8_t value, uint8_t mode) {

void LiquidCrystal::pulseEnable(void) {
digitalWrite(_enable_pin, LOW);
delayMicroseconds(1);
delayMicroseconds(5);
digitalWrite(_enable_pin, HIGH);
delayMicroseconds(1); // enable pulse must be >450 ns
delayMicroseconds(5); // enable pulse must be >450ns
digitalWrite(_enable_pin, LOW);
delayMicroseconds(100); // commands need >37 us to settle
delayMicroseconds(90); // commands need > 37us to settle
}

void LiquidCrystal::write4bits(uint8_t value) {
Expand Down