<root>
<document schema='101' license='1,Default Flowcode Name,EA6R55' title='' description='' target='PIC.16F.16F1937' >
	<config data='!0,fe4!10,1633%0,4%3,0%5,1%6,1%7,1%8,1%9,3%b,1%c,0%d,0%10,3%14,3%18,0%19,1%1a,1%1c,1%1d,0' clkspd='19660800' 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='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 />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' 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' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='in' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ReadState' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LoopCount' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TimeOut' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Status' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Servo' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PortbCaptureValue' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Timer2Enabled' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PortBCapturedValue1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PortA4Triggered' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Coin' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CaptureCount' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Seconds' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OUT' type='u8' description='' isconst='0' isinit='1' usrinit='125' setinit='125' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Timer2Tick' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Deposit' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='No coin' textarea='12,0,12,0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='PortBChangeDetected' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Here only if portB has been tiggered' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
						<command class_type='decision' title='Decision' exp='PortA4Triggered = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='Status = 1' />
									<exp exp='LoopCount = 0' />
									<exp exp='Timer2Enabled = 1' />
									<exp exp='TimeOut = 0' />
									<exp exp='Seconds = 0' />
									<exp exp='CaptureCount = CaptureCount + 1' />
									<exp exp='PortA4Triggered = 0' />
								</command>
								<command class_type='decision' title='Decision' exp='CaptureCount = 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Status = 2' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PortA4Triggered' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='C Code' textarea='56,29,56,29' ccode='tmro=255:' language='C' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Seconds = 0' />
							<exp exp='PortA4Triggered = 1' />
							<exp exp='Timer2Tick = 155' />
							<exp exp='Coin = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GoldBall' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
						<command class_type='interrupt' title='Interrupt' enable='1' name='TMR0' call='PortA4Triggered' >
							<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='1' />
								<option value='0' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Win a GOLD Ball&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
							<argument exp='1' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;You receive $1.00&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='3' type='2' />
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='RB0 is for servo' textarea='12,0,12,0' />
						<command class_type='native' title='C Code' textarea='36,0,511,300' ccode='osccon=0xf0;
//iocbp=0Xff;' language='C' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Timer2Tick = 0' />
						</command>
						<command class_type='output' title='Output' mode='1' port='1048576' mask='8' exp='0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='0' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Timer2Tick = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='Servo_Controller1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='Servo_Controller1' macro='EnableServo' >
							<argument exp='Timer2Tick' />
						</command>
						<command class_type='interrupt' title='Interrupt' enable='1' name='INT0' call='PortA4Triggered' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Start' />
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
							<argument exp='5' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Version 5B&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='3' type='2' />
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
							<argument exp='14' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Coin=&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
							<argument exp='19' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Coin' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' component='sw_slide_sub_pcb1' macro='ReadState' />
						<command class_type='call' title='Call Component Macro' disable='1' component='lcd_4x20' macro='Cursor' >
							<argument exp='19' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='ReadState' />
						</command>
						<command class_type='decision' title='Decision' exp='ReadState &gt; 0' swap='0' >
							<flowline >
								<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
							</flowline>
							<flowline />
						</command>
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='0' />
						<command class_type='delay' title='Delay' exp='1' type='1' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='0' />
						<command class_type='delay' title='Delay' exp='1' type='1' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Coin = 1' />
						</command>
						<command class_type='interrupt' title='Interrupt' enable='1' name='TMR0' call='PortBChangeDetected' >
							<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='1' />
								<option value='0' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='0' />
						<command class_type='loop' title='Loop' textarea='36,0,511,300' type='0' exp='Coin = 1' >
							<flowline >
								<command class_type='comment' title='' comment='No Coin Deposit
' textarea='12,0,12,0' />
								<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='0' />
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: lcd_4x20::PrintString(&quot;25 cents to play&quot;)
FCD_0c241_lcd_4x20__PrintString(&quot;25 cents to play&quot;, 17);
' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;25 cents to play&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='19' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Coin' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='2' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;You will receive&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='4' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;45 Game Balls&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='19' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Coin' />
								</command>
								<command class_type='delay' title='Delay' exp='2' type='2' />
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
								<command class_type='delay' title='Delay' exp='2' type='2' />
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='1' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;*Deposit 25 cents*&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='19' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Coin' />
								</command>
								<command class_type='delay' title='Delay' exp='3' type='2' />
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='19' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: lcd_4x20::PrintString(&quot;25 cents to play&quot;)
FCD_0c241_lcd_4x20__PrintString(&quot;25 cents to play&quot;, 17);
' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Coin' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Win a GOLD Ball&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='1' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;You receive $1.00&quot;' />
								</command>
								<command class_type='delay' title='Delay' exp='3' type='2' />
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='19' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Coin' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
								<command class_type='delay' title='Delay' exp='2' type='2' />
								<command class_type='delay' title='Delay' exp='1' type='1' />
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='19' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: lcd_4x20::PrintString(&quot;25 cents to play&quot;)
FCD_0c241_lcd_4x20__PrintString(&quot;25 cents to play&quot;, 17);
' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Coin' />
								</command>
								<command class_type='loop' title='Loop' type='0' exp='Coin = 0' >
									<flowline >
										<command class_type='comment' title='' comment='Coin Detected' textarea='12,0,12,0' />
										<command class_type='output' title='Output' break='1' mode='1' port='1048576' mask='64' exp='1' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='19' />
											<argument exp='3' />
										</command>
										<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: lcd_4x20::PrintString(&quot;25 cents to play&quot;)
FCD_0c241_lcd_4x20__PrintString(&quot;25 cents to play&quot;, 17);
' component='lcd_4x20' macro='PrintNumber' >
											<argument exp='Coin' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='Coin = 0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
										<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='1' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='6' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;Thank you&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='4' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;Coin Detected&quot;' />
										</command>
										<command class_type='delay' title='Delay' exp='3' type='2' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='5' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;45 Game Balls&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='6' />
											<argument exp='3' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;On the way&quot;' />
										</command>
										<command class_type='delay' title='Delay' exp='3' type='2' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
										<command class_type='comment' title='' comment='Ball 1' textarea='12,0,12,0' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='4' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;1 of 15 Balls&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='6' />
											<argument exp='3' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;Dispenced&quot;' />
										</command>
										<command class_type='comment' title='' comment='Ball Deposit' textarea='12,0,12,0' />
										<command class_type='delay' title='Delay' exp='120' type='1' />
										<command class_type='delay' title='Delay' exp='3' type='2' />
										<command class_type='comment' title='' comment='Ball 2' textarea='12,0,12,0' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='4' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;2nd 15 balls &quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='6' />
											<argument exp='3' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;Dispenced&quot;' />
										</command>
										<command class_type='delay' title='Delay' exp='120' type='1' />
										<command class_type='delay' title='Delay' exp='3' type='2' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='4' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;3rd 15 balls &quot;' />
										</command>
										<command class_type='delay' title='Delay' exp='125' type='1' />
										<command class_type='delay' title='Delay' exp='3' type='2' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='3' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;Enjoy the Fun&quot;' />
										</command>
										<command class_type='delay' title='Delay' exp='1' type='1' />
										<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='0' />
										<command class_type='delay' title='Delay' exp='1' type='1' />
										<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='0' />
										<command class_type='delay' title='Delay' exp='5' type='2' />
										<command class_type='calculation' title='Calculation' >
											<exp exp='Coin = 1' />
										</command>
										<command class_type='delay' title='Delay' exp='1' type='1' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Timer2Int' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='8' exp='1' />
						<command class_type='decision' title='Decision' exp='Timer2Tick &lt; 30' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='Timer2Tick = Timer2Tick + 1' />
								</command>
								<command class_type='decision' title='Decision' exp='(Timer2Tick &gt; 20) &amp;&amp; (Status &lt;&gt; 2)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='TimeOut = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='Timer2Tick = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='Seconds &lt; 255' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' exp='Seconds &gt; 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='TimeOut = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='Seconds = Seconds + 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='output' title='Output' mode='1' port='1048576' mask='8' exp='0' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='sw_push_rnd_pnl1' x='43.0746' y='-4.81765' z='-6.175' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.4' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip1' x='20.9334' y='5.7336' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.5' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<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='text' codename='label1' x='61.5369' y='-3.94465' z='0' xsz='8' ysz='8' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='A4' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label2' x='44.6231' y='15.6272' z='0' xsz='8' ysz='8' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label3' x='71.5682' y='40.1228' z='0' xsz='8' ysz='8' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='125' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label4' x='44.3169' y='67.068' z='0' xsz='8' ysz='8' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='250' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='a2b40602-5421-4e2f-ba82-96db1be51d69' vmin='1' vmaj='1' codename='lcd_4x20' x='-74.1811' y='4.53981' z='5.25754' xsz='1.50906' ysz='2.32909' zsz='1.47064' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Pin_Data_0' data='$PORTC.7' />
					<value target='Pin_Data_1' data='$PORTB.2' />
					<value target='Pin_Data_2' data='$PORTB.3' />
					<value target='Pin_Data_3' data='$PORTB.4' />
					<value target='Pin_RS' data='$PORTB.5' />
					<value target='Pin_E' data='$PORTB.6' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip2' x='-0.298469' y='6.0398' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.1' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<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='9202a62e-0a42-4780-adce-16b701e5ec53' vmin='2' vmaj='1' codename='Servo_Controller1' x='-24.9549' y='88.1842' z='6' xsz='4.08747' ysz='3.09233' 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' >
				<resources />
				<properties />
				<values >
					<value target='Channel_Count' data='001' />
					<value target='pin0' data='$PORTD.0' />
					<value target='pin1' data='$PORTB.1' />
					<value target='pin2' data='$PORTB.2' />
					<value target='pin3' data='$PORTB.3' />
					<value target='pin4' data='$PORTB.4' />
					<value target='pin5' data='$PORTB.5' />
					<value target='pin6' data='$PORTB.6' />
					<value target='pin7' data='$PORTB.7' />
					<value target='trim0' data='000' />
					<value target='trim1' data='0' />
					<value target='trim2' data='0' />
					<value target='trim3' data='0' />
					<value target='trim4' data='0' />
					<value target='trim5' data='0' />
					<value target='trim6' data='0' />
					<value target='trim7' data='0' />
					<value target='min_pulse_width' data='1280' />
					<value target='max_pulse_width' data='2500' />
					<value target='CCPLo' data='0' />
					<value target='CCPHi' data='48' />
					<value target='Servo_Clock_Count_25' data='122' />
					<value target='Servo_Clock_Count_1280' data='6291' />
					<value target='Servo_Clock_Count_2500' data='12288' />
					<value target='Servo_Period_Multiplier' data='23' />
					<value target='Divider' data='0' />
					<value target='RoundUp' data='1' />
					<value target='sim0' data='standard_servo1' />
					<value target='sim1' data='' />
					<value target='sim2' data='' />
					<value target='sim3' data='' />
					<value target='sim4' data='' />
					<value target='sim5' data='' />
					<value target='sim6' data='' />
					<value target='sim7' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='cc031290-2255-4e8d-b382-1998c8dda95a' vmin='1' vmaj='1' codename='standard_servo1' x='37.0496' y='41.3363' z='-4.27525' 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' >
				<resources />
				<properties />
				<values >
					<value target='target_object' data='Servo_Controller1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='a2b40602-5421-4e2f-ba82-96db1be51d69' vmin='1' vmaj='1' codename='lcd_4x201' x='0' y='0' z='3.575' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Pin_Data_0' data='$PORTB.0' />
					<value target='Pin_Data_1' data='$PORTB.1' />
					<value target='Pin_Data_2' data='$PORTB.2' />
					<value target='Pin_Data_3' data='$PORTB.3' />
					<value target='Pin_RS' data='$PORTB.4' />
					<value target='Pin_E' data='$PORTB.5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip3' x='-95.5251' y='60.2363' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.3' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<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='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip4' x='-68.072' y='60.2363' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.6' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<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='7a287a58-cba5-42ad-b8a5-58694d7f678a' vmin='2' vmaj='1' codename='sw_slide_sub_pcb1' x='72.0981' y='15.1889' z='1.75' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.4' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='1' lighting='2' brightness='0' perspective='0' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7884836' img='' style='0' size='25' />
		<camera xe='-1.10947' ye='49.8479' ze='354.597' xt='-1' yt='15.321' zt='11.2369' xquat='0.0500887' yquat='7.93902e-005' zquat='-0.00158328' wquat='0.998744' />
	</panel3d>
	<layout >
		<view type='0' name='PortBChangeDetected' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PortA4Triggered' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Timer2Int' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Deposit' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GoldBall' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
