36 static const uint8_t rs = 4, e = 11, 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 setOutput(bool value) __attribute__((always_inline))
Sets the pin as an output.
General class for handling the HD44780 protocol.
Writes data to the LCD on the Balboa 32U4.
static void setOutputHigh() __attribute__((always_inline))
Configures the pin to be an output driving high.
static void setOutputLow() __attribute__((always_inline))
Configures the pin to be an output driving low.
virtual void send(uint8_t data, bool rsValue, bool only4bits)