1#ifndef SEGDRIVER_HT1621_H
2#define SEGDRIVER_HT1621_H
13 #define MAX_HW_ADDRESS 30
14 #define MAX_ADDRESS 30
17 #define CMD_TONE_OFF 0b00001000
18 #define CMD_TONE_ON 0b00001001
19 #define CMD_XTAL_32K 0b00010100
20 #define CMD_RC_256K 0b00011000
21 #define CMD_EXT_256K 0b00011100
23 #define CMD_BIAS_12 0b00100000
24 #define CMD_BIAS_13 0b00100001
26 #define CMD_TONE_4K 0b01000000
27 #define CMD_TONE_2K 0b01100000
29 #define DRIVE_MODE_12_MASK 0b00000000
30 #define DRIVE_MODE_13_MASK 0b00000100
31 #define DRIVE_MODE_14_MASK 0b00001000
44 void clear()
override;
55 void flush(uint8_t startAddr, uint8_t length)
override;
ModeBias
Bias mode used by LCD controller.
Definition SegLCDLib.h:25
@ MODE_BIAS_13
1/3 bias
Definition SegLCDLib.h:26
ModeDrive
Drive mode used by LCD controller.
Definition SegLCDLib.h:15
@ MODE_DRIVE_14
1/4 multiplexing
Definition SegLCDLib.h:19
Base class for 3-wire serial LCD segment display drivers.
Definition SegDriver_3Wire.h:12
HT1621 LCD segment display driver.
Definition SegDriver_HT1621.h:12
ModeDrive _drive
Current drive mode.
Definition SegDriver_HT1621.h:70
virtual void flush()
Flush all buffered changes to the display.
Definition SegLCDLib.cpp:332
void _setMode(ModeDrive drive=MODE_DRIVE_14, ModeBias bias=MODE_BIAS_13)
Set the mode of the display.
Definition SegDriver_HT1621.cpp:32
void clear() override
Clear all visible segments on the display.
Definition SegDriver_HT1621.cpp:10
virtual void flush()
Flush all buffered changes to the display.
Definition SegLCDLib.cpp:332
virtual size_t write(uint8_t ch)
Definition SegLCDLib.h:89