Skip to content
Open
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions src/LiquidCrystal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,3 +324,10 @@ void LiquidCrystal::write8bits(uint8_t value) {

pulseEnable();
}

void LiquidCrystal::digitalWrite(int pin, int value) {
::digitalWrite(pin, value);
}
void LiquidCrystal::pinMode(int pin, int mode) {
::pinMode(pin, mode);
}
3 changes: 3 additions & 0 deletions src/LiquidCrystal.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ class LiquidCrystal : public Print {
void command(uint8_t);

using Print::write;
protected:
virtual void digitalWrite(int pin, int value);
virtual void pinMode(int pin, int mode);
private:
void send(uint8_t, uint8_t);
void write4bits(uint8_t);
Expand Down