Tm1637 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.
Represents Tm1637 segment display
public sealed class Tm1637 : IDisposable
type Tm1637 = class
interface IDisposable
Public NotInheritable Class Tm1637
Implements IDisposable
- Inheritance
-
Tm1637
- Implements
Constructors
Tm1637(Int32, Int32, PinNumberingScheme, GpioController) | |
Tm1637(Int32, Int32, PinNumberingScheme, GpioController, Boolean) |
Initialize a TM1637 |
Properties
Brightness |
Adjust the screen brightness from 0 to 7 |
CharacterOrder |
Order of characters, expect a 6 length byte array 0 to 5, any order. Most of the time 4 segments do not need to be changed but the 6 ones may be in different order like 0 1 2 5 4 3. In this case, this byte array has be be in this order |
MaxCharacters |
The number of characters that the TM1637 can handle |
MaxSegments |
The number of segments that the TM1637 can handle |
ScreenOn |
Set the screen on or off |
SegmentOrder |
Order of segments, expect a 6 length byte array 0 to 5, any order. Most of the time 4 segments do not need to be changed but the 6 ones may be in different order like 0 1 2 5 4 3. In this case, this byte array has be be in this order |
Methods
ClearDisplay() |
Clear the display |
Display(Byte, Character) |
Displays a raw data at a specific segment position from 0 to 5 |
Display(ReadOnlySpan<Character>) |
Displays a series of prebuild characters including the dot or not You can build your won characters with the primitives like Bottom, Top, Dot |
Dispose() |
Cleanup |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for