58 static const uint8_t rs = 7, e = 8, db4 = 14, db5 = 17, db6 = 13, db7 = IO_D5;
67 virtual void send(uint8_t data,
bool rsValue,
bool only4bits)
90 if (!only4bits) { sendNibble(data >> 4); }
91 sendNibble(data & 0x0F);
96 void sendNibble(uint8_t data)
static void setOutput(bool value) __attribute__((always_inline))
Sets the pin as an output.
virtual void send(uint8_t data, bool rsValue, bool only4bits)
Main class for interfacing with the A-Star 32U4 LCD.
General class for handling the HD44780 protocol.
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.