19 namespace duds {
namespace hardware {
namespace devices {
namespace displays {
64 std::vector<duds::hardware::interface::DigitalPinConfig>
outcfg;
127 void preparePins(
Access &acc);
140 void sendByte(
Access &acc,
int val);
141 virtual void moveImpl(
unsigned int c,
unsigned int r);
147 virtual void writeImpl(
int c);
148 void writeImpl(
Access &acc,
const std::string &text);
149 virtual void writeImpl(
const std::string &text);
150 virtual void writeImpl(
151 const std::string &text,
208 std::chrono::nanoseconds delay = std::chrono::nanoseconds(8000)
262 std::chrono::nanoseconds delay = std::chrono::nanoseconds(8000)
299 virtual void clear();
347 const std::shared_ptr<duds::ui::graphics::BppImage> &glyph,
Implements text output to HD44780 and compatible display controllers, such as the SPLC780D...
Provides access to multiple pins on a DigitalPort.
std::chrono::high_resolution_clock::time_point soonestSend
The soonest time a new command can be sent to the display.
duds::hardware::interface::ChipSelect enable
Used to represent the enable line of the LCD.
An object to wrap together a ChipSelectManager and chip ID to simplify code that needs to repeatedly ...
duds::hardware::interface::DigitalPinSetAccess output
The set used for the 4 data pins and the text flag, more commonly referred to as "RS".
Represents a set of pins on a single DigitalPort.
An object used to provide chip select control to a single user at a time.
Stores access objects together.
std::basic_ostream< Char, Traits > & clear(std::basic_ostream< Char, Traits > &os)
Display stream manipulator that clears all text from the display and places the cursor in the upper l...
std::vector< duds::hardware::interface::DigitalPinConfig > outcfg
The best output configuration for the display bus given the port in use.
duds::hardware::interface::DigitalPinSet outputs
Represents the 5 output lines, other than enable, that are needed to communicate with the LCD...
General graphics related code.
duds::hardware::interface::ChipAccess enable
Used to assert the enable line of the LCD.
std::chrono::nanoseconds nibblePeriod
The amount of time to allow the display to read data.
A fairly generic interface to a character based display that lacks color.
An image that uses a single bit to represent the state of each pixel; a black or white picture...