<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='RCV' />
		<watch expr='Seg' />
		<watch expr='INTRO' />
		<watch expr='RX_Byte' />
		<watch expr='New_Data' />
	</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='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</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='Byte4' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</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='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='V10' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Carrier' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='H_UNIT' type='u8' description='Add to count' 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='Data' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Home' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='s16' 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='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='X' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='INTRO' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TMRO_Tick' type='s16' 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='H10' type='u8' description='Subtrack count' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='H_Tens' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='V_UNIT' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='Team' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Loop' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='RcvVal' 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' 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' 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' 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' 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='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 adress 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='0x8D' />
						</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='0x6C' />
						</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='0xA3' />
						</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='0x4B' />
						</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='RF_RX_Data' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='TRX_CE low

Set to correct pin' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='128' exp='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='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;New Pitch Data&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='2' type='2' />
						<command class_type='comment' title='' comment='Read RX Data' 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='delay' title='Delay' exp='10' type='0' />
						<command class_type='comment' title='' comment='Read data from nRF905' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='Read RX payload instruction' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='SendChar' >
							<argument exp='0x24' />
						</command>
						<command class_type='delay' title='Delay' exp='10' type='0' />
						<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='RX_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='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' />
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;RX_BYTE=&quot;' />
						</command>
						<command class_type='call' title='Call Macro' component='lcd_eb0051' macro='PrintNumber' >
							<argument exp='RX_Byte' />
						</command>
						<command class_type='decision' title='Decision' exp='RX_Byte = 199' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='H_Tens = 0' />
									<exp exp='HM = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Macro' macro='New_Count' />
					</flowline>
				</macro>
				<macro >
					<flowline name='New_Count' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' disable='1' >
							<exp exp='RX_Byte = 153' />
						</command>
						<command class_type='decision' title='Decision' exp='RX_Byte = 199' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='H_Tens = 0' />
									<exp exp='HM = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='Team = RX_Byte &gt;&gt; 7' />
						</command>
						<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;RX_Byte=&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
							<argument exp='RX_Byte' />
						</command>
						<command class_type='delay' title='Delay' exp='2' type='1' />
						<command class_type='decision' title='Decision' exp='Team = 0' swap='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='HM = RX_Byte &amp; 0x7F' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='RCV = HM' />
								</command>
								<command class_type='call' title='Call Component Macro' macro='Home_Switches' />
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='VM = RX_Byte &amp; 0x7F' textarea='12,0,12,0' />
								<command class_type='calculation' title='Calculation' >
									<exp exp='VM = RX_Byte &amp; 0x7F' />
								</command>
								<command class_type='call' title='Call Component Macro' macro='Visitor_Switches' />
							</flowline>
						</command>
						<command class_type='comment' title='' comment='Add code here to update displays' textarea='12,0,12,0' />
					</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='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='1' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='GetChar' >
							<return exp='Status' />
						</command>
						<command class_type='delay' title='Delay' exp='10' type='1' />
						<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 AND 0x20' />
							<exp exp='Data_Ready = Data_Ready &gt;&gt; 5' />
							<exp exp='New_Data = Data_Ready' />
							<exp exp='' />
							<exp exp='Address = Status &gt;&gt; 7' />
						</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='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='H_Tens = 0' />
							<exp exp='V_count = 0' />
							<exp exp='V_Tens = 0' />
							<exp exp='RcvVal = 0' />
							<exp exp='Alarm = 0' />
							<exp exp='Alarm_Count = 0' />
							<exp exp='INTRO = 0' />
							<exp exp='Loop = 0' />
							<exp exp='Home = 0' />
							<exp exp='X = 0' />
							<exp exp='V_UNIT = 0' />
							<exp exp='V10 = 0' />
							<exp exp='H_UNIT = 0' />
							<exp exp='H_Tens = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Clear' />
						<command class_type='call' title='Call 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;MOSQUITO&quot;' />
						</command>
						<command class_type='output' title='Output' mode='1' port='1048579' mask='64' exp='0' />
						<command class_type='delay' title='Delay' exp='10' type='1' />
						<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>
					</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='5' type='1' />
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='RX_Byte' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='10' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='10' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 1' />
										<exp exp='V_UNIT = 0' />
										<exp exp='VM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='11' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 1' />
										<exp exp='V_UNIT = 1' />
										<exp exp='VM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='12' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 1' />
										<exp exp='V_UNIT = 2' />
										<exp exp='VM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='13' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 1' />
										<exp exp='V_UNIT = 3' />
										<exp exp='VM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='14' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 1' />
										<exp exp='V_UNIT = 4' />
										<exp exp='VM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='15' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 1' />
										<exp exp='V_UNIT = 5' />
										<exp exp='VM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='16' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 1' />
										<exp exp='V_UNIT = 6' />
										<exp exp='VM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='17' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 1' />
										<exp exp='V_UNIT = 7' />
										<exp exp='VM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='18' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 1' />
										<exp exp='V_UNIT = 8' />
										<exp exp='VM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='19' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 1' />
										<exp exp='V_UNIT = 9' />
										<exp exp='VM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='RX_Byte' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='20' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='20' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 2' />
										<exp exp='V_UNIT = 0' />
										<exp exp='VM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='21' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 2' />
										<exp exp='V_UNIT = 1' />
										<exp exp='VM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='22' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 2' />
										<exp exp='V_UNIT = 2' />
										<exp exp='VM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='23' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 2' />
										<exp exp='V_UNIT = 3' />
										<exp exp='VM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='24' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 2' />
										<exp exp='V_UNIT = 4' />
										<exp exp='VM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='25' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 2' />
										<exp exp='V_UNIT = 5' />
										<exp exp='VM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='26' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 2' />
										<exp exp='V_UNIT = 6' />
										<exp exp='VM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='27' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 2' />
										<exp exp='V_UNIT = 7' />
										<exp exp='VM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='28' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 2' />
										<exp exp='V_UNIT = 8' />
										<exp exp='VM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='29' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 2' />
										<exp exp='V_UNIT = 9' />
										<exp exp='VM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='RX_Byte' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='30' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='30' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 3' />
										<exp exp='V_UNIT = 0' />
										<exp exp='VM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='31' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 3' />
										<exp exp='V_UNIT = 1' />
										<exp exp='VM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='32' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 3' />
										<exp exp='V_UNIT = 2' />
										<exp exp='VM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='33' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 3' />
										<exp exp='V_UNIT = 3' />
										<exp exp='VM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='34' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 3' />
										<exp exp='V_UNIT = 4' />
										<exp exp='VM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='35' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 3' />
										<exp exp='V_UNIT = 5' />
										<exp exp='VM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='36' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 3' />
										<exp exp='V_UNIT = 6' />
										<exp exp='VM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='37' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 3' />
										<exp exp='V_UNIT = 7' />
										<exp exp='VM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='38' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 3' />
										<exp exp='V_UNIT = 8' />
										<exp exp='VM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='39' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 3' />
										<exp exp='V_UNIT = 9' />
										<exp exp='VM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='RX_Byte' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='40' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='40' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 4' />
										<exp exp='V_UNIT = 0' />
										<exp exp='VM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='41' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 4' />
										<exp exp='V_UNIT = 1' />
										<exp exp='VM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='42' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 4' />
										<exp exp='V_UNIT = 2' />
										<exp exp='VM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='43' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 4' />
										<exp exp='V_UNIT = 3' />
										<exp exp='VM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='44' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 4' />
										<exp exp='V_UNIT = 4' />
										<exp exp='VM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='45' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 4' />
										<exp exp='V_UNIT = 5' />
										<exp exp='VM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='46' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 4' />
										<exp exp='V_UNIT = 6' />
										<exp exp='VM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='47' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 4' />
										<exp exp='V_UNIT = 7' />
										<exp exp='VM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='48' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 4' />
										<exp exp='V_UNIT = 8' />
										<exp exp='VM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='49' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 4' />
										<exp exp='V_UNIT = 9' />
										<exp exp='VM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='RX_Byte' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='50' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='50' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 5' />
										<exp exp='V_UNIT = 0' />
										<exp exp='VM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='51' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 5' />
										<exp exp='V_UNIT = 1' />
										<exp exp='VM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='52' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 5' />
										<exp exp='V_UNIT = 2' />
										<exp exp='VM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='53' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 5' />
										<exp exp='V_UNIT = 3' />
										<exp exp='VM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='54' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 5' />
										<exp exp='V_UNIT = 4' />
										<exp exp='VM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='55' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 5' />
										<exp exp='V_UNIT = 5' />
										<exp exp='VM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='56' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 5' />
										<exp exp='V_UNIT = 6' />
										<exp exp='VM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='57' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 5' />
										<exp exp='V_UNIT = 7' />
										<exp exp='VM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='58' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 5' />
										<exp exp='V_UNIT = 8' />
										<exp exp='VM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='59' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 5' />
										<exp exp='V_UNIT = 9' />
										<exp exp='VM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='RX_Byte' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='60' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='60' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 6' />
										<exp exp='V_UNIT = 0' />
										<exp exp='VM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='61' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 6' />
										<exp exp='V_UNIT = 1' />
										<exp exp='VM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='62' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 6' />
										<exp exp='V_UNIT = 2' />
										<exp exp='VM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='63' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 6' />
										<exp exp='V_UNIT = 3' />
										<exp exp='VM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='64' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 6' />
										<exp exp='V_UNIT = 4' />
										<exp exp='VM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='65' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 6' />
										<exp exp='V_UNIT = 5' />
										<exp exp='VM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='66' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 6' />
										<exp exp='V_UNIT = 6' />
										<exp exp='VM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='67' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 6' />
										<exp exp='V_UNIT = 7' />
										<exp exp='VM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='68' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 6' />
										<exp exp='V_UNIT = 8' />
										<exp exp='VM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='69' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 6' />
										<exp exp='V_UNIT = 9' />
										<exp exp='VM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='RX_Byte' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='70' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='70' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 7' />
										<exp exp='V_UNIT = 0' />
										<exp exp='VM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='71' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 7' />
										<exp exp='V_UNIT = 1' />
										<exp exp='VM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='72' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 7' />
										<exp exp='V_UNIT = 2' />
										<exp exp='VM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='73' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 7' />
										<exp exp='V_UNIT = 3' />
										<exp exp='VM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='74' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 7' />
										<exp exp='V_UNIT = 4' />
										<exp exp='VM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='75' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 7' />
										<exp exp='V_UNIT = 5' />
										<exp exp='VM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='76' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 7' />
										<exp exp='V_UNIT = 6' />
										<exp exp='VM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='77' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 7' />
										<exp exp='V_UNIT = 7' />
										<exp exp='VM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='78' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 7' />
										<exp exp='V_UNIT = 8' />
										<exp exp='VM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='79' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='V_Tens = 7' />
										<exp exp='V_UNIT = 9' />
										<exp exp='VM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='V10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='decision' title='Decision' exp='RX_Byte = 99' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='Visitor = ADD' textarea='12,0,12,0' />
								<command class_type='delay' title='Delay' exp='1' type='1' />
								<command class_type='calculation' title='Calculation' >
									<exp exp='V_Tens = 0' />
									<exp exp='V_UNIT = 0' />
									<exp exp='VM = 0' />
								</command>
								<command class_type='comment' title='' comment='VM drops to 0' textarea='12,0,12,0' />
								<command class_type='delay' title='Delay' exp='10' type='2' />
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='V_UNIT = VM' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='1' />
						<command class_type='switch' title='Switch' textarea='76,190,76,190' exp='VM' >
							<case >
								<flowline />
							</case>
							<case exp='25' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
							<case exp='40' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
							<case exp='55' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
							<case exp='65' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
							<case exp='75' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
						</command>
						<command class_type='delay' title='Delay' exp='1' type='1' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='1' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;V_UNIT &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
							<argument exp='V_UNIT' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='RF_RX_Enable' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='TRX_CE high


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='Main' description='' >
						<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='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='Switch_Pressed = 0' />
							<exp exp='H_UNIT = 0' />
							<exp exp='H10 = 0' />
							<exp exp='H2_Down = 0' />
							<exp exp='V_UNIT = 0' />
							<exp exp='V10 = 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='delay' title='Delay' exp='10' type='1' />
						<command class_type='comment' title='' comment='I also changed the pin for DR to A4 in the FC I just sent you, just to try a different pin. So you will have to adjust your wiring to move it from BO.' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='Open pins A4, C6, C7, D7, E0, E1, E2' 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='Start' />
						<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;V21 JL Aug 19&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='Cursor' >
							<argument exp='1' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;2016&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='3' type='2' />
						<command class_type='comment' title='' comment='B0 = DR' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048577' mask='1' exp='0' />
						<command class_type='output' title='Output' mode='2' port='1048578' mask='192' exp='0' />
						<command class_type='output' title='Output' mode='1' port='1048579' mask='128' exp='0' />
						<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='Switch_Pressed = 0' />
							<exp exp='H_UNIT = 0' />
							<exp exp='H10 = 0' />
							<exp exp='H2_Down = 0' />
							<exp exp='V_UNIT = 0' />
							<exp exp='V10 = 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='comment' title='' comment='Use internal osc at 8 MHz with 4xPLL = 32 MHz' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='Clock Speed = 32,000,000' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master2' macro='Initialise' />
						<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='PWM1' macro='Enable' />
						<command class_type='delay' title='Delay' exp='3' type='1' />
						<command class_type='call' title='Call Macro' macro='Initialize_nRF905' />
						<command class_type='output' title='Output' mode='1' port='1048577' mask='128' exp='0' />
						<command class_type='call' title='Call Macro' macro='RF_RX_Enable' />
						<command class_type='delay' title='Delay' exp='1' type='2' />
						<command class_type='call' title='Call Macro' macro='Read_Config' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='delay' title='Delay' exp='5' type='0' />
								<command class_type='input' title='Input' mode='1' port='1048578' mask='2' exp='Carrier' />
								<command class_type='call' title='Call Macro' macro='Check_Status' />
								<command class_type='calculation' title='Calculation' disable='1' >
									<exp exp='Address = 1' />
								</command>
								<command class_type='decision' title='Decision' ccode='// Decision
// Decision: Address = 1?
if (FCV_ADDRESS == 1)
{
' exp='Address = 1' swap='0' >
									<flowline >
										<command class_type='output' title='Output' mode='1' port='1048577' mask='128' exp='1' />
										<command class_type='calculation' title='Calculation' >
											<exp exp='Address = 0' />
										</command>
										<command class_type='call' title='Call Macro' macro='RF_RX_Data' />
										<command class_type='output' title='Output' mode='1' port='1048577' mask='128' exp='0' />
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='DIABLE before loading  NEW DATA' textarea='12,0,12,0' />
								<command class_type='calculation' title='Calculation' disable='1' >
									<exp exp='New_Data = 1' />
								</command>
								<command class_type='decision' title='Decision' exp='New_Data = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='New_Data = 0' />
										</command>
										<command class_type='output' title='Output' mode='1' port='1048577' mask='128' exp='0' />
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Delay' exp='2' type='0' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Alarm' description='Set C6 on / off to sound a buzzer' >
						<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='3' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='PWM1' macro='SetDutyCycle' >
											<argument exp='62' />
										</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='call' title='Call Component Macro' component='PWM1' macro='SetDutyCycle' >
											<argument exp='0' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='Alarm = 0' />
								</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='call' title='Call Macro' disable='1' component='lcd_eb0051' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Macro' disable='1' component='lcd_eb0051' macro='PrintString' >
							<argument exp='&quot;TIMER&quot;' />
						</command>
						<command class_type='delay' title='Delay' disable='1' exp='2' type='1' />
						<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,120,36,120' exp='Seg' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Call Component Macro' component='led_7seg_quad1' macro='ShowDigit' >
										<argument exp='2' />
										<argument exp='H_UNIT' />
										<argument exp='0' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='decision' title='Decision' exp='H_Tens &gt; 0' swap='0' >
										<flowline >
											<command class_type='call' title='Call Component Macro' component='led_7seg_quad1' macro='ShowDigit' >
												<argument exp='3' />
												<argument exp='H_Tens' />
												<argument exp='0' />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='Call Component Macro' component='led_7seg_quad1' macro='ShowDigit' >
										<argument exp='0' />
										<argument exp='V_UNIT' />
										<argument exp='0' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<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='1' />
												<argument exp='V_Tens' />
												<argument exp='0' />
											</command>
										</flowline>
										<flowline />
									</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='5' type='1' />
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='HM' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='10' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='10' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 1' />
										<exp exp='H_UNIT = 0' />
										<exp exp='HM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='11' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 1' />
										<exp exp='H_UNIT = 1' />
										<exp exp='HM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='12' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 1' />
										<exp exp='H_UNIT = 2' />
										<exp exp='HM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='13' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 1' />
										<exp exp='H_UNIT = 3' />
										<exp exp='HM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='14' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 1' />
										<exp exp='H_UNIT = 4' />
										<exp exp='HM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='15' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 1' />
										<exp exp='H_UNIT = 5' />
										<exp exp='HM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='16' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 1' />
										<exp exp='H_UNIT = 6' />
										<exp exp='HM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='17' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 1' />
										<exp exp='H_UNIT = 7' />
										<exp exp='HM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='18' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 1' />
										<exp exp='H_UNIT = 8' />
										<exp exp='HM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='19' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 1' />
										<exp exp='H_UNIT = 9' />
										<exp exp='HM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='HM' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='20' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='20' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 2' />
										<exp exp='H_UNIT = 0' />
										<exp exp='HM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='21' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 2' />
										<exp exp='H_UNIT = 1' />
										<exp exp='HM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='22' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 2' />
										<exp exp='H_UNIT = 2' />
										<exp exp='HM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='23' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 2' />
										<exp exp='H_UNIT = 3' />
										<exp exp='HM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='24' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 2' />
										<exp exp='H_UNIT = 4' />
										<exp exp='HM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='25' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 2' />
										<exp exp='H_UNIT = 5' />
										<exp exp='HM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='26' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 2' />
										<exp exp='H_UNIT = 6' />
										<exp exp='HM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='27' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 2' />
										<exp exp='H_UNIT = 7' />
										<exp exp='HM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='28' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 2' />
										<exp exp='H_UNIT = 8' />
										<exp exp='HM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='29' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 2' />
										<exp exp='H_UNIT = 9' />
										<exp exp='HM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='HM' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='30' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='30' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 3' />
										<exp exp='H_UNIT = 0' />
										<exp exp='HM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='31' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 3' />
										<exp exp='H_UNIT = 1' />
										<exp exp='HM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='32' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 3' />
										<exp exp='H_UNIT = 2' />
										<exp exp='HM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='33' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 3' />
										<exp exp='H_UNIT = 3' />
										<exp exp='HM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='34' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 3' />
										<exp exp='H_UNIT = 4' />
										<exp exp='HM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='35' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 3' />
										<exp exp='H_UNIT = 5' />
										<exp exp='HM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='36' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 3' />
										<exp exp='H_UNIT = 6' />
										<exp exp='HM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='37' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 3' />
										<exp exp='H_UNIT = 7' />
										<exp exp='HM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='38' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 3' />
										<exp exp='H_UNIT = 8' />
										<exp exp='HM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='39' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 3' />
										<exp exp='H_UNIT = 9' />
										<exp exp='HM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='HM' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='40' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='40' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 4' />
										<exp exp='H_UNIT = 0' />
										<exp exp='HM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='41' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 4' />
										<exp exp='H_UNIT = 1' />
										<exp exp='HM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='42' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 4' />
										<exp exp='H_UNIT = 2' />
										<exp exp='HM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='43' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 4' />
										<exp exp='H_UNIT = 3' />
										<exp exp='HM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='44' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 4' />
										<exp exp='H_UNIT = 4' />
										<exp exp='HM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='45' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 4' />
										<exp exp='H_UNIT = 5' />
										<exp exp='HM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='46' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 4' />
										<exp exp='H_UNIT = 6' />
										<exp exp='HM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='47' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 4' />
										<exp exp='H_UNIT = 7' />
										<exp exp='HM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='48' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 4' />
										<exp exp='H_UNIT = 8' />
										<exp exp='HM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='49' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 4' />
										<exp exp='H_UNIT = 9' />
										<exp exp='HM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='HM' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='50' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='50' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 5' />
										<exp exp='H_UNIT = 0' />
										<exp exp='HM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='51' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 5' />
										<exp exp='H_UNIT = 1' />
										<exp exp='HM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='52' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 5' />
										<exp exp='H_UNIT = 2' />
										<exp exp='HM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='53' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 5' />
										<exp exp='H_UNIT = 3' />
										<exp exp='HM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='54' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 5' />
										<exp exp='H_UNIT = 4' />
										<exp exp='HM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='55' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 5' />
										<exp exp='H_UNIT = 5' />
										<exp exp='HM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='56' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 5' />
										<exp exp='H_UNIT = 6' />
										<exp exp='HM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='57' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 5' />
										<exp exp='H_UNIT = 7' />
										<exp exp='HM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='58' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 5' />
										<exp exp='H_UNIT = 8' />
										<exp exp='HM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='59' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 5' />
										<exp exp='H_UNIT = 9' />
										<exp exp='HM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='HM' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='60' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='60' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 6' />
										<exp exp='H_UNIT = 0' />
										<exp exp='HM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='61' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 6' />
										<exp exp='H_UNIT = 1' />
										<exp exp='HM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='62' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 6' />
										<exp exp='H_UNIT = 2' />
										<exp exp='HM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='63' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 6' />
										<exp exp='H_UNIT = 3' />
										<exp exp='HM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='64' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 6' />
										<exp exp='H_UNIT = 4' />
										<exp exp='HM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='65' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 6' />
										<exp exp='H_UNIT = 5' />
										<exp exp='HM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='66' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 6' />
										<exp exp='H_UNIT = 6' />
										<exp exp='HM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='67' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 6' />
										<exp exp='H_UNIT = 7' />
										<exp exp='HM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='68' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 6' />
										<exp exp='H_UNIT = 8' />
										<exp exp='HM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='69' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 6' />
										<exp exp='H_UNIT = 9' />
										<exp exp='HM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='46,115,46,115' exp='HM' >
							<case >
								<flowline >
									<command class_type='comment' title='' comment='70' textarea='12,0,12,0' />
								</flowline>
							</case>
							<case exp='70' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 7' />
										<exp exp='H_UNIT = 0' />
										<exp exp='HM = 0' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='71' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 7' />
										<exp exp='H_UNIT = 1' />
										<exp exp='HM = 1' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='72' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 7' />
										<exp exp='H_UNIT = 2' />
										<exp exp='HM = 2' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='73' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 7' />
										<exp exp='H_UNIT = 3' />
										<exp exp='HM = 3' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='74' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 7' />
										<exp exp='H_UNIT = 4' />
										<exp exp='HM = 4' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='75' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 7' />
										<exp exp='H_UNIT = 5' />
										<exp exp='HM = 5' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='76' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 7' />
										<exp exp='H_UNIT = 6' />
										<exp exp='HM = 6' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='77' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 7' />
										<exp exp='H_UNIT = 7' />
										<exp exp='HM = 7' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='78' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 7' />
										<exp exp='H_UNIT = 8' />
										<exp exp='HM = 8' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
							<case exp='79' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='H_Tens = 7' />
										<exp exp='H_UNIT = 9' />
										<exp exp='HM = 9' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='H10 = 1' />
									</command>
								</flowline>
							</case>
						</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;HM=&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
							<argument exp='HM' />
						</command>
						<command class_type='decision' title='Decision' exp='RX_Byte = 199' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='Visitor = ADD' textarea='12,0,12,0' />
								<command class_type='delay' title='Delay' exp='1' type='1' />
								<command class_type='calculation' title='Calculation' >
									<exp exp='H_Tens = 0' />
									<exp exp='H_UNIT = 0' />
									<exp exp='HM = 0' />
								</command>
								<command class_type='comment' title='' comment='VM drops to 0' textarea='12,0,12,0' />
								<command class_type='delay' title='Delay' exp='1' type='2' />
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='H_UNIT = HM' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='1' />
						<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;A=&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='lcd_eb0051' macro='PrintNumber' >
							<argument exp='RCV' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,110,36,110' exp='RCV' >
							<case >
								<flowline />
							</case>
							<case exp='25' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
							<case exp='40' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
							<case exp='55' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
							<case exp='65' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
							<case exp='75' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='comment' title='' comment='TEST' textarea='12,0,12,0' />
									<command class_type='calculation' title='Calculation' >
										<exp exp='Alarm = 1' />
									</command>
									<command class_type='call' title='Call Component Macro' macro='Alarm' />
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='d29dda88-17de-4008-991a-c881890d4c57' vmin='1' vmaj='1' codename='lcd_eb0051' x='24' y='147.877' z='153.751' 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='$PORTB.1' />
					<value target='Pin_Data_1' data='$PORTB.2' />
					<value target='Pin_Data_2' data='$PORTB.3' />
					<value target='Pin_Data_3' data='$PORTB.4' />
					<value target='Pin_RS' data='$PORTB.5' />
					<value target='Pin_E' data='$PORTB.6' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='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='0' y='-169.084' z='-37.2871' 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='$PORTD.0' />
					<value target='Pin1' data='$PORTD.1' />
					<value target='Pin2' data='$PORTD.2' />
					<value target='Pin3' data='$PORTD.3' />
					<value target='Pin4' data='$PORTD.4' />
					<value target='Pin5' data='$PORTD.5' />
					<value target='Pin6' data='$PORTD.6' />
					<value target='Pin7' data='$PORTD.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='text' codename='label11' x='31.4422' y='267.214' z='142.076' xsz='68.6851' ysz='40' zsz='8.85871' 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='Team  - Aug 19 Version 22' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip4' x='-326.962' y='-40.6043' z='-18.9341' xsz='5.12821' ysz='-5.90032' zsz='7.00091' 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='ref' guid='96862c4d-debc-45fa-9433-74711a4b9a3b' vmin='3' vmaj='1' codename='SPI_Master2' x='-300.454' y='-348.215' z='-156.064' xsz='299.999' ysz='125' 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='329' />
				</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='-268.352' y='-40.6043' z='-18.9341' xsz='5.12821' ysz='-5.90032' zsz='7.00091' 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='001' />
					<value target='on_color' data='16711935' />
					<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='-3.6597' y='-239.648' z='-94.2776' xsz='68.6851' ysz='40' zsz='8.85871' 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='Small Box display' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='6' vmaj='1' codename='PWM1' x='272.183' y='-346.156' z='-119.678' xsz='6.2986' ysz='6.2986' zsz='6.2986' 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='255' />
					<value target='prescale' data='004' />
					<value target='period_calc' data='512.000000' />
					<value target='frequency_calc' data='1.953125' />
					<value target='pwm_prescale' data='16' />
					<value target='SimRep' data='001' />
				</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='Alarm' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='43' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='50' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Home_Switches' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='50' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='timer_int' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='50' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RF_RX_Data' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Visitor_Switches' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='50' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='New_Count' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Check_Status' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Read_Config' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RF_RX_Enable' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Initialize_nRF905' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='START' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='tmr_service' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAANQUAAFgCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
