# GTCO Super L Series
#  With  Type 5A controller
#  ASCII Mode.   This doesn't recognize button 0! (starts with 1)
#
# Originally build and tested by 
#  Terry Baker and David Gerdes  USA-CERL  1993
#
# Many thanks to GTCO for loaning us a digitizer to test this on

# Switch settings ON

# S1  348
# S2  1245
# S3  2

setup
{
    digname = GTCO
    description = GTCO  Super L Series
    buttons = 16                #number of buttons on digitizer
    buttonstart = 1             #number buttons start with
    buttonoffset = 0            #offset to get buttons 1-15
    baud = 9600
    units_per_inch = 1000
    button_up_char = 0
}


startquery
{
	#put in remote request mode "RM"
	# have to read each character as it is echoed
	#  ^A
	#  >RM<ESC>

    send = \01
    wait = .1 
    read = 1
    send = R
    read = 1
    send = M
    read = 1
    send = \027
}

query
{
    send = \02
}

stop
{
}

format 
{
    ascii = bxxxxx?yyyyy
}
