The VAST 8 digit seven-segment LED display has 8 positions that can display any numeric and many alpha characters (the letters K, M, Q, V, W and X are not recognizable). Individual segments and display intensity are programmable.
1. Install jumpers to ADDR pins 1-2, 3-4, 5-6 and 7-8 (as shipped). This puts the V8DIGIT board at VAST address 0. The leftmost digit is digit 0.
2. Connect the VAST cable to the SBC2000.
3. Apply power and execute the following code:
GLOBAL temp AS INTEGER VLED_COMMAND(0,8):REM Set board 0 to 50% intensity VLED_7SEGMENT (0,"HELLO") temp=99 VLED_7SEGMENT (5,STR(temp))
VLED_MATRIX()
VLED _MATRIX() writes the byte of data to the digit at the specified position.
Where:VLED _MATRIX(position, byte)
Each bit of the byte controls a segment.
- "position "
- is the position of the LED in the LED matrix. Refer to the documentation for the peripheral you are using for more information.
- "byte"
- is value that you want to write.
VLED_COMMAND()
Where:VLED_COMMAND(board, intensity)
VLED _7SEGMENT() displays a text string starting at the specified position and continuing to the right.
- "board"
- is the VAST address as determined by the ADDR jumpers. Refer to the documentation on the peripheral you are using for more information.
- "intensity"
- is a byte of data encoded as follows:
D7 Test - all segments on at maximum intensity when this bit is set to zero
D6-D4 Set to 0 - not used
D3-D0 Intensity - 0=off, 15=maximum
D6-D4 must be set to zero for proper operation. Non-zero values will disable areas of the matrix. Non-zero values will cause a subset of the digits to be individually enabled, starting from the rightmost digit.
Where:VLED_7SEGMENT(position, char, decpt)
- "position"
- is the left-to-right character position to be written. Positions 0-7 are at VAST address 0, positions 8-15 are at VAST address 1, and so on.
- "char"
- is the ASCII value of the character to be written to the display. Legal values are '0' through '9', 'A' through 'Z', 'a' through 'z', and ' ', '-', '_', and '.'.
- "decpt"
- is a flag indicating whether or not the decimal point segment should be lit for this character position. A zero value indicates that the decimal point should not be lit; a non-zero value indicates that the decimal point should be lit.
The V8DIGIT requires 15 mA at 5 Volts when all segments are off. Current requirement increases to 300 mA when all segments are on at maximum intensity.
Dimensions are in inches.