ESPHome  2024.12.2
Data Structures | Typedefs | Enumerations | Variables
esphome::tm1621 Namespace Reference

Data Structures

class  TM1621Display
 

Typedefs

using tm1621_writer_t = std::function< void(TM1621Display &)>
 

Enumerations

enum  Tm1621Device { TM1621_USER, TM1621_POWR316D, TM1621_THR316D }
 

Variables

const uint8_t TM1621_PULSE_WIDTH = 10
 
const uint8_t TM1621_SYS_EN = 0x01
 
const uint8_t TM1621_LCD_ON = 0x03
 
const uint8_t TM1621_TIMER_DIS = 0x04
 
const uint8_t TM1621_WDT_DIS = 0x05
 
const uint8_t TM1621_TONE_OFF = 0x08
 
const uint8_t TM1621_BIAS = 0x29
 
const uint8_t TM1621_IRQ_DIS = 0x80
 
const uint8_t TM1621_COMMANDS []
 
const char TM1621_KCHAR [] PROGMEM = {"0|1|2|3|4|5|6|7|8|9|-| "}
 
const uint8_t TM1621_DIGIT_ROW [2][12]
 

Typedef Documentation

◆ tm1621_writer_t

using esphome::tm1621::tm1621_writer_t = typedef std::function<void(TM1621Display &)>

Definition at line 12 of file tm1621.h.

Enumeration Type Documentation

◆ Tm1621Device

Enumerator
TM1621_USER 
TM1621_POWR316D 
TM1621_THR316D 

Definition at line 21 of file tm1621.cpp.

Variable Documentation

◆ PROGMEM

const char TM1621_KCHAR [] esphome::tm1621::PROGMEM = {"0|1|2|3|4|5|6|7|8|9|-| "}

Definition at line 26 of file tm1621.cpp.

◆ TM1621_BIAS

const uint8_t esphome::tm1621::TM1621_BIAS = 0x29

Definition at line 18 of file tm1621.cpp.

◆ TM1621_COMMANDS

const uint8_t esphome::tm1621::TM1621_COMMANDS[]
Initial value:
const uint8_t TM1621_WDT_DIS
Definition: tm1621.cpp:16
const uint8_t TM1621_TONE_OFF
Definition: tm1621.cpp:17
const uint8_t TM1621_SYS_EN
Definition: tm1621.cpp:13
const uint8_t TM1621_BIAS
Definition: tm1621.cpp:18
const uint8_t TM1621_TIMER_DIS
Definition: tm1621.cpp:15
const uint8_t TM1621_IRQ_DIS
Definition: tm1621.cpp:19
const uint8_t TM1621_LCD_ON
Definition: tm1621.cpp:14

Definition at line 23 of file tm1621.cpp.

◆ TM1621_DIGIT_ROW

const uint8_t esphome::tm1621::TM1621_DIGIT_ROW[2][12]
Initial value:
= {{0x5F, 0x50, 0x3D, 0x79, 0x72, 0x6B, 0x6F, 0x51, 0x7F, 0x7B, 0x20, 0x00},
{0xF5, 0x05, 0xB6, 0x97, 0x47, 0xD3, 0xF3, 0x85, 0xF7, 0xD7, 0x02, 0x00}}

Definition at line 28 of file tm1621.cpp.

◆ TM1621_IRQ_DIS

const uint8_t esphome::tm1621::TM1621_IRQ_DIS = 0x80

Definition at line 19 of file tm1621.cpp.

◆ TM1621_LCD_ON

const uint8_t esphome::tm1621::TM1621_LCD_ON = 0x03

Definition at line 14 of file tm1621.cpp.

◆ TM1621_PULSE_WIDTH

const uint8_t esphome::tm1621::TM1621_PULSE_WIDTH = 10

Definition at line 11 of file tm1621.cpp.

◆ TM1621_SYS_EN

const uint8_t esphome::tm1621::TM1621_SYS_EN = 0x01

Definition at line 13 of file tm1621.cpp.

◆ TM1621_TIMER_DIS

const uint8_t esphome::tm1621::TM1621_TIMER_DIS = 0x04

Definition at line 15 of file tm1621.cpp.

◆ TM1621_TONE_OFF

const uint8_t esphome::tm1621::TM1621_TONE_OFF = 0x08

Definition at line 17 of file tm1621.cpp.

◆ TM1621_WDT_DIS

const uint8_t esphome::tm1621::TM1621_WDT_DIS = 0x05

Definition at line 16 of file tm1621.cpp.