|
| | SegLCD_HT1622_10Dig16Seg (uint8_t chipselect, uint8_t data, uint8_t write, uint8_t read=-1) |
| |
| void | init () override |
| | Initialize GPIO pins for communication.
|
| |
| size_t | write (uint8_t ch) override |
| |
| | SegDriver_HT1622 (uint8_t chipselect, uint8_t data, uint8_t write, uint8_t read=-1) |
| | Constructor for HT1622 segment driver.
|
| |
| void | clear () override |
| | Clear all visible segments on the display.
|
| |
| void | flush (uint8_t startAddr, uint8_t length) override |
| | Flush specific range of buffered changes to the display.
|
| |
| virtual void | flush () |
| | Flush all buffered changes to the display.
|
| |
| virtual void | flush (uint8_t startAddr, uint8_t length) |
| | Flush specific range of buffered changes to the display.
|
| |
| | SegDriver_3Wire (uint8_t chipselect, uint8_t data, uint8_t write, uint8_t read=-1) |
| | Constructor for 3-wire serial LCD driver.
|
| |
| void | on () override |
| | Turn the display on.
|
| |
| void | off () override |
| | Turn the display off.
|
| |
| void | command (uint8_t command) override |
| | Send command to the controller.
|
| |
| virtual | ~SegLCDLib () |
| | Virtual destructor to ensure proper cleanup in derived classes.
|
| |
| void | home () |
| | Set cursor to 0, 0 without clear display.
|
| |
| virtual void | setCursor (uint8_t row, uint8_t col) |
| | Set cursor on exact digit.
|
| |
| void | initBacklight (int8_t backlightPin, BacklightMode backlightMode=BACKLIGHT_DIGITAL, bool backlightActiveHigh=true) |
| | Initialize GPIO backlight control.
|
| |
| virtual void | setBacklight (bool state) |
| | Set backlight state (on/off).
|
| |
| virtual void | setBacklight (int brightness) |
| | Set backlight brightness (0-255).
|
| |
| void | setAutoFlush (bool enable) |
| | Enable or disable autoflush mode.
|
| |
| bool | getAutoFlush () const |
| | Get current autoflush state.
|
| |
| const uint8_t * | getRamBuffer () const |
| | Get pointer to internal RAM buffer (read-only).
|
| |
| size_t | getRamBufferSize () const |
| | Get size of internal RAM buffer in bytes.
|
| |
|
| void | _setDecimal (uint8_t row, uint8_t col, bool state) override |
| | Virtual method for setting decimal point.
|
| |
| void | _writeRam (uint8_t data, uint8_t address=0) |
| | Override _writeRam to implement HT1622-specific timing requirements.
|
| |
| void | _writeRam (uint8_t *data, size_t length, uint8_t address=0) override |
| | Write multiple bytes to RAM starting at specified address.
|
| |
| void | _sendBits (uint16_t data, uint8_t bitCount=8) override |
| | Override _sendBits to implement HT1622-specific timing requirements.
|
| |
| void | _setFlag (uint8_t mask) |
| | Set a specific flag bit.
|
| |
| void | _clearFlag (uint8_t mask) |
| | Clear a specific flag bit.
|
| |
| bool | _isFlagSet (uint8_t mask) const |
| | Check if a specific flag bit is set.
|
| |
| void | _clearAllFlags () |
| | Clear all flags.
|
| |
| bool | _dotWrite (uint8_t ch, int8_t minCol, int8_t maxCol, int8_t ramOffset) |
| | Write decimal point.
|
| |
| void | _dotClearCur (int8_t minCol, int8_t maxCol) |
| | Clear current decimal (overwrite).
|
| |
| void | _colonClearIfNotFlagged (uint8_t ch, uint8_t colonCol, uint8_t colonFlag) |
| | Clear colon if its flag is not set.
|
| |
| virtual void | _setColon (uint8_t row, uint8_t col, bool state) |
| | Virtual method for setting colon.
|
| |
| void | _allocateBuffer (size_t size) |
| | Allocate RAM buffer for display data.
|
| |
| void | _writeRamMasked (uint8_t data, uint8_t address, uint8_t mask=0xFF) |
| | Write to display RAM with nibble-aware masking support.
|
| |
| uint8_t | _get_char_value (char ch) |
| | Helper method to convert a character to its segment representation.
|
| |
| uint16_t | _get_16char_value (char ch) |
| | Helper method to convert a character to its 16-segment representation.
|
| |
10-digit 16-segment alphanumeric LCD (HT1622).
Features: decimal points, full alphanumeric characters. Integrated HT1622 controller, 3-wire serial protocol. Strict timing requirements (4us pulse width).
- See also
- examples/HT1622/10Digit16SegmentLCD/10Digit16SegmentLCD.ino