<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='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='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='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='coin_state' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<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='PortB0Triggered' 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='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='Coin_state' 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='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='delay' title='Delay' exp='5' type='2' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Info' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='PIC40 Version 9  (John) - March 14,23
Labeled the Led in Dasboard. 
Changing trigger to B0
Switched from Servo to Solenoid' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='Viktor - March 13,23
The summary is the Port B1 incoming signal is Logic 0 .
Step 1. With B1 is High Logic 1 (From a 10K resistor to VCC)
Step 2 Display text on the LCD
Step 3 ----- Trying to trigger B1
Step 4 -- Trigger on B1 from Logic 1 to Logic 0.
Step 5 - When B1 goes Low I would then run code to send a 120ms pulse to a Relay to control the Solenoid on Port B0

My question is how can I run the Solenoid code with out a trigger B1.
I can past a drawing if that helps.

The trigger from the outside hardware coming into B1 is only about 5ms on/off. This is what I could detect while The LCD is running text to Trigger and run the solenoid code.

My research indicates B1 is a IOC port possible to make a trigger just not sure how to detect ? Maybe fellow members of flowcode 6 have Ideas.
I tried the Intercept options but nothing worked. I did notice I can see the Port B1 change if I don&apos;t right to much text on the LCD.

' textarea='12,0,12,0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Coin_detected' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Coin Detected' textarea='12,0,12,0' />
						<command class_type='output' title='Output' 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='solenoid_dc1' macro='TurnOn' />
						<command class_type='delay' title='Delay' exp='120' type='1' />
						<command class_type='call' title='Call Component Macro' component='solenoid_dc1' macro='TurnOff' />
						<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='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='solenoid_dc1' macro='TurnOn' />
						<command class_type='delay' title='Delay' exp='120' type='1' />
						<command class_type='call' title='Call Component Macro' component='solenoid_dc1' macro='TurnOff' />
						<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='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='call' title='Call Component Macro' component='solenoid_dc1' macro='TurnOn' />
						<command class_type='delay' title='Delay' exp='120' type='1' />
						<command class_type='call' title='Call Component Macro' component='solenoid_dc1' macro='TurnOff' />
						<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='output' title='Output' mode='1' port='1048576' mask='8' exp='0' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Coin = 1' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='1' />
						<command class_type='call' title='Call Macro' macro='Coin_not_inserted' />
					</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='PortB0Triggered = 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='PortB0Triggered = 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='Init' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='RB0 Triiger' 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='output' title='Output' mode='1' port='1048576' mask='128' exp='0' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Timer2Tick = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Start' />
					</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 is connected to B0' enable='1' name='TMR0' call='Interrupt' >
							<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' />
						<command class_type='call' title='Call Macro' macro='Coin_not_inserted' />
					</flowline>
				</macro>
				<macro >
					<flowline name='ReadPushBtn' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='PortA  Trigger macro only to activate when the button presse
Btn -&gt; when pressed is to activate the macro ' textarea='12,0,12,0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Coin_not_inserted' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='No Coin Deposit
' 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='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='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='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='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 Macro' macro='GoldBall' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Interrupt' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='terrupt on INT0 enabled to call Macro PortA4Triggered, however you don&apos;t appear to have anything connected to that pin (Port B0). 
Perhaps reassign your button to Port B0, and you may want to rename the Macro from PortA4Triggered to PortB0Triggered?' textarea='12,0,12,0' />
						<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='PortB0Triggered = 1' />
							<exp exp='Timer2Tick = 155' />
							<exp exp='Coin = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ReadSlot' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='when no coin detected: Coin=1.
 When the button is pressed Coin=0.' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='CoinSlot' macro='ReadState' />
						<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='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='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Macro' macro='Init' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='comment' title='' comment='RB0 = coin state indication
' textarea='36,21,36,21' />
								<command class_type='interrupt' title='Interrupt is connected to B0' enable='1' name='TMR0' call='Interrupt' >
									<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' 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' textarea='52,21,52,21' component='CoinSlot' macro='ReadState' >
									<return exp='coin_state' />
								</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='12' />
									<argument exp='3' />
								</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='PrintNumber' >
									<argument exp='Coin' />
								</command>
								<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='8' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Coin State=&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='coin_state' />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='decision' title='active= high' textarea='52,21,52,21' exp='coin_state = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='A3 Led' textarea='12,0,12,0' />
										<command class_type='call' title='Call Component Macro' component='LedCoinState' macro='TurnOn' />
										<command class_type='output' title='Output' mode='1' port='1048576' mask='128' exp='1' />
										<command class_type='delay' title='Delay' exp='100' type='1' />
										<command class_type='call' title='Call Macro' macro='Coin_detected' />
										<command class_type='loop' title='Loop' type='0' exp='1' >
											<flowline >
												<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
													<argument exp='0' />
													<argument exp='3' />
												</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' />
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='A3 Led' textarea='89,7,89,7' />
										<command class_type='call' title='Call Component Macro' component='LedCoinState' macro='TurnOff' />
										<command class_type='call' title='Call Macro' macro='Coin_not_inserted' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
											<argument exp='0' />
											<argument exp='3' />
										</command>
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;Main&quot;' />
										</command>
										<command class_type='delay' title='Delay' exp='3' type='2' />
									</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='output' title='Output' mode='1' port='1048576' mask='128' 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>
				<macro >
					<flowline name='Version' 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='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' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='SwPush' x='229.251' y='241.917' z='-584.946' xsz='6.38298' ysz='5.31915' 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.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='-93.1479' y='431.772' z='-582.618' xsz='8.97436' ysz='8.97436' 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.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='label3' x='-81.8498' y='155.839' z='-578.762' xsz='20.1408' ysz='30' zsz='0' 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='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='-128.907' y='157.627' z='-578.76' xsz='20.1408' ysz='20' zsz='0' 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='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='32' y='-64' z='5.25754' xsz='2.5' ysz='2.75482' zsz='1.47064' 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='$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='LedCoinState' x='-40' y='40' z='-3.85' xsz='3.20513' ysz='3.20513' 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.3' />
					<value target='polarity' data='001' />
					<value target='on_color' data='65472' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='0' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='006' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9202a62e-0a42-4780-adce-16b701e5ec53' vmin='2' vmaj='1' codename='Servo_Controller1' x='94.882' y='623.909' z='-569.681' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Channel_Count' data='001' />
					<value target='pin0' data='$PORTD.0' />
					<value target='pin1' data='$PORTD.0' />
					<value target='pin2' data='$PORTD.0' />
					<value target='pin3' data='$PORTD.0' />
					<value target='pin4' data='$PORTD.0' />
					<value target='pin5' data='$PORTD.0' />
					<value target='pin6' data='$PORTD.0' />
					<value target='pin7' data='$PORTD.0' />
					<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='196.218' y='407.292' z='-583.041' xsz='2.84951' ysz='3.68421' 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='target_object' data='Servo_Controller1' />
				</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='-102.012' y='230.955' z='-582.614' xsz='7.69231' ysz='7.69231' 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.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='-94.5594' y='325.956' z='-582.614' xsz='7.69231' ysz='8.97436' 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.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='CoinSlot' x='35' y='53' z='1.75' xsz='4.13793' ysz='4.14815' 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.0' />
					<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='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label1' x='38.7413' y='794' z='0' xsz='3.90949' ysz='5' zsz='0' 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 />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label2' x='34.1292' y='754' z='0.25' xsz='3.90949' ysz='5' zsz='0' 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 />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label3' x='94.6385' y='99' z='0.25' xsz='2.837' ysz='3.75' zsz='0' 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 />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label4' x='63.4475' y='-281' z='0.25' xsz='2.837' ysz='3.75' zsz='0' 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 />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label5' x='43.4475' y='469' z='0.25' xsz='2.837' ysz='3.75' zsz='0' 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 />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label6' x='22.2565' y='509' z='0.25' xsz='2.837' ysz='3.75' zsz='0' 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 />
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label5' x='32' y='32' z='5.25' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='B0' />
				</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' y='40' z='-3.85' xsz='3.20513' ysz='3.20513' 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.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='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip5' x='72' y='40' z='-3.85' xsz='3.20513' ysz='3.20513' 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.6' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<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='-40' y='56' z='1.05' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='LedCoinState' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label2' x='72' y='56' z='1.05' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Read Slot' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label6' x='72' y='24' z='1.05' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Coin Detect' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label7' x='0' y='24' z='1.05' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Coin Detect' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label8' x='40' y='88' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Active High' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1ac8ae8b-bcd2-493f-b516-36dacb3695f9' vmin='2' vmaj='1' codename='solenoid_dc1' x='0' y='8' z='7.95' 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='1' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.1' />
					<value target='target' data='' />
					<value target='move' data='9.000000' />
					<value target='animate_time' data='150' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label9' x='24' y='0' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='B1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip6' x='-16' y='80' z='-3.85' xsz='3.20513' ysz='3.20513' 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.7' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8404224' />
					<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='label10' x='-48' y='80' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Testing LED' />
				</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='65.9342' ye='-27.9799' ze='469.52' xt='65.9342' yt='-27.9799' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='1' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7884836' img='' style='0' size='25' />
		<camera xe='-0.708839' ye='94.4004' ze='878.036' xt='-0.430467' yt='6.59519' zt='4.83712' xquat='0.0500886' yquat='7.93802e-005' zquat='-0.00158328' wquat='0.998744' />
	</panel3d>
	<layout >
		<view type='0' name='Info' 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='PortBChangeDetected' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Version' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Coin_state' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Init' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Coin_detected' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Coin_not_inserted' 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' />
		<view type='0' name='Interrupt' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ReadPushBtn' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ReadSlot' 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' />
	</layout>
</document>
</root>
