SegLCDLib
Loading...
Searching...
No Matches
SegLCD_PCx85_Raw.h
Go to the documentation of this file.
1#ifndef SEGLCD_PCx85_RAW_H
2#define SEGLCD_PCx85_RAW_H
3
9#include <Wire.h>
10#include <SegDriver_PCx85.h>
11
19 public:
20 SegLCD_PCx85_Raw(TwoWire& i2c, uint8_t address = DEFAULT_PCF85176_I2C_ADDRESS, uint8_t subaddress = DEFAULT_SUBADDRESS);
21 void init(ModeDrive drive, ModeBias bias);
22 size_t write(uint8_t ch) override;
23 void writeRam(uint8_t data, uint8_t address = 0);
24 void writeRam(uint8_t *data, size_t length, uint8_t address = 0);
25};
26#endif
ModeBias
Bias mode used by LCD controller.
Definition SegLCDLib.h:25
ModeDrive
Drive mode used by LCD controller.
Definition SegLCDLib.h:15
Base class for PCx85 LCD segment display drivers.
Definition SegDriver_PCx85.h:12
virtual void init() override
Logical display sections that can be targeted by higher-level rendering logic.
Definition SegDriver_PCx85.cpp:10
static constexpr uint8_t DEFAULT_PCF85176_I2C_ADDRESS
Definition SegDriver_PCx85.h:26
static constexpr uint8_t DEFAULT_SUBADDRESS
Definition SegDriver_PCx85.h:27
Raw PCx85 LCD class for direct RAM access.
Definition SegLCD_PCx85_Raw.h:18
void writeRam(uint8_t data, uint8_t address=0)
Definition SegLCD_PCx85_Raw.cpp:17
size_t write(uint8_t ch) override
Definition SegLCD_PCx85_Raw.cpp:11