TEST vdigit.txt

Warning: if you clip this code into your program, look out for possible html code slipping in.

REM   Test V8DIGIT board using an SBC2000-074
REM
REM   Author: Steven R. Wheeler
REM
REM   Copyright 1998 Vesta Technology, Inc.
REM   All rights reserved.


REM   First, include the files which contain the support routines we need to
REM   use to control the board. The file "vast vled.txt" must be used for
REM   both the V8DIGIT and the V8x8LED boards. The file "vast v8digit.txt"
REM   provides the alphanumeric output routine for the V8DIGIT board.

INCLUDE "vast vled.txt"
INCLUDE "vast vdigit.txt"


REM   Now for the main part of the application. This will print the word "HELLO"
REM   at 50% brightness on the display.

GLOBAL index AS INTEGER

vled_command(0, 8)
vdigit_display(0, 'H', 0)
vdigit_display(1, 'E', 0)
vdigit_display(2, 'L', 0)
vdigit_display(3, 'L', 0)
vdigit_display(4, 'O', 1)
vdigit_display(5, ' ', 0)
vdigit_display(6, ' ', 0)
vdigit_display(7, ' ', 0)

 

VestaTech Home

© 2002 Vesta Technology