<root>
<document schema='101' license='1,Daniel Sallros,FXBWB0' title='' description='' target='PIC.18F.18F43K22' >
	<config data='!0,0!8,22!10,e!18,0!20,ff!28,bf!30,85!38,ff!40,3!48,ff!50,ff!58,ff!60,ff!68,ff%8,2%c,0%d,1%e,0%f,0%10,0%11,3%13,1%18,0%1a,0%28,1%29,1%2a,1%2b,1%2c,1%2d,1%2f,1%30,1%32,1%36,0%37,1%40,1%41,1%4e,1%4f,1%50,1%51,1%5d,1%5e,1%5f,1%60,1%61,1%6e,1' clkspd='16000000' simspd='2' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='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='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
		</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='1316d51c-81c9-4b80-811c-693ad0033e28' 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='1' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<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='Temp' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RetVal' type='u8' description='' isconst='0' isinit='1' usrinit='166' setinit='166' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp2' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp1' type='s16' 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>
			</variables>
			<macros >
				<macro >
					<flowline name='Main' description='' >
						<command class_type='delay' title='Delay' exp='500' type='1' />
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Start' />
						<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='delay' title='Delay' exp='500' type='1' />
								<command class_type='call' title='Call Component Macro' component='One_Wire1' macro='DS1820_StartConversion' >
									<return exp='RetVal' />
								</command>
								<command class_type='decision' title='Decision' disable='1' exp='RetVal' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;Sensor Not Found&quot;' />
										</command>
										<command class_type='loop' title='Loop' type='0' exp='1' >
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' component='One_Wire1' macro='DS1820_ReadScratchpad' >
									<return exp='RetVal' />
								</command>
								<command class_type='decision' title='Decision' disable='1' exp='RetVal' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Clear' />
										<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;CRC Error&quot;' />
										</command>
										<command class_type='loop' title='Loop' type='0' exp='1' >
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' component='One_Wire1' macro='DS1820_GetTemp' >
									<return exp='Temp' />
								</command>
								<command class_type='calculation' title='Calculation' disable='1' >
									<exp exp='Temp2 = Temp' />
									<exp exp='Temp1 = (Temp MOD 16) * 6' />
									<exp exp='Temp = Temp / 16' />
								</command>
								<command class_type='calculation' title='Work out integer and real parts of the temperature' textarea='36,0,511,300' >
									<exp exp='Temp2 = (Temp MOD 2) * 5' />
									<exp exp='Temp = Temp / 2' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Temp' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;.&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Temp2' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot; C&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' component='lcd_4x20' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Temp2' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='64b26b13-68cf-4a92-8616-e882b7c71023' vmin='2' vmaj='1' codename='One_Wire1' x='0' y='40' z='0.755' xsz='55.9999' ysz='32' 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='oo_pin' data='$PORTA.0' />
					<value target='crc_en' data='0' />
					<value target='label' data='1-Wire' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='a2b40602-5421-4e2f-ba82-96db1be51d69' vmin='1' vmaj='1' codename='lcd_4x20' x='0' y='-8' 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='$PORTC.5' />
					<value target='Pin_E' data='$PORTC.4' />
				</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='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAjAAAAUAQAAHoDAAA' zoom='75' scrollx='0' scrolly='1195' flags='0' />
	</layout>
</document>
</root>
