<root>
<document schema='101' license='1,Design Works,PRFZBQ' title='' description='' target='PIC.16F.16F1507' >
	<config data='!0,3ffc!10,3fff%0,0%3,3%5,1%6,1%7,1%9,3%b,1%10,3%19,1%1a,1%1c,1%1d,1' clkspd='16000000' simspd='2' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='19' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='A' />
		<watch expr='B' />
		<watch expr='C' />
		<watch expr='D' />
		<watch expr='PortX' />
		<watch expr='Virt_port' />
		<watch expr='Target_BLUE' />
		<watch expr='Target_GREEN' />
		<watch expr='Target_RED' />
		<watch expr='Target_WHITE' />
		<watch expr='Trans_BLUE' />
		<watch expr='Trans_GREEN' />
		<watch expr='Trans_RED' />
		<watch expr='Trans_WHITE' />
		<watch expr='FADE' />
		<watch expr='Man_BLUE' />
		<watch expr='Man_GREEN' />
		<watch expr='Man_RED' />
		<watch expr='Man_WHITE' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='73a28b84-632c-4076-add0-032a6300c5c4' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='Misc' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' macronames='$(type)_$(module)__$(macro)' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Target_GREEN' type='s16' description='Green target value' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='D' type='u8' description='Virtual port value 8' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='C' type='u8' description='Virtual port value 4' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='B' type='u8' description='Virtual port value 2' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PortX' type='u8' description='Return port X to zero' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='A' type='u8' description='Virtual port, value 1' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Trans_GREEN' type='s16' description='GREEN Transition value' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Virt_port' type='u8' description='Add portX  to Vitual port' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Trans_BLUE' type='s16' description='BLUE Transition value' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Man_WHITE' type='u8' description='A to D WHITE' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Target_BLUE' type='s16' description='BLUE target colour' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Man_RED' type='u8' description='A to D RED' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Target_WHITE' type='s16' description='White target value' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Man_BLUE' type='u8' description='A to D BLUE' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Trans_WHITE' type='u8' description='WHITE transition value' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Trans_RED' type='s16' description='RED transition value' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Man_GREEN' type='u8' description='A to D GREEN' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FADE' type='u8' description='Fade speed' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Target_RED' type='s16' description='RED target value' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Virtual_Port' description='Acts as a Virtual 4 bit port' >
						<return name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='PORTx = 0' cmdcolor='4812195' cmdcolor_sec='11391487' >
							<exp exp='PortX = 0' />
						</command>
						<command class_type='input' title='Input Value = 1' cmdcolor='4812195' cmdcolor_sec='11391487' mode='1' port='1048577' mask='16' exp='A' />
						<command class_type='input' title='Input value = 2' cmdcolor='4812195' cmdcolor_sec='11391487' mode='1' port='1048577' mask='32' exp='B' />
						<command class_type='input' title='Input value = 4' cmdcolor='4812195' cmdcolor_sec='11391487' mode='1' port='1048577' mask='64' exp='C' />
						<command class_type='input' title='Input value = 8' cmdcolor='4812195' cmdcolor_sec='11391487' mode='1' port='1048577' mask='128' exp='D' />
						<command class_type='comment' title='' comment='A, B, C, and D form a virtual 4 bit port
A value is 1
B value is 2
C value is 4 and
D value is 8' textarea='12,0,12,0' cmdcolor='4812195' cmdcolor_sec='11391487' />
						<command class_type='decision' title='Detect A' cmdcolor='4812195' cmdcolor_sec='11391487' exp='A = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title=' PortX add 1' cmdcolor='4812195' cmdcolor_sec='11391487' >
									<exp exp='PortX = PortX + 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Detect B' cmdcolor='4812195' cmdcolor_sec='11391487' exp='B = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='PortX  add 2' cmdcolor='4812195' cmdcolor_sec='11391487' >
									<exp exp='PortX = PortX + 2' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Detect C' cmdcolor='4812195' cmdcolor_sec='11391487' exp='C = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='PortX  add 4' cmdcolor='4812195' cmdcolor_sec='11391487' >
									<exp exp='PortX = PortX + 4' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Detect D' cmdcolor='4812195' cmdcolor_sec='11391487' exp='D = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='PortX add 8' cmdcolor='4812195' cmdcolor_sec='11391487' >
									<exp exp='PortX = PortX + 8' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='The above four decisions add A,B,C,&amp; D
into Variable &quot;PortX&quot;' textarea='12,0,12,0' cmdcolor='4812195' cmdcolor_sec='11391487' />
						<command class_type='calculation' title='Virt_port = PortX' cmdcolor='4812195' cmdcolor_sec='11391487' >
							<exp exp='Virt_port = PortX' />
						</command>
						<command class_type='comment' title='' comment='PortX is copied to  &quot;Virt_port&quot;' textarea='12,0,12,0' cmdcolor='4812195' cmdcolor_sec='11391487' />
						<command class_type='decision' title='DIRECT to Analog' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Virt_port = 1' swap='0' >
							<flowline >
								<command class_type='loop' title='Loop' cmdcolor='4812195' cmdcolor_sec='11391487' type='0' exp='1' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='4812195' cmdcolor_sec='11391487' component='slider_plastic1' macro='GetAverageByte' >
											<return exp='Target_BLUE' />
											<argument exp='Man_BLUE' />
											<argument exp='Trans_BLUE' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4812195' cmdcolor_sec='11391487' >
											<exp exp='Target_BLUE = Man_BLUE' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='4812195' cmdcolor_sec='11391487' component='sw_slide_sub_pcb2' macro='ReadState' >
									<return exp='Man_GREEN' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='4812195' cmdcolor_sec='11391487' component='sw_slide_sub_pcb3' macro='ReadState' >
									<return exp='Man_RED' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='4812195' cmdcolor_sec='11391487' component='sw_slide_sub_pcb4' macro='ReadState' >
									<return exp='Man_WHITE' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='DIRECT back to scenes' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Virt_port = 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation to be added' cmdcolor='4812195' cmdcolor_sec='11391487' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='SCENE 3' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Virt_port = 3' swap='0' >
							<flowline >
								<command class_type='calculation' title='SCENE 3 set up' cmdcolor='4812195' cmdcolor_sec='11391487' >
									<exp exp='Target_BLUE = 200' />
									<exp exp='Target_GREEN = 100' />
									<exp exp='Target_RED = 50' />
									<exp exp='Target_WHITE = 250' />
									<exp exp='FADE = 2' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='SCENE 4' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Virt_port = 4' swap='0' >
							<flowline >
								<command class_type='calculation' title='SCENE 4 set up' cmdcolor='4812195' cmdcolor_sec='11391487' >
									<exp exp='Target_BLUE = 100' />
									<exp exp='Target_GREEN = 10' />
									<exp exp='Target_RED = 500' />
									<exp exp='Target_WHITE = 100' />
									<exp exp='FADE = 4' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='SCENE 5' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Virt_port = 5' swap='0' >
							<flowline >
								<command class_type='calculation' title='SCENE 5 set up' cmdcolor='4812195' cmdcolor_sec='11391487' >
									<exp exp='Target_BLUE = 1010' />
									<exp exp='Target_GREEN = 100' />
									<exp exp='Target_RED = 50' />
									<exp exp='Target_WHITE = 200' />
									<exp exp='FADE = 6' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='SCENE 6' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Virt_port = 6' swap='0' >
							<flowline >
								<command class_type='calculation' title='SCENE 6 set  up' cmdcolor='4812195' cmdcolor_sec='11391487' >
									<exp exp='Target_BLUE = 900' />
									<exp exp='Target_GREEN = 150' />
									<exp exp='Target_RED = 50' />
									<exp exp='Target_WHITE = 100' />
									<exp exp='FADE = 8' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='SCENE 7' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Virt_port = 7' swap='0' >
							<flowline >
								<command class_type='calculation' title='SCENE 7 set up' cmdcolor='4812195' cmdcolor_sec='11391487' >
									<exp exp='Target_BLUE = 1000' />
									<exp exp='Target_GREEN = 1000' />
									<exp exp='Target_RED = 1000' />
									<exp exp='Target_WHITE = 1000' />
									<exp exp='FADE = 10' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='NOTE: WHITE channel will only work in 8 bit mode?  255 then roll over!
so has to be set to 254 max. this effects the speed of the fade
being a quater of the speed of the other three chanels,
sort out in Forum?  ' textarea='12,0,12,0' cmdcolor='4812195' cmdcolor_sec='11391487' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='4812195' cmdcolor_sec='11391487' type='0' exp='1' >
							<flowline >
								<command class_type='delay' title='FADE Speed.  (0 to 255 ms)' cmdcolor='4812195' cmdcolor_sec='11391487' exp='FADE' type='1' />
								<command class_type='comment' title='' comment='A,B,C and D detects the four bit values of 1, 2, 4, and 8
and adds them in variable  &quot;portX&quot;' textarea='12,0,12,0' cmdcolor='4812195' cmdcolor_sec='11391487' />
								<command class_type='call' title='Call Macro Virtual_port' cmdcolor='4812195' cmdcolor_sec='11391487' macro='Virtual_Port' />
								<command class_type='call' title='Call Component Macro BLUE' cmdcolor='4812195' cmdcolor_sec='11391487' component='PWM1' macro='Enable' />
								<command class_type='call' title='Call Component Macro GREEN' cmdcolor='4812195' cmdcolor_sec='11391487' component='PWM2' macro='Enable' />
								<command class_type='call' title='Call Component Macro RED' cmdcolor='4812195' cmdcolor_sec='11391487' component='PWM3' macro='Enable' />
								<command class_type='call' title='Call Component Macro WHITE' cmdcolor='4812195' cmdcolor_sec='11391487' component='PWM4' macro='Enable' />
								<command class_type='decision' title='Decrement BLUE' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Target_BLUE &lt; Trans_BLUE' swap='0' >
									<flowline >
										<command class_type='calculation' title='Decrement BLUE by 1' cmdcolor='4812195' cmdcolor_sec='11391487' >
											<exp exp='Trans_BLUE = Trans_BLUE - 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Increment BLUE' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Trans_BLUE = Target_BLUE' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Increment BLUE' cmdcolor='4812195' cmdcolor_sec='11391487' >
													<exp exp='Trans_BLUE = Trans_BLUE + 1' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decrement GREEN' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Target_GREEN &lt; Trans_GREEN' swap='0' >
									<flowline >
										<command class_type='calculation' title='Decrement GREEN by 1' cmdcolor='4812195' cmdcolor_sec='11391487' >
											<exp exp='Trans_GREEN = Trans_GREEN - 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Increment GREEN' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Trans_GREEN = Target_GREEN' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Increment GREEN' cmdcolor='4812195' cmdcolor_sec='11391487' >
													<exp exp='Trans_GREEN = Trans_GREEN + 1' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decrement RED' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Target_RED &lt; Trans_RED' swap='0' >
									<flowline >
										<command class_type='calculation' title='Decrement RED by 1' cmdcolor='4812195' cmdcolor_sec='11391487' >
											<exp exp='Trans_RED = Trans_RED - 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Increment RED' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Trans_RED = Target_RED' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Increment RED' cmdcolor='4812195' cmdcolor_sec='11391487' >
													<exp exp='Trans_RED = Trans_RED + 1' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decrement WHITE' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Target_WHITE &lt; Trans_WHITE' swap='0' >
									<flowline >
										<command class_type='calculation' title='Decrement WHITE by 1' cmdcolor='4812195' cmdcolor_sec='11391487' >
											<exp exp='Trans_WHITE = Trans_WHITE - 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Increment WHITE' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Trans_WHITE = Target_WHITE' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Increment WHITE' cmdcolor='4812195' cmdcolor_sec='11391487' >
													<exp exp='Trans_WHITE = Trans_WHITE + 1' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call PWM Component Macro BLUE' cmdcolor='4812195' cmdcolor_sec='11391487' component='PWM1' macro='SetDutyCycle10Bit' >
									<argument exp='Trans_BLUE' />
								</command>
								<command class_type='output' title='Output Trans_BLUE' cmdcolor='4812195' cmdcolor_sec='11391487' mode='1' port='1048578' mask='32' exp='Trans_BLUE' />
								<command class_type='call' title='Call Component Macro GREEN' cmdcolor='4812195' cmdcolor_sec='11391487' component='PWM2' macro='SetDutyCycle10Bit' >
									<argument exp='Trans_GREEN' />
								</command>
								<command class_type='output' title='Output Trans_GREEN' cmdcolor='4812195' cmdcolor_sec='11391487' mode='1' port='1048578' mask='8' exp='Trans_GREEN' />
								<command class_type='call' title='Call PWM Component Macro RED' cmdcolor='4812195' cmdcolor_sec='11391487' component='PWM3' macro='SetDutyCycle10Bit' >
									<argument exp='Trans_RED' />
								</command>
								<command class_type='output' title='Output Trans_RED' cmdcolor='4812195' cmdcolor_sec='11391487' mode='1' port='1048576' mask='4' exp='Trans_RED' />
								<command class_type='call' title='Call PWM Component Macro WHITE' cmdcolor='4812195' cmdcolor_sec='11391487' component='PWM4' macro='SetDutyCycle10Bit' >
									<argument exp='Trans_WHITE' />
								</command>
								<command class_type='output' title='Output Trans_WHITE' cmdcolor='4812195' cmdcolor_sec='11391487' mode='1' port='1048578' mask='2' exp='Trans_WHITE' />
								<command class_type='decision' title='If Trans_BLUE = Target_BLUE' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Trans_BLUE = Target_BLUE' swap='0' >
									<flowline >
										<command class_type='decision' title='If Trans_GREEN = Target_GREEN' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Trans_GREEN = Target_GREEN' swap='0' >
											<flowline >
												<command class_type='decision' title='If Trans_RED = Target_RED' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Trans_RED = Target_RED' swap='0' >
													<flowline >
														<command class_type='decision' title='If Trans_WHITE = Target_WHITE' cmdcolor='4812195' cmdcolor_sec='11391487' exp='Trans_WHITE = Target_WHITE' swap='0' >
															<flowline >
																<command class_type='goto' title='Goto Connection Point' cmdcolor='4812195' cmdcolor_sec='11391487' labelid='0' labelname='' />
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='4812195' cmdcolor_sec='11391487' labelid='0' labelname='A' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='6' vmaj='1' codename='PWM1' x='-197' y='157.222' z='1.63426' xsz='1.85185' ysz='1.85185' zsz='1.85185' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='001' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTC.5' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='002' />
					<value target='period' data='255' />
					<value target='prescale' data='4' />
					<value target='period_calc' data='1024.000000' />
					<value target='frequency_calc' data='0.976563' />
					<value target='pwm_prescale' data='16' />
					<value target='SimRep' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='6' vmaj='1' codename='PWM2' x='-192' y='84.4444' z='3.75602' xsz='2.03704' ysz='2.03704' zsz='2.03704' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='002' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTC.3' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='2' />
					<value target='period' data='255' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='64.000000' />
					<value target='frequency_calc' data='15.625000' />
					<value target='pwm_prescale' data='1' />
					<value target='SimRep' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='6' vmaj='1' codename='PWM3' x='-187' y='13.3333' z='5.24352' xsz='1.85185' ysz='1.85185' zsz='1.85185' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='003' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTA.2' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='2' />
					<value target='period' data='255' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='64.000000' />
					<value target='frequency_calc' data='15.625000' />
					<value target='pwm_prescale' data='1' />
					<value target='SimRep' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='6' vmaj='1' codename='PWM4' x='-187' y='-52.778' z='1.63426' xsz='1.85185' ysz='1.85185' zsz='1.85185' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='004' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTC.1' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='2' />
					<value target='period' data='255' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='64.000000' />
					<value target='frequency_calc' data='15.625000' />
					<value target='pwm_prescale' data='1' />
					<value target='SimRep' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7a287a58-cba5-42ad-b8a5-58694d7f678a' vmin='2' vmaj='1' codename='sw_slide_sub_pcb1' x='-67.9' y='146.75' z='1.75' xsz='5.17241' ysz='4.44444' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.4' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7a287a58-cba5-42ad-b8a5-58694d7f678a' vmin='2' vmaj='1' codename='sw_slide_sub_pcb2' x='26.1303' y='146.75' z='1.75' xsz='5.17241' ysz='4.44444' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.6' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7a287a58-cba5-42ad-b8a5-58694d7f678a' vmin='2' vmaj='1' codename='sw_slide_sub_pcb3' x='76.1303' y='146.75' z='1.75' xsz='5.17241' ysz='4.44444' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.7' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7a287a58-cba5-42ad-b8a5-58694d7f678a' vmin='2' vmaj='1' codename='sw_slide_sub_pcb4' x='-19.8394' y='146.75' z='1.75' xsz='5.17241' ysz='4.44444' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.5' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape1' x='-122.5' y='162.5' z='1.25' xsz='4' ysz='4' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTC.5' />
					<value target='polarity' data='001' />
					<value target='on_color' data='16734039' />
					<value target='Shape' data='000' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape2' x='-118.303' y='92.5' z='1.25' xsz='4' ysz='4' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTC.3' />
					<value target='polarity' data='001' />
					<value target='on_color' data='4652800' />
					<value target='Shape' data='000' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape4' x='-118.303' y='22.5' z='1.25' xsz='4' ysz='4' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.2' />
					<value target='polarity' data='001' />
					<value target='on_color' data='5724159' />
					<value target='Shape' data='000' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape6' x='-118.303' y='-47.5' z='1.25' xsz='4' ysz='4' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTC.1' />
					<value target='polarity' data='001' />
					<value target='on_color' data='16777193' />
					<value target='Shape' data='000' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='slider_plastic2' x='80' y='0' z='5' xsz='12.502' ysz='112.5' zsz='10' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='tang_col' data='2960685' />
					<value target='mark_col' data='255' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='0' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='slider_plastic3' x='0' y='0' z='5' xsz='12.502' ysz='112.5' zsz='10' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='tang_col' data='2960685' />
					<value target='mark_col' data='255' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='0' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='slider_plastic4' x='-60' y='0' z='5' xsz='12.502' ysz='112.5' zsz='10' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='tang_col' data='2960685' />
					<value target='mark_col' data='255' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='0' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='001' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='slider_plastic1' x='40.6367' y='0' z='5' xsz='12.502' ysz='112.5' zsz='10' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='tang_col' data='2960685' />
					<value target='mark_col' data='255' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='0' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='12632256' img='' style='0' />
		<camera xe='-34.6907' ye='71.519' ze='777.426' xt='-34.6907' yt='71.519' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwcAAHcDAAA' zoom='85' scrollx='0' scrolly='2854' flags='0' />
		<view type='0' name='Virtual_Port' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAUwcAAHcDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
