<root>
<document schema='101' license='1,JohnCrow,FUD4XJ' title='' description='' target='PIC.16F.16F1937' >
	<config data='!0,cfe2!10,deff%0,2%3,0%5,1%6,1%7,1%8,1%9,3%b,1%c,0%d,0%10,3%14,3%18,0%19,1%1a,1%1c,1%1d,0' clkspd='19660800' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='255' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='a4e8e945-f8ec-48b0-8abc-5c52a9e666ca' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='DewPoint' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temperature' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Humidity' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Setup LCD' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='Start' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='Clear' />
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='100' type='1' />
						<command class_type='call' title='Initialise nRF24L01' cmdcolor='3446692' cmdcolor_sec='3446692' component='nRF24L01' macro='Initialise' />
						<command class_type='call' title='Set Tx Mode' cmdcolor='3446692' cmdcolor_sec='3446692' component='nRF24L01' macro='SetTxMode' >
							<argument exp='0x11' />
							<argument exp='0x11' />
							<argument exp='0x11' />
							<argument exp='0x11' />
							<argument exp='0x11' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Read Temperature' cmdcolor='3446692' cmdcolor_sec='3446692' component='EBM016_Humidity1' macro='GetTemperatureInt' >
									<return exp='Temperature' />
								</command>
								<command class_type='call' title='Read Humidity' cmdcolor='3446692' cmdcolor_sec='3446692' component='EBM016_Humidity1' macro='GetHumidityInt' >
									<return exp='Humidity' />
								</command>
								<command class_type='calculation' title='Calculate Dewpoint' cmdcolor='4630130' cmdcolor_sec='4630130' >
									<exp exp='// This is an approximate method' />
									<exp exp='' />
									<exp exp='Dewpoint = Temperature - ((100 - Humidity) / 5)' />
								</command>
								<command class_type='call' title='Write Temperature To Byte 0' cmdcolor='3446692' cmdcolor_sec='3446692' component='nRF24L01' macro='WriteTxByte' >
									<argument exp='0' />
									<argument exp='Temperature' />
								</command>
								<command class_type='call' title='Write Humidity To Byte 1' cmdcolor='3446692' cmdcolor_sec='3446692' component='nRF24L01' macro='WriteTxByte' >
									<argument exp='1' />
									<argument exp='Humidity' />
								</command>
								<command class_type='call' title='Write Dewpoint To Buffer2' cmdcolor='3446692' cmdcolor_sec='3446692' component='nRF24L01' macro='WriteTxByte' >
									<argument exp='2' />
									<argument exp='DewPoint' />
								</command>
								<command class_type='call' title='Transmitt FiFo Buffer' cmdcolor='3446692' cmdcolor_sec='3446692' component='nRF24L01' macro='WriteTxFifo' >
									<argument exp='32' />
								</command>
								<command class_type='comment' title='' comment='Clear Display &amp; Show Temperature &amp; Humidity' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='Clear' />
								<command class_type='call' title='Display Remote Sensor Temp On Line 0' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintString' >
									<argument exp='&quot;Temperature&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='Cursor' >
									<argument exp='12' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintNumber' >
									<argument exp='Temperature' />
								</command>
								<command class_type='call' title='Display Degree C Symbol' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintAscii' >
									<argument exp='223' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintString' >
									<argument exp='&quot;C&quot;' />
								</command>
								<command class_type='call' title='Display Remote Sensor Humidity On Line 1' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintString' >
									<argument exp='&quot;Humidity&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='Cursor' >
									<argument exp='12' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintNumber' >
									<argument exp='Humidity' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintString' >
									<argument exp='&quot;%&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='1' type='2' />
								<command class_type='comment' title='' comment='Clear Display &amp; Show Dewpoint' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
								<command class_type='call' title='Display Dewpoint' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='Clear' />
								<command class_type='call' title='Display Remote Sensor DewPoint On Line 0' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintString' >
									<argument exp='&quot;DewPoint&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='Cursor' >
									<argument exp='12' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintNumber' >
									<argument exp='Dewpoint' />
								</command>
								<command class_type='call' title='Display Degree C Symbol' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintAscii' >
									<argument exp='223' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_eb005' macro='PrintString' >
									<argument exp='&quot;C&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='1' type='2' />
								<command class_type='call' title='Flash LED When Sending Data' cmdcolor='3446692' cmdcolor_sec='3446692' component='led_5mm_clip1' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='led_5mm_clip1' macro='TurnOff' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='882b6951-9944-48cc-8989-6ebd3d91956f' vmin='1' vmaj='1' codename='nRF24L01' x='35' y='27' z='0.755' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='RFChannel' data='76' />
					<value target='Channel' data='001' />
					<value target='PR_SCALE' data='128' />
					<value target='mosi_pin' data='$PORTC.5' />
					<value target='miso_pin' data='$PORTC.4' />
					<value target='sck_pin' data='$PORTC.3' />
					<value target='ce_pin' data='$PORTC.2' />
					<value target='csn_pin' data='$PORTC.7' />
					<value target='MosiRemap' data='006' />
					<value target='MisoRemap' data='064' />
					<value target='ClkRemap' data='001' />
					<value target='label' data='nRF24L01' />
				</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='16' y='49' z='-3.85' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTC.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5cb8f1ac-bab2-4740-9a9d-01602a5fb196' vmin='0' vmaj='1' codename='EBM016_Humidity1' x='0' y='-50' z='2.3' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='000' />
					<value target='SDA' data='$PORTB.4' />
					<value target='SCL' data='$PORTB.5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d29dda88-17de-4008-991a-c881890d4c57' vmin='1' vmaj='1' codename='lcd_eb005' x='-60' y='50' z='3.575' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Pin_Data_0' data='$PORTD.0' />
					<value target='Pin_Data_1' data='$PORTD.1' />
					<value target='Pin_Data_2' data='$PORTD.2' />
					<value target='Pin_Data_3' data='$PORTD.3' />
					<value target='Pin_RS' data='$PORTD.4' />
					<value target='Pin_E' data='$PORTD.5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='0' 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='0' brightness='0' perspective='0' >
		<background rgb='8404224' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='-1.04643' ye='24.9182' ze='336.875' xt='-1.04643' yt='24.9182' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAzwIAAEkCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
