Sends data to a DOA_7Seg daughtercard to control the 7-segment
LCDs (or individual LEDs) wired to the card.
Namespace:
Phcc
Assembly:
Phcc (in Phcc.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub DoaSend7Seg ( _
deviceAddr As Byte, _
displayNum As Byte, _
bits As Byte _
) |
C# |
---|
public void DoaSend7Seg(
byte deviceAddr,
byte displayNum,
byte bits
) |
Parameters
- deviceAddr
- Type: System..::.Byte
The device address of the specific
DOA_7Seg daughtercard to send data to.
- displayNum
- Type: System..::.Byte
The number of the 7-segment display
(1-32), on the specified daughtercard, that
the bits parameter will control.
- bits
- Type: System..::.Byte
A byte, whose bits correspond to individual
segments of the specified 7-segment display (including the
decimal point). Each bit in this byte that is set
to will result in a logic HIGH
being sent to the corresponding segment (or LED).
See Also