<root>
<document schema='101' license='1,jocastres31,VZDPAW' title='' description='' target='PIC.16F.16F88' >
	<config data='!0,3f62!10,3ffe%0,2%2,0%3,0%5,1%6,1%7,0%8,1%9,3%b,1%c,1%d,1%10,0%11,1' clkspd='19660800' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='1000' />
			<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='1' />
			<data name='ictrate' value='1000' />
			<data name='ictmask' value='-1' />
			<data name='anlpres' value='255' />
			<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 />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='9' />
			<data name='CalculatedCommsDelay' value='9' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='0' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='ea7bbb1c-a3ab-402a-99db-b1bcb95d0ba5' vstate='40' vmin='3' vmaj='1' srcleaf='SimQuadEnc.fcfx' visiblename='Sim Encoder Rotary' description='Encoder component implements a rotary encoder connected to two pins
' category='Simulation' catenable='1' author='Matrix TSL' manuname='' manucode='' sysinfo='1077547' keywords='' dynamic='1' iconpath='D:\Dev\FlowcodeV7\Components\icons\components\FC5 PiC QuadEnc.png' />
		<component class_type='root' codename='SimQuadEncoder' 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='1' >
			<resources />
			<properties >
				<property name='Repeat Rate' target='reprate' typeid='16' hidden='0' locked='0' info='Simulated repeat rate when clicking and rotating the encoder' filter='350Slow
150Medium
075Fast' />
			</properties>
			<values >
				<value target='reprate' data='350' />
			</values>
			<events >
				<event class='Mouse' event='Click' target='Ev_Click' />
				<event class='Simulation' event='Stop' target='Ev_SimStop' />
				<event class='Simulation' event='Start' target='Ev_SimStart' />
				<event class='Mouse' event='Release' target='Ev_Release' />
				<event class='System' event='Timer' target='Ev_Timer' />
			</events>
			<apis >
				<api name='CheckForChanges' alt='CheckForChanges' type='1' proto='1' />
				<api name='Disable' alt='Disable' type='1' proto='1' />
				<api name='Enable' alt='Enable' type='1' proto='1' />
				<api name='ReadCounter' alt='ReadCounter' type='1' proto='1' />
				<api name='ResetCounter' alt='ResetCounter' type='1' proto='1' />
			</apis>
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Encoder_Count' type='s16' description='A counter for the encoder position' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Encoder_Mask' type='u8' description='Mask of the pin state for the encoder' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sim_Click_Count' type='u8' description='Counter for simulation of clicks' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Encoder_Enabled' type='u8' description='True if enabled, else false' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sim_Dial_Position' type='u32' description='Position of the dial' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pin_b' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pin_a' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sim_Moving' type='u32' description='Handle of component that is moving in simulation' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Ev_Timer' description='Called back on the panel command System.TimerStart' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='TimerID' type='u32' description='The identifier passed to the System.TimerStart panel command' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='sim' title='Set repeat timer' cmdcolor='1975743' cmdcolor_sec='1975743' macro='System.TimerStart' >
							<argument exp='0' />
							<argument exp='reprate' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Prv_MoveAround' />
					</flowline>
				</macro>
				<macro >
					<flowline name='CheckForChanges' description='Polling function to check changes
Returns 1 for changed, 0 for no change, 255 for error' >
						<return name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='maskcheck' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='p1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='p2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Mark success' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Return = 0' />
						</command>
						<command class_type='decision' title='If enabled' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Encoder_Enabled' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='pin_a' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.p1 = 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.p1 = 0' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='pin_b' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.p2 = 2' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.p2 = 0' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Set up mask correctly' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.maskcheck = .p1 | .p2' />
									<exp exp='' />
								</command>
								<command class_type='decision' title='Check no change' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.maskcheck = Encoder_Mask' swap='0' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Check corruption' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.maskcheck == (~Encoder_Mask) &amp; 0x03' swap='0' >
									<flowline >
										<command class_type='calculation' title='Reset Encoder mask for next operation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='Encoder_Mask = .maskcheck' />
										</command>
										<command class_type='calculation' title='Currupted' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.Return = 255' />
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='switch' title='Switch' textarea='219,65,219,65' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.maskcheck' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='decision' title='If moved up' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Encoder_Mask == 2' swap='0' >
												<flowline >
													<command class_type='calculation' title='Increment' textshow='0' textarea='36,0,37,1' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Encoder_Count = Encoder_Count + 1' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Decrement' textshow='0' textarea='36,0,37,1' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Encoder_Count = Encoder_Count - 1' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='decision' title='If moved up' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Encoder_Mask == 0' swap='0' >
												<flowline >
													<command class_type='calculation' title='Increment' textshow='0' textarea='36,0,37,1' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Encoder_Count = Encoder_Count + 1' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Decrement' textshow='0' textarea='36,0,37,1' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Encoder_Count = Encoder_Count - 1' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='decision' title='If moved up' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Encoder_Mask == 3' swap='0' >
												<flowline >
													<command class_type='calculation' title='Increment' textshow='0' textarea='36,0,37,1' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Encoder_Count = Encoder_Count + 1' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Decrement' textshow='0' textarea='36,0,37,1' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Encoder_Count = Encoder_Count - 1' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='decision' title='If moved up' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Encoder_Mask == 1' swap='0' >
												<flowline >
													<command class_type='calculation' title='Increment' textshow='0' textarea='36,0,37,1' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Encoder_Count = Encoder_Count + 1' />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Decrement' textshow='0' textarea='36,0,37,1' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Encoder_Count = Encoder_Count - 1' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='calculation' title='Reset Encoder mask for next operation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Encoder_Mask = .maskcheck' />
								</command>
								<command class_type='calculation' title='Mark success' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.Return = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_SimStop' description='Broadcast to all components that simulation has stopped' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Clear moving counter' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='sim_Moving = 0' />
						</command>
						<command class_type='sim' title='Panel' cmdcolor='1975743' cmdcolor_sec='1975743' macro='System.TimerStop' >
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Disable' description='Disables the use of the quad encoder
Once this ist called, the read functions will return zeros until the next Enable() call' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Disable encoder' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Encoder_Enabled = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Enable' description='Enables the use of the quad encoder
If this is not called, the read functions will return zeros' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='p1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='p2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Enable encoder' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Encoder_Enabled = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ReadCounter' description='Reads the current dial counter
This is a counter from 0 to 3 which then repeates to represent the state of the 2 pins' >
						<return name='Return' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Get counter' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Return = sim_Click_Count' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_SimStart' description='Broadcast to all components that simulation is starting' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='If not initialised' cmdcolor='3568629' cmdcolor_sec='3568629' exp='sim_Dial_Position == 0' swap='0' >
							<flowline >
								<command class_type='sim' title='Get ball pos' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Panel.Position.Get' >
									<return exp='sim_Dial_Position' />
									<argument exp='ball' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ResetCounter' description='Resets the current dial counter to zero' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Reset counter' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Encoder_Count = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Release' description='Sent when the mouse is released on a child of the component during simulation' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Component' type='u32' description='The component clicked on' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='X' type='f32' description='X coordinate relative to &apos;Component&apos;' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<param name='Y' type='f32' description='Y coordinate relative to &apos;Component&apos;' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<param name='Z' type='f32' description='Z coordinate relative to &apos;Component&apos;' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='calculation' title='Clear moving counter' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='sim_Moving = 0' />
						</command>
						<command class_type='sim' title='Panel' cmdcolor='1975743' cmdcolor_sec='1975743' macro='System.TimerStop' >
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_MoveAround' description='Moves around the dial' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='mask' type='u8' description='A counter incrementing in sequence { 0, 1, 3, 2 }' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Set pins' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Pattern for pins is 0, 1, 3, 2' />
							<exp exp='.mask = sim_Click_Count &amp; 3' />
							<exp exp='.mask = .mask ^ (.mask &gt;&gt; 1)' />
							<exp exp='pin_a = .mask &amp; 1' />
							<exp exp='pin_b = .mask &gt;&gt; 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='sim_Moving == right' swap='0' >
							<flowline >
								<command class_type='sim' title='Rotate around Z axis' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Panel.Position.RotateZ' >
									<argument exp='ball' />
									<argument exp='back' />
									<argument exp='-2' />
								</command>
								<command class_type='calculation' title='Inc counter' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='sim_Click_Count = sim_Click_Count + 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Rotate around Z axis' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Panel.Position.RotateZ' >
									<argument exp='ball' />
									<argument exp='back' />
									<argument exp='2' />
								</command>
								<command class_type='calculation' title='Dec counter' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='sim_Click_Count = sim_Click_Count - 1' />
								</command>
							</flowline>
						</command>
					</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='3568629' cmdcolor_sec='3568629' type='0' exp='1' >
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Click' description='Sent when the mouse is dragged on a child of the component during simulation' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Component' type='u32' description='The component being dragged' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='X' type='f32' description='X coordinate relative to &apos;Component&apos;' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<param name='Y' type='f32' description='Y coordinate relative to &apos;Component&apos;' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<param name='Z' type='f32' description='Z coordinate relative to &apos;Component&apos;' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='rads' type='f32' description='Radians' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='deg' type='f32' description='Degrees of rotation' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='calculation' title='Clear moving counter' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='sim_Moving = 0' />
						</command>
						<command class_type='sim' title='Panel' cmdcolor='1975743' cmdcolor_sec='1975743' macro='System.TimerStop' >
							<argument exp='0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Encoder_Enabled' swap='0' >
							<flowline >
								<command class_type='sim' title='Set repeat timer' cmdcolor='1975743' cmdcolor_sec='1975743' macro='System.TimerStart' >
									<argument exp='0' />
									<argument exp='reprate' />
								</command>
								<command class_type='calculation' title='Set up moving counter' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='sim_Moving = .Component' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Prv_MoveAround' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='shape' codename='back' x='0.0829819' y='-9.81642' z='-86.2787' xsz='32' ysz='32' zsz='16' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='0' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Shape' data='4' />
					<value target='Color' data='5921370' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0' />
					<value target='Image' data='' />
					<value target='Model' data='' />
					<value target='Unit' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='group' codename='ball' x='0.0829714' y='2.17585' z='-76.3011' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='4.65281e-05' xquat='0' yquat='0' zquat='4.06034e-07' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values />
				<events />
				<apis />
				<variables />
				<macros />
				<component class_type='shape' codename='right' x='4' y='-5.32907e-15' z='1.77636e-15' xsz='4' ysz='4' zsz='1' xang='0' yang='0' zang='-90' xquat='0' yquat='0' zquat='-0.707107' wquat='0.707107' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
					<resources />
					<properties />
					<values >
						<value target='Shape' data='9' />
						<value target='Color' data='255' />
						<value target='Outline' data='0' />
						<value target='Thickness' data='0.100000' />
						<value target='Image' data='' />
						<value target='Model' data='' />
						<value target='Unit' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='shape' codename='center' x='7.40149e-16' y='-1.77636e-15' z='-0.333333' xsz='4' ysz='4' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='0' solid='1' layer='0' poslock='0' >
					<resources />
					<properties />
					<values >
						<value target='Shape' data='7' />
						<value target='Color' data='7895160' />
						<value target='Outline' data='0' />
						<value target='Thickness' data='0.000000' />
						<value target='Image' data='' />
						<value target='Model' data='' />
						<value target='Unit' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='shape' codename='left' x='-4' y='-3.55271e-15' z='1.77636e-15' xsz='4' ysz='4' zsz='1' xang='0' yang='0' zang='90' xquat='0' yquat='0' zquat='0.707107' wquat='0.707107' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
					<resources />
					<properties />
					<values >
						<value target='Shape' data='9' />
						<value target='Color' data='255' />
						<value target='Outline' data='0' />
						<value target='Thickness' data='0.100000' />
						<value target='Image' data='' />
						<value target='Model' data='' />
						<value target='Unit' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='2' lighting='0' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='291.369' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='0' brightness='0' perspective='0' >
		<background rgb='8410112' img='' style='0' />
		<table rgb='16384' img='' style='0' size='0' />
		<camera xe='-1.20946' ye='18.8403' ze='156.52' xt='-1.20946' yt='1.30709' zt='-0.645817' xquat='0.0555212' yquat='0' zquat='0' wquat='0.998458' />
		<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='Enable' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ReadCounter' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='CheckForChanges' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='1409' flags='0' />
		<view type='0' name='Prv_MoveAround' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='75' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Click' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ResetCounter' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Disable' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Release' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_SimStart' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_SimStop' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Timer' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAEgMAAAwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
