36 static const uint8_t rs = 0, e = 1, db4 = 14, db5 = 17, db6 = 13, db7 = IO_D5;
45 virtual void send(uint8_t data,
bool rsValue,
bool only4bits)
63 if (!only4bits) { sendNibble(data >> 4); }
64 sendNibble(data & 0x0F);
69 void sendNibble(uint8_t data)
static void setOutputLow() __attribute__((always_inline))
Configures the pin to be an output driving low.
static void setOutput(bool value) __attribute__((always_inline))
Sets the pin as an output.
static void setOutputHigh() __attribute__((always_inline))
Configures the pin to be an output driving high.
General class for handling the HD44780 protocol.
Writes data to the LCD on the Zumo 32U4.
virtual void send(uint8_t data, bool rsValue, bool only4bits)