SegLCDLib
Loading...
Searching...
No Matches
SegDriver_HT1622.h
Go to the documentation of this file.
1#ifndef SEGDRIVER_HT1622_H
2#define SEGDRIVER_HT1622_H
3
4#include "SegDriver_3Wire.h"
5
13 // HT1622 specific commands (not in base class)
14 #define CMD_TONE_OFF 0b00001000
15
16 #define CMD_RC_32K 0b00011000
17 #define CMD_EXT_32K 0b00011100
18
19 #define CMD_TONE_4K 0b01000000
20 #define CMD_TONE_2K 0b01100000
21
22 public:
23 static constexpr uint8_t MAX_ADDRESS = 62;
24
33 SegDriver_HT1622(SegTransport3Wire& transport, uint8_t chipselect);
34
44 void flush(uint8_t startAddr, uint8_t length) override;
45 using SegLCDLib::flush; // Inherit base flush() without parameters
46};
47
48#endif
Base class for 3-wire serial LCD segment display drivers.
Definition SegDriver_3Wire.h:13
HT1622 LCD segment display driver.
Definition SegDriver_HT1622.h:12
virtual void flush()
Flush all buffered changes to the display.
Definition SegLCDLib.cpp:337
static constexpr uint8_t MAX_ADDRESS
Last valid start HW nibble address for byte write.
Definition SegDriver_HT1622.h:23
virtual void flush()
Flush all buffered changes to the display.
Definition SegLCDLib.cpp:337
Abstract 3-wire serial transport.
Definition SegTransport.h:18