// Balchan LED
// 
// Jon Lenard
// 3/31/10

fixture
	manufacturer = "BALCHAN"
	name = "LED"
	version = 1.00
//  fullmanufacturer = "Balchan"
//  fullname = "LED"
//  mode = 0
//  description = ""

	attribute
		name = "INTENSITY"
		channel = 1
		
	attribute
		name = "RED"
		channel = 2
		homeVal = 0
		
	attribute
		name = "GREEN"
		channel = 3
		homeVal = 0
		
	attribute
		name = "BLUE"
		channel = 4
		homeVal = 0
		
	attribute
		name = "WHITE"
		channel = 5
		homeVal = 0
		
	attribute
		name = "STROBE"
		channel = 6
		homeVal = 0

	attribute
		name = "PROGRAM1"
		channel = 7
		homeVal = 0
		
	attribute
		name = "PROGRAM2"
		channel = 8
		homeVal = 0
		
	attribute
		name = "COLOR"
		channel = 9
		homeVal = 0
				
//////////////////////////////////////////////////////

	parameter
		name = "-RED-"
		displayerNum = 1
		type = C
		attribList = 2
		stop = (M  0:255),2,"Red="

	parameter
		name = "-GREEN-"
		displayerNum = 2
		type = C
		attribList = 3
		stop = (M  0:255),2,"Green="

	parameter
		name = "-BLUE-"
		displayerNum = 3
		type = C
		attribList = 4
		stop = (M  0:255),2,"Blue="
	
	parameter
		name = "-WHITE-"
		displayerNum = 4
		type = C
		attribList = 5
		stop = (M  0:255),2,"White="

	parameter
		name = "-COLOR-"
		displayerNum = 5 
		type = C
		attribList = 9
		stop = (   0:  7),N,"Use RGBW"	
		stop = (   8: 15),N,"Color 1 "
		stop = (  16: 23),N,"Color 2 "
		stop = (  24: 31),N,"Color 3 "
		stop = (  32: 39),N,"Color 4 "
		stop = (  40: 47),N,"Color 5 "
		stop = (  48: 55),N,"Color 6 "
		stop = (  56: 63),N,"Color 7 "
		stop = (  64: 71),N,"Color 8 "
		stop = (  72: 79),N,"Color 9 "
		stop = (  80: 87),N,"Color 10"
		stop = (  88: 95),N,"Color 11"
		stop = (  96:103),N,"Color 12"
		stop = ( 104:111),N,"Color 13"
		stop = ( 112:119),N,"Color 14"
		stop = ( 120:127),N,"Color 15"
		stop = ( 128:135),N,"Color 16"
		stop = ( 136:143),N,"Color 17"
		stop = ( 144:151),N,"Color 18"
		stop = ( 152:159),N,"Color 19"
		stop = ( 160:167),N,"Color 20"
		stop = ( 168:175),N,"Color 21"
		stop = ( 176:183),N,"Color 22"
		stop = ( 184:191),N,"Color 23"
		stop = ( 192:199),N,"Color 24"
		stop = ( 200:207),N,"Color 25"
		stop = ( 208:215),N,"Color 26"
		stop = ( 216:223),N,"Color 27"
		stop = ( 224:231),N,"Color 28"
		stop = ( 232:239),N,"Color 29"
		stop = ( 240:247),N,"Color 30"
		stop = ( 248:255),N,"Color 31"

	parameter
		name = "-STROBE-"
		displayerNum = 6
		type = B
		attribList = 6,7,8
		stop = (M  0:255,R  0:127,R  0:127),2,"Strobe="
		stop = (M  0:255,R  0:255,R128:191),2,"Speed="
		stop = (M  0:255,R128:255,R  0:255),2,"Speed="
		stop = (R  0:255,R  0:255,R192:255),N,"No Effect"
		
	parameter
		name = "PROGRAM1-"
		displayerNum = 7
		type = C
		attribList = 7
		stop = (   0:  0),N,"NoProg"
		stop = (R  1:127),N,"Black"
		stop = ( 128:255),N,"Fade"
		
	parameter
		name = "PROGRAM2-"
		displayerNum = 8
		type = C
		attribList = 8
		stop = (   0:  0),N,"NoProg"
		stop = (R  1:127),N,"Black"
		stop = ( 128:191),N,"Chase"
		stop = ( 192:255),N,"RandChase"
		
end
