<root>
<document schema='101' license='1,Default Flowcode Name,EA6R55' title='' description='' target='PIC.16F.16F1937' >
	<config data='!0,fe4!10,1733%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,1%19,1%1a,1%1c,1%1d,0' clkspd='32000000' 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 >
		<watch expr='Time' />
		<watch expr='HM' />
		<watch expr='count' />
		<watch expr='Tens' />
		<watch expr='VM' />
		<watch expr='V_count' />
		<watch expr='V_Tens' />
		<watch expr='Add_Home' />
		<watch expr='Add_Visitor' />
		<watch expr='Alarm' />
		<watch expr='Alarm_Count' />
		<watch expr='READC4' />
		<watch expr='TX_Byte' />
		<watch expr='$PORTE' />
	</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='Misc' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='65' z='0' xsz='1' ysz='1' zsz='1' xang='-25' yang='0' zang='0' xquat='-0.21644' yquat='0' zquat='0' wquat='0.976296' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Button' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm_Count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_Ready' type='b1' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Byte6' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Subtract' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Reset' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Byte5' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='V0_Down' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Byte4' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Diagnostics' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Byte3' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Add_Home' type='u8' description='Add for Home Count' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Byte2' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='V_Tens' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Ack' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Address' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Byte1' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Byte0' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</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='H1_Down' type='u8' description='Subtrack count' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ScopeGroupHandle' type='h32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='String1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='READC4' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Seg' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RCV' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TX_Byte' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Add_Visitor' type='u8' description='Visitor Add' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Runtime' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Tens' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='New_VM' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MOQ' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;25&quot;' setinit='&quot;25&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='First_Run' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='V1_Down' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='V_count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='number' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='New_HM' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Dummy_read' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='H2_Down' type='u8' description='Reset Count' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TMRO_Tick' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Count1' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='New_Data' type='b1' description='Detect incoming signal' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='seconds' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='H0_Down' type='u8' description='Add to count' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_Ready_status' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Min_Count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Ox5A' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Max_Count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='VM' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Update' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IntAddress' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Switch_Pressed' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Byte9' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='HM' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Byte8' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Time' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='V2_Down' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RX_Byte' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Byte7' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Initialize_nRF905' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='This can be the same for both nRF905 devices, other than the device addresses
' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='CS High' textarea='12,0,12,0' />
						<command class_type='output' title='Output_CS' mode='1' port='1048576' mask='32' exp='1' />
						<command class_type='comment' title='' comment='PWR_UP high
Set correct pin' textarea='12,0,12,0' />
						<command class_type='output' title='Output_PWR_UP' mode='1' port='1048576' mask='64' exp='1' />
						<command class_type='comment' title='' comment='TX_EN low = receive mode

Set to correct pin' textarea='12,0,12,0' />
						<command class_type='output' title='Output_TX_EN' mode='1' port='1048578' mask='4' exp='0' />
						<command class_type='comment' title='' comment='TRX_CE low


Set to correct pin' textarea='12,0,12,0' />
						<command class_type='output' title='Output_CE' mode='1' port='1048576' mask='128' exp='0' />
						<command class_type='comment' title='' comment='CS' textarea='12,0,12,0' />
						<command class_type='output' title='Output_CS' mode='1' port='1048576' mask='32' exp='0' />
						<command class_type='delay' title='Delay' exp='10' type='0' />
						<command class_type='comment' title='' comment='Write to config register starting at byte 0
see p 24 for byte sequence' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x00' />
						</command>
						<command class_type='delay' title='Delay' exp='10' type='0' />
						<command class_type='comment' title='' comment='Channel # 107 (433.1 MHz)' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x6B' />
						</command>
						<command class_type='comment' title='' comment='Sets AUTO_RETRAN, RX_RED_PWR, PA_PWR, HFREQ_PLL, and bit 9 of channel#' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0xC' />
						</command>
						<command class_type='comment' title='' comment='Set TX and RX address widths to 4 bytes' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x44' />
						</command>
						<command class_type='comment' title='' comment='Set RX payload width to 4 bytes 
(set size as required)' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x04' />
						</command>
						<command class_type='comment' title='' comment='Set TX payload width to 4 bytes 
(set size as required)' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x04' />
						</command>
						<command class_type='comment' title='' comment='Choose a unique address for each device' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='Set RX address byte 0' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x7E' />
						</command>
						<command class_type='comment' title='' comment='Set RX address byte 1' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x2C' />
						</command>
						<command class_type='comment' title='' comment='Set RX address byte 2' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x26' />
						</command>
						<command class_type='comment' title='' comment='Set RX address byte 3' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0xB9' />
						</command>
						<command class_type='comment' title='' comment='Set the CRC_MODE(bit 7), CRC_EN(bit 6), XOF[bits 5-3 set according to freq of external resonator], UP_CLK_EN(bit 2), UP_CLK_FREQ[bits 1-0]
 In this configuration, we are doing CRC enable for 8 CRC check bit, 16MHz crystal freq,
and output clock disable' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='0x24 = CRC disabled
0x58 = CRC enabled' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x58' />
						</command>
						<command class_type='comment' title='' comment='CS' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Home_Count' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='Tens' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline />
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 0' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='Mosquito 25' textarea='12,0,12,0' />
											<command class_type='decision' title='Decision' exp='count = 5' swap='0' >
												<flowline >
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 25&quot;' />
													</command>
													<command class_type='decision' title='Decision' exp='Alarm_Count = 1' swap='0' >
														<flowline />
														<flowline >
															<command class_type='calculation' title='Calculation' >
																<exp exp='Alarm = 1' />
															</command>
															<command class_type='call' title='Call Component Macro' macro='Alarm' />
														</flowline>
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='comment' title='' comment='Pee Wee 30' textarea='12,0,12,0' />
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='count = 0' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 30&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='comment' title='' comment='Mosquito 40    Pee Wee 45' textarea='112,0,112,0' />
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 0' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='count = 0' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='Mosquito 40' textarea='12,0,12,0' />
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048578' mask='4' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 40&quot;' />
													</command>
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm = 1' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='count = 5' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='comment' title='' comment='Pee Wee 45' textarea='12,0,12,0' />
															<command class_type='output' title='Output' mode='1' port='1048578' mask='4' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 45&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 0' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='Mosquito 55' textarea='12,0,12,0' />
											<command class_type='decision' title='Decision' exp='count = 5' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048578' mask='4' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 55&quot;' />
													</command>
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm = 1' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 0' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='Mosquito 65' textarea='12,0,12,0' />
											<command class_type='decision' title='Decision' exp='count = 5' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048578' mask='4' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 65&quot;' />
													</command>
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm = 1' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 1' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='Pee Wee 60' textarea='12,0,12,0' />
											<command class_type='decision' title='Decision' exp='count = 0' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048578' mask='4' exp='1' />
														</flowline>
													</command>
													<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 60&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 0' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='Mosquito 75' textarea='12,0,12,0' />
											<command class_type='decision' title='Decision' exp='count = 5' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048578' mask='4' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher done 75&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 1' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='Pee Wee 75' textarea='12,0,12,0' />
											<command class_type='decision' title='Decision' exp='count = 5' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048578' mask='4' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 75&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 1' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='Pee Wee 85' textarea='12,0,12,0' />
											<command class_type='decision' title='Decision' exp='count = 5' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048578' mask='4' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher done 85&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Mos_Pitches' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;Pitches &quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='5' type='2' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;25&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='5' type='2' />
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='ClearLine' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;Pitches &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;40&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='5' type='2' />
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='ClearLine' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;Pitches &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;55&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='5' type='2' />
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='ClearLine' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;Pitches &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;65&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='5' type='2' />
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='ClearLine' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;MAX &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;75&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='5' type='2' />
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='ClearLine' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;25.40.55.65.75&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='10' type='2' />
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='ClearLine' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='9' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;READY&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='tmr_service' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Loop' type='0' exp='Time &lt; 30' >
							<flowline >
								<command class_type='decision' title='Decision' exp='Time &lt; 100' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Time = Time + 1' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='Time = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='RF_TX_DATA' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Clear' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;  Transmitting&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='2' type='2' />
						<command class_type='comment' title='' comment='TX_EN high

Set to correct pin' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='4' exp='1' />
						<command class_type='comment' title='' comment='CS' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='0' />
						<command class_type='comment' title='' comment='write TX_Address' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x22' />
						</command>
						<command class_type='comment' title='' comment='Load address of receiving device(4 bytes)' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x8D' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x6C' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0xA3' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x4B' />
						</command>
						<command class_type='comment' title='' comment='CS' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='1' />
						<command class_type='delay' title='Delay' exp='2' type='1' />
						<command class_type='comment' title='' comment='write TX_Payload' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='CS' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='0' />
						<command class_type='comment' title='' comment='IF Team = 0
TX_Byte = Count &amp; 0x7F (clears bit 7)   0111 1111

Else IF Team = 1
TX_Byte = Count | 0x80 (sets bit 7)  1000 0000
' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='Write Payload instruction' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x20' />
						</command>
						<command class_type='comment' title='' comment='This will be the value of HM or VM' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='TX_Byte' />
						</command>
						<command class_type='comment' title='' comment='CS' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='1' />
						<command class_type='delay' title='Delay' exp='1' type='1' />
						<command class_type='comment' title='' comment='TRX_CE pulse high to transmit (min = 10us)

' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='128' exp='1' />
						<command class_type='delay' title='Delay' exp='1' type='1' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='128' exp='0' />
						<command class_type='delay' title='Delay' exp='10' type='1' />
						<command class_type='loop' title='Loop' type='1' exp='Data_Ready = 1' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='Set to correct input pin that is is connected to DR pin of nRF905' textarea='12,0,12,0' />
								<command class_type='input' title='Input' mode='1' port='1048576' mask='16' exp='Data_Ready' />
								<command class_type='comment' title='' comment='DISABLE DATA = 1 before loading' textarea='500,5,500,5' />
								<command class_type='calculation' title='Calculation' disable='1' >
									<exp exp='Data_Ready = 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' macro='Check_Status' />
						<command class_type='comment' title='' comment='TX_EN low

this will also reset DR to 0

Set to correct pin' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='4' exp='0' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Clear' />
						<command class_type='call' title='Call Component Macro' textarea='86,54,86,54' component='lcd_eb0051' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;TX completed&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='1' />
						<command class_type='call' title='Call Macro' macro='LCD_Display' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Check_Status' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='CS' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='0' />
						<command class_type='delay' title='Delay' exp='10' type='0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Status' />
						</command>
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='1' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Data_Ready_status = Status AND 0x20' />
							<exp exp='Data_Ready_status = Data_Ready_status &gt;&gt; 5' />
							<exp exp='New_Data = Data_Ready_status' />
							<exp exp='' />
							<exp exp='Address = Status &gt;&gt; 7' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Visitor_Count' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='146,110,146,110' exp='V_Tens' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline />
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='comment' title='' comment='Mosquito 25' textarea='12,0,12,0' />
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 0' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='V_count = 5' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='1' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 25&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='comment' title='' comment='Pee Wee - 30' textarea='12,0,12,0' />
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='V_count = 0' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 30&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='comment' title='' comment='Mosquito 40    Pee Wee 45' textarea='112,0,112,0' />
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 0' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='V_count = 0' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='Mosquito 40' textarea='12,0,12,0' />
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 40&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='V_count = 5' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='Pee Wee 45' textarea='12,0,12,0' />
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 45&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='comment' title='' comment='Mosquito 55' textarea='12,0,12,0' />
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 0' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='V_count = 5' swap='0' >
												<flowline >
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 55&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 0' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='V_count = 5' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='Mosquito 65' textarea='12,0,12,0' />
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 65&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='V_count = 0' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='Pee Wee 60' textarea='12,0,12,0' />
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 60&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 0' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='V_count = 5' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='Mosquito 75' textarea='115,25,115,25' />
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher done 75&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='V_count = 5' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='Pee Wee 75' textarea='115,25,115,25' />
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher at 75&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='decision' title='Decision' exp='Switch_Pressed = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' exp='V_count = 5' swap='0' >
												<flowline >
													<command class_type='comment' title='' comment='Pee Wee 85' textarea='12,0,12,0' />
													<command class_type='loop' title='Loop' type='2' exp='1' >
														<flowline >
															<command class_type='output' title='Output' mode='1' port='1048576' mask='64' exp='1' />
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
														<argument exp='&quot;Pitcher done 85&quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' macro='Alarm' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Read_Config' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='TRX_CE low

' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='128' exp='0' />
						<command class_type='comment' title='' comment='CS' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='0' />
						<command class_type='comment' title='' comment='Read config from nRF905' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='Read config instruction- starting at byte 0


' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x10' />
						</command>
						<command class_type='comment' title='' comment='clock out the data' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Byte0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Byte1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Byte2' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Byte3' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Byte4' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Byte5' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Byte6' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Byte7' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Byte8' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Byte9' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Dummy_read' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Dummy_read' />
						</command>
						<command class_type='comment' title='' comment='CS' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='32' exp='1' />
						<command class_type='comment' title='' comment='TRX_CE Hi to re-enable RX

Set to correct pin' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='128' exp='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='LCD_Display' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;Home=&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='10' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='5' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
							<argument exp='HM' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='8' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;Guest=&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
							<argument exp='VM' />
						</command>
						<command class_type='delay' title='Delay' exp='20' type='1' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;Ready for Pitch&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main_nRF' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment=' Here set unused pins as output low' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='Use internal osc at 8 MHz with 4xPLL = 32 MHz' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='JL - Added A2 from QUAD to clear the PIN allocation error' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Clear' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;Sending to Teams&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='2' type='2' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Count1 = 0' />
							<exp exp='' />
						</command>
						<command class_type='call' title='Call Macro' macro='RF_TX_DATA' />
					</flowline>
				</macro>
				<macro >
					<flowline name='START' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Max_Count = 0' />
							<exp exp='Min_Count = 1' />
							<exp exp='count = 0' />
							<exp exp='Tens = 0' />
							<exp exp='V_count = 0' />
							<exp exp='V_Tens = 0' />
							<exp exp='' />
							<exp exp='Alarm = 0' />
							<exp exp='Alarm_Count = 0' />
							<exp exp='Diagnostics = 0' />
							<exp exp='' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Visitor_Switches' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Delay' exp='50' type='1' />
						<command class_type='input' title='Input' mode='1' port='1048578' mask='64' exp='V0_Down' />
						<command class_type='comment' title='' comment='A2 = ADD' textarea='12,0,12,0' />
						<command class_type='input' title='Input' mode='1' port='1048578' mask='128' exp='V1_Down' />
						<command class_type='comment' title='' comment='A3 = Subtract' textarea='12,0,12,0' />
						<command class_type='input' title='Input' mode='1' port='1048579' mask='128' exp='V2_Down' />
						<command class_type='comment' title='' comment='A4 = Reset' textarea='12,0,12,0' />
						<command class_type='decision' title='Decision' exp='V0_Down' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='Visitor = ADD' textarea='12,0,12,0' />
								<command class_type='calculation' title='Calculation' >
									<exp exp='V_count = V_count + 1' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='VM = VM + 1' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' component='lcd_eb0051' macro='ClearLine' >
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='8' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
									<argument exp='&quot;Guest=&quot;' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='RCV = VM' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='14' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
									<argument exp='VM' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='TX_Byte = VM &amp; 0x7F' />
								</command>
								<command class_type='delay' title='Delay' exp='2' type='2' />
								<command class_type='call' title='Call Component Macro' disable='1' component='lcd_eb0051' macro='Cursor' >
									<argument exp='9' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' component='lcd_eb0051' macro='PrintNumber' >
									<argument exp='TX_Byte' />
								</command>
								<command class_type='call' title='Call Macro' macro='Main_nRF' />
								<command class_type='delay' title='Delay' exp='2' type='2' />
								<command class_type='decision' title='Decision' exp='V_count = 10' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='' />
											<exp exp='V_count = 0' />
											<exp exp='Add_Visitor = Add_Visitor + 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='Add_Visitor' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='V_Tens = 1' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='V_Tens = 2' />
												<exp exp='' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' textarea='49,16,49,16' >
												<exp exp='V_Tens = 3' />
												<exp exp='' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='V_Tens = 4' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='V_Tens = 5' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='V_Tens = 6' />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='V_Tens = 7' />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='V_Tens = 8' />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='V_Tens = 9' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' exp='V1_Down' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='A3 = Subtract' textarea='12,0,12,0' />
								<command class_type='calculation' title='Calculation' >
									<exp exp='V_count = V_count - 1' />
								</command>
								<command class_type='decision' title='Decision' exp='V_count &gt; 9' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='V_Tens = 0' />
											<exp exp='V_count = 9' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='V_count &gt; 19' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='V_Tens = 0' />
											<exp exp='V_count = 19' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='VM = VM - 1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='8' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
									<argument exp='&quot;Guest=&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
									<argument exp='VM' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='TX_Byte = V_count &amp; 0x7F' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='9' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
									<argument exp='TX_Byte' />
								</command>
								<command class_type='call' title='Call Macro' macro='Main_nRF' />
								<command class_type='delay' title='Delay' exp='2' type='2' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' exp='V2_Down' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='A4 = Reset' textarea='12,0,12,0' />
								<command class_type='calculation' title='Calculation' >
									<exp exp='V_count = 0' />
									<exp exp='V_Tens = 0' />
									<exp exp='VM = 0' />
									<exp exp='Add_Visitor = 0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
									<argument exp='&quot;RESET Guest&quot;' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='TX_Byte = 99' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='9' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
									<argument exp='TX_Byte' />
								</command>
								<command class_type='call' title='Call Macro' macro='Main_nRF' />
								<command class_type='delay' title='Delay' exp='2' type='2' />
							</flowline>
							<flowline />
						</command>
						<command class_type='delay' title='Delay' exp='150' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='To Simulate - MACRO &quot;RF_TX_Date has a Constant to be activated and then Deactivated to load PIC' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='C Code' textarea='36,0,511,300' ccode='osccon=0xf0;
//iocbp=0Xff;' language='C' />
						<command class_type='comment' title='' comment='Made possible with the help of Grant and John' textarea='199,167,199,167' />
						<command class_type='calculation' title='Initialise count values' textarea='436,67,436,188' >
							<exp exp='Button = 0' />
							<exp exp='Time = 0' />
							<exp exp='TMRO_Tick = 0' />
							<exp exp='seconds = 0' />
							<exp exp='First_Run = 0' />
							<exp exp='Runtime = 0' />
							<exp exp='Add_Home = 0' />
							<exp exp='Count = 0' />
							<exp exp='Count1 = 0' />
							<exp exp='Switch_Pressed = 0' />
							<exp exp='H0_Down = 0' />
							<exp exp='H1_Down = 0' />
							<exp exp='H2_Down = 0' />
							<exp exp='V0_Down = 0' />
							<exp exp='V1_Down = 0' />
							<exp exp='V2_Down = 0' />
							<exp exp='VM = 0' />
							<exp exp='HM = 0' />
							<exp exp='Seg = 0' />
							<exp exp='RCV = 0' />
							<exp exp='' />
						</command>
						<command class_type='call' title='Call Macro' macro='START' />
						<command class_type='interrupt' title='Enable Tmr0 Interrupts' textarea='36,0,511,300' enable='1' name='TMR0' call='timer_int' >
							<settings timer='1' prescale='64' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='------8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAA' masklo='------8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAA' >
								<option value='1' />
								<option value='0' />
								<option value='6' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='Initialise' />
						<command class_type='delay' title='Delay' exp='10' type='1' />
						<command class_type='call' title='Call Macro' macro='Initialize_nRF905' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Start' />
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;Ver 17 July 25_2017 JL REV&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='3' type='2' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' component='PWM1' macro='Enable' />
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;July 25 2017&quot;' />
						</command>
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='1' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;Piezo Add 3&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='3' type='2' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Clear' />
						<command class_type='output' title='Output_CS' mode='1' port='1048576' mask='32' exp='1' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;MOSQUITO&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='2' />
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='ClearLine' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;25.40.55.65.75&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='2' type='2' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='9' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;READY&quot;' />
						</command>
						<command class_type='call' title='Call Macro' macro='Read_Config' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Clear' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='decision' title='Decision' exp='Diagnostics = 1' swap='0' >
							<flowline >
								<command class_type='delay' title='Delay' exp='10' type='2' />
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='TX_Byte = 199' />
						</command>
						<command class_type='comment' title='' comment='Was 28 ---- Test' textarea='12,0,12,0' />
						<command class_type='call' title='Call Macro' macro='RF_TX_DATA' />
						<command class_type='delay' title='Delay' exp='2' type='2' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='TX_Byte = 0' />
						</command>
						<command class_type='call' title='Call Macro' macro='RF_TX_DATA' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='comment' title='' comment='Home team Route to reset the Alarm Signal for Pitch count' textarea='12,0,12,0' />
								<command class_type='call' title='Call Macro' macro='Home_Switches' />
								<command class_type='decision' title='Decision' exp='HM &gt; 9' swap='0' >
									<flowline >
										<command class_type='switch' title='Switch' textarea='36,150,36,150' exp='HM' >
											<case >
												<flowline />
											</case>
											<case exp='26' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='41' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='46' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='56' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='61' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='66' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='76' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
										</command>
										<command class_type='call' title='Call Macro' macro='Home_Count' />
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Visiting team Route to reset the Alarm Signal for Pitch count' textarea='12,0,12,0' />
								<command class_type='call' title='Call Macro' macro='Visitor_Switches' />
								<command class_type='decision' title='Decision' exp='VM &gt; 9' swap='0' >
									<flowline >
										<command class_type='switch' title='Switch' textarea='131,150,131,150' exp='VM' >
											<case >
												<flowline />
											</case>
											<case exp='26' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='41' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='46' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='56' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='61' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='66' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
											<case exp='76' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='Alarm_Count = 0' />
													</command>
												</flowline>
											</case>
										</command>
										<command class_type='call' title='Call Macro' macro='Visitor_Count' />
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Delay' exp='10' type='1' />
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' macro='LCD_Display' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Alarm' description='Set B7 on / off to sound a buzzer
July 22 2017 - Adding PIEZO -- PT-1540 PQ' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' exp='Alarm = 1' swap='0' >
							<flowline >
								<command class_type='loop' title='Loop' type='2' exp='5' >
									<flowline >
										<command class_type='output' title='Output' mode='1' port='1048577' mask='128' exp='1' />
										<command class_type='delay' title='Delay' exp='1' type='2' />
										<command class_type='output' title='Output' mode='1' port='1048577' mask='128' exp='0' />
										<command class_type='delay' title='Delay' exp='1' type='2' />
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='Alarm_Count = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='timer_int' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' >
							<exp exp='TMRO_Tick = TMRO_Tick + 1' />
							<exp exp='' />
						</command>
						<command class_type='decision' title='Decision' textarea='36,0,511,300' exp='TMRO_Tick &gt;= 300' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' textarea='36,0,511,300' >
									<exp exp='TMRO_Tick = 0' />
									<exp exp='Seconds = Seconds + 1' />
									<exp exp='Update = 1' />
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' exp='(First_Run = 1) &amp;&amp; (Seconds &lt; 5)' swap='0' >
									<flowline />
									<flowline >
										<command class_type='calculation' title='Calculation' textarea='36,0,511,300' >
											<exp exp='First_Run = 0' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' exp='Runtime &lt; 32766' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' textarea='36,0,511,300' >
											<exp exp='Runtime = Runtime + 1' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='Seg = Seg + 1' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='Seg' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='decision' title='Decision' exp='Tens &gt; 0' swap='0' >
										<flowline >
											<command class_type='call' title='Call Component Macro' component='led_7seg_quad1' macro='ShowDigit' >
												<argument exp='0' />
												<argument exp='Tens' />
												<argument exp='0' />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Call Component Macro' component='led_7seg_quad1' macro='ShowDigit' >
										<argument exp='1' />
										<argument exp='count' />
										<argument exp='0' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='decision' title='Decision' exp='V_Tens &gt; 0' swap='0' >
										<flowline >
											<command class_type='call' title='Call Component Macro' component='led_7seg_quad1' macro='ShowDigit' >
												<argument exp='2' />
												<argument exp='V_Tens' />
												<argument exp='0' />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='call' title='Call Component Macro' component='led_7seg_quad1' macro='ShowDigit' >
										<argument exp='3' />
										<argument exp='V_count' />
										<argument exp='0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='Seg = 0' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Home_Switches' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Delay' exp='50' type='1' />
						<command class_type='output' title='Output' mode='1' port='1048577' mask='128' exp='0' />
						<command class_type='input' title='Input' mode='1' port='1048578' mask='1' exp='H0_Down' />
						<command class_type='comment' title='' comment='A2 = ADD' textarea='12,0,12,0' />
						<command class_type='input' title='Input' mode='1' port='1048578' mask='2' exp='H1_Down' />
						<command class_type='comment' title='' comment='A3 = Subtract' textarea='12,0,12,0' />
						<command class_type='input' title='Input' mode='1' port='1048579' mask='64' exp='H2_Down' />
						<command class_type='comment' title='' comment='A4 = Reset' textarea='12,0,12,0' />
						<command class_type='decision' title='Decision' exp='H0_Down' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment=' Add 1 to the Home count' textarea='12,0,12,0' />
								<command class_type='calculation' title='Calculation' >
									<exp exp='count = count + 1' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='HM = HM + 1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
									<argument exp='&quot;Home=&quot;' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='RCV = HM' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='10' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='5' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
									<argument exp='HM' />
								</command>
								<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' />
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='comment' title='' comment='Home = ADD' textarea='12,0,12,0' />
								<command class_type='decision' title='Decision' exp='Count = 10' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Tens = 1' />
											<exp exp='count = 0' />
											<exp exp='Add_Home = Add_Home + 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='Add_Home' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='Tens = 1' />
												<exp exp='Max_Count = 10' />
												<exp exp='' />
												<exp exp='' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='Tens = 2' />
												<exp exp='' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' textarea='49,16,49,16' >
												<exp exp='Tens = 3' />
												<exp exp='' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='Tens = 4' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='Tens = 5' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='Tens = 6' />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='Tens = 7' />
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='Tens = 8' />
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='Tens = 9' />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='HM' >
									<case >
										<flowline />
									</case>
									<case exp='26' >
										<flowline >
											<command class_type='calculation' title='Calculation' >
												<exp exp='Alarm_Count = 0' />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='TX_Byte = HM | 0x80' />
								</command>
								<command class_type='comment' title='' comment='TX_Byte = Count | 0x80' textarea='12,0,12,0' />
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='9' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
									<argument exp='TX_Byte' />
								</command>
								<command class_type='call' title='Call Macro' macro='Main_nRF' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' exp='H1_Down' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='A3 = Subtract 1 from the Home count' textarea='12,0,12,0' />
								<command class_type='calculation' title='Calculation' >
									<exp exp='count = count - 1' />
								</command>
								<command class_type='decision' title='Decision' exp='count &gt; 9' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Tens = 0' />
											<exp exp='count = 9' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='count &gt; 19' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Tens = 0' />
											<exp exp='count = 19' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='HM = HM - 1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
									<argument exp='&quot;Home=&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='5' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
									<argument exp='HM' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='TX_Byte = Count | 0x80' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='9' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
									<argument exp='TX_Byte' />
								</command>
								<command class_type='call' title='Call Macro' macro='Main_nRF' />
								<command class_type='delay' title='Delay' exp='2' type='2' />
								<command class_type='comment' title='' comment='Added' textarea='12,0,12,0' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' exp='H2_Down' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='A4 = Reset the Home Count' textarea='12,0,12,0' />
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='ClearLine' >
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
									<argument exp='&quot;RESET Home&quot;' />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='calculation' title='Calculation' >
									<exp exp='count = 0' />
									<exp exp='Tens = 0' />
									<exp exp='HM = 0' />
									<exp exp='Add_Home = 0' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='TX_Byte = 199' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
									<argument exp='9' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
									<argument exp='TX_Byte' />
								</command>
								<command class_type='call' title='Call Macro' macro='Main_nRF' />
								<command class_type='delay' title='Delay' exp='1' type='1' />
								<command class_type='comment' title='' comment='Added' textarea='12,0,12,0' />
							</flowline>
							<flowline />
						</command>
						<command class_type='delay' title='Delay' exp='150' type='1' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='sw_push_rnd_pnl1' x='-106.99' y='41.0468' z='20.5323' xsz='2.12766' ysz='2.12766' zsz='2.46407' 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='$PORTC.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='30' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label4' x='24.2297' y='3.72198' z='4.91896' xsz='22.7041' ysz='24' zsz='0.477421' 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='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Reset' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label7' x='-101.568' y='2.97071' z='4.5688' xsz='22.7041' ysz='24' zsz='0.477421' 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='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Add' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='sw_push_rnd_pnl2' x='-43.1657' y='42.0706' z='21.0097' xsz='2.12766' ysz='2.12766' zsz='2.46407' 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='$PORTC.1' />
					<value target='polarity' data='000' />
					<value target='debounce' data='30' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='sw_push_rnd_pnl3' x='18.3995' y='42.0706' z='21.0097' xsz='2.12766' ysz='2.12766' zsz='2.46407' 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='$PORTD.6' />
					<value target='polarity' data='000' />
					<value target='debounce' data='30' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d29dda88-17de-4008-991a-c881890d4c57' vmin='1' vmaj='1' codename='lcd_eb0051' x='8' y='220.381' z='187.56' xsz='5.07802' ysz='5.29823' zsz='11.1757' 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='$PORTD.0' />
					<value target='Pin_Data_1' data='$PORTD.1' />
					<value target='Pin_Data_2' data='$PORTD.2' />
					<value target='Pin_Data_3' data='$PORTD.3' />
					<value target='Pin_RS' data='$PORTD.4' />
					<value target='Pin_E' data='$PORTD.5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label3' x='-38.0259' y='3.99482' z='5.04619' xsz='22.7041' ysz='24' zsz='0.477421' 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='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Minus' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='sw_push_rnd_pnl4' x='-101.908' y='-35.7406' z='-15.2743' xsz='2.12766' ysz='2.12766' zsz='2.46407' 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='$PORTC.6' />
					<value target='polarity' data='000' />
					<value target='debounce' data='30' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='sw_push_rnd_pnl5' x='-36.9545' y='-36.7644' z='-15.7517' xsz='2.12766' ysz='2.12766' zsz='2.46407' 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='$PORTC.7' />
					<value target='polarity' data='000' />
					<value target='debounce' data='30' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='sw_push_rnd_pnl6' x='24.6107' y='-34.7168' z='-14.7969' xsz='2.12766' ysz='2.12766' zsz='2.46407' 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='$PORTD.7' />
					<value target='polarity' data='000' />
					<value target='debounce' data='30' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label5' x='-36.4002' y='74.9061' z='38.1129' xsz='22.7041' ysz='24' zsz='0.477421' 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='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='HOME' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label6' x='-32.5596' y='-67.8044' z='-28.4343' xsz='22.7041' ysz='24' zsz='0.477421' 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='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='GUEST' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label8' x='-83.8894' y='-89.8492' z='-38.7139' xsz='22.7041' ysz='24' zsz='0.477421' 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='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='HOME' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label9' x='96.6179' y='-87.5286' z='-37.6319' xsz='22.7041' ysz='24' zsz='0.477421' 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='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='GUEST' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f4400e36-dd95-4472-86da-4bba68d68d5d' vmin='2' vmaj='1' codename='led_7seg_quad1' x='1.28019' y='-145.611' z='-67.8997' xsz='319.241' ysz='89.7752' zsz='41.2531' 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='Display_Type' data='001' />
					<value target='ShowSegLabels' data='0' />
					<value target='Common_Pin0' data='$PORTA.0' />
					<value target='Common_Pin1' data='$PORTA.1' />
					<value target='Common_Pin2' data='$PORTA.2' />
					<value target='Common_Pin3' data='$PORTA.3' />
					<value target='Pin0' data='$PORTB.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='FGColor' data='255' />
					<value target='BGColor' data='1973790' />
					<value target='LabelColor' data='16777215' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='2ed54982-ef92-4509-a67c-7b3a72f91279' vmin='0' vmaj='1' codename='InjectorHumanInterface1' x='-317.175' y='-48.1451' z='-22.4505' xsz='144.839' ysz='139.19' zsz='75.5795' 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='CircularBufferSize' data='1000' />
					<value target='DataMode' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='96862c4d-debc-45fa-9433-74711a4b9a3b' vmin='3' vmaj='1' codename='SPI_Master2' x='-211.753' y='-356.109' z='-142.736' xsz='240' ysz='100' zsz='1.51' 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' data='001' />
					<value target='PR_SCALE' data='016' />
					<value target='CKP' data='000' />
					<value target='CKE' data='001' />
					<value target='SMP' data='000' />
					<value target='MOSI' data='$PORTC.5' />
					<value target='MISO' data='$PORTC.4' />
					<value target='CLK' data='$PORTC.3' />
					<value target='MosiRemap' data='' />
					<value target='MisoRemap' data='' />
					<value target='ClkRemap' data='' />
					<value target='label' data='SPI  Master' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='353' />
				</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='231.064' y='8.51808' z='8.90032' 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='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.7' />
					<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='0.716495' y='-252.421' z='-117.706' xsz='30.6227' ysz='24' zsz='-7.87291' 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='Sept 18,2016 - Changed TX Complete timimg from 1sec to 1ms' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='6' vmaj='1' codename='PWM1' x='217.39' y='-320.987' z='-98.2078' xsz='7.66977' ysz='7.66977' zsz='7.66977' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='003' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTE.0' />
					<value target='RemapPin' data='' />
					<value target='timer' data='2' />
					<value target='period' data='124' />
					<value target='prescale' data='004' />
					<value target='period_calc' data='249.999985' />
					<value target='frequency_calc' data='4.000000' />
					<value target='pwm_prescale' data='16' />
					<value target='SimRep' data='001' />
				</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='320.939' y='19.4916' z='31.8572' xsz='8.4811' ysz='10.8096' 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='$PORTE.0' />
					<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>
	</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='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='13816530' img='' style='0' />
		<table rgb='16744448' img='' style='0' size='28' />
		<camera xe='0' ye='0' ze='1133' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='50' scrollx='0' scrolly='465' flags='0' />
		<view type='0' name='Alarm' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RF_TX_DATA' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='1890' flags='0' />
		<view type='0' name='timer_int' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Read_Config' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Initialize_nRF905' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='START' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Visitor_Switches' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='50' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Visitor_Count' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='25' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main_nRF' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Home_Switches' mode='0' placement='LAAAAAAAAAABAAAA----------8AAAAAFAAAAAAAAAAUAAAAbwYAAHIDAAA' zoom='50' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='LCD_Display' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Check_Status' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Home_Count' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='50' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Mos_Pitches' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='tmr_service' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAbwYAAHIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
