LcdValueUnitDisplay Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays a value and an unit in a big font on an LCD Display. Requires a display with at least 20x4 characters
public class LcdValueUnitDisplay
type LcdValueUnitDisplay = class
Public Class LcdValueUnitDisplay
- Inheritance
-
LcdValueUnitDisplay
Constructors
LcdValueUnitDisplay(ICharacterLcd, CultureInfo) |
Creates an instance of LcdValueUnitDisplay |
Properties
Culture |
Returns the active culture. |
Methods
Clear() |
Clears the display |
DisplayBigTextAsync(String, TimeSpan, CancellationToken) |
Scrolls a text in big font trough the display |
DisplayTime(DateTime, String) |
Display the current time |
DisplayValue(String, String) |
Display the given value/unit pair. The value must be pre-formatted with the required number of digits, ie. "2.01". The value should only contain one of ".", ":" or ",", or the printed result may be unexpected. |
InitForRom(String, LcdCharacterEncodingFactory) |
Initializes the display for use as a big-number display. Configures the display with some graphic blocks for the display of big numbers. |
StopShowing() |
Stop showing big characters. This method can be used to signal that the display will be used for different purposes. Before a Display method is used, InitForRom(String, LcdCharacterEncodingFactory) needs to be called again. This clears the display. |