1#ifndef SEGLCD_PCx85_2Row4DigSigBatPwr_H
2#define SEGLCD_PCx85_2Row4DigSigBatPwr_H
20 size_t write(uint8_t ch)
override;
23 void _setDecimal(uint8_t row, uint8_t col,
bool state)
override;
40 static constexpr uint8_t
ROW1 = 0;
41 static constexpr uint8_t
ROW2 = 1;
Implementation of the PCF85176 controllers.
Definition SegDriver_PCx85.h:144
static constexpr uint8_t DEFAULT_PCF85176_I2C_ADDRESS
Definition SegDriver_PCx85.h:26
static constexpr uint8_t DEFAULT_SUBADDRESS
Definition SegDriver_PCx85.h:27
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:13
static constexpr uint8_t ADDR_SIGNAL
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:26
static constexpr uint8_t ROW2
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:41
static constexpr uint8_t DECIMAL_MAX_ROW
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:46
static constexpr uint8_t OFFSET_POWER
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:34
static constexpr uint8_t BATTERY_MASK
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:53
static constexpr uint8_t SIGNAL_LEVEL_BITS[MAX_SIGNAL_LEVEL]
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:58
static constexpr uint8_t DECIMAL_MAX_COL
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:48
static constexpr uint8_t SIGNAL_MASK
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:57
static constexpr uint8_t ADDR_POWER
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:25
uint8_t _mapSegmentsRow1(uint8_t val)
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.cpp:148
static constexpr uint8_t OFFSET_ROW2
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:38
static constexpr uint8_t DECIMAL_POINT_BIT_ROW1
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:43
static constexpr uint8_t DECIMAL_MIN_COL
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:47
void setSignalLevel(uint8_t value)
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.cpp:32
void _setDecimal(uint8_t row, uint8_t col, bool state) override
Virtual method for setting decimal point.
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.cpp:69
static constexpr uint8_t ADDR_2_SEGS
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:29
static constexpr uint8_t MAX_BATTERY_LEVEL
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:52
static constexpr uint8_t OFFSET_SIGNAL
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:35
static constexpr uint8_t OFFSET_BATT
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:36
size_t write(uint8_t ch) override
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.cpp:106
static constexpr uint8_t RAM_SIZE
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:31
void init() override
Logical display sections that can be targeted by higher-level rendering logic.
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.cpp:8
static constexpr uint8_t ROW1
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:40
static constexpr uint8_t BATTERY_LEVEL_SEG[MAX_BATTERY_LEVEL]
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:54
void setPowerSymbol(bool state, uint8_t index=0)
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.cpp:45
static constexpr uint8_t OFFSET_ROW1
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:37
void setBatteryLevel(uint8_t value)
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.cpp:13
uint8_t _mapSegmentsRow2(uint8_t val)
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.cpp:162
static constexpr uint8_t DECIMAL_MIN_ROW
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:45
static constexpr uint8_t ADDR_1_SEGS
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:28
static constexpr uint8_t DECIMAL_POINT_BIT_ROW2
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:44
static constexpr uint8_t MAX_SIGNAL_LEVEL
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:56
static constexpr uint8_t ADDR_BATT
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:27
bool _handleDotNoPrevClear(uint8_t ch)
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.cpp:56
static constexpr int8_t DECIMAL_COL_OFFSET
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:49
static constexpr uint8_t POWER_BIT
Definition SegLCD_PCF85176_2Row4DigSigBatPwr.h:60