<root>
<document schema='101' license='1' title='' description='' target='PIC16.24F.24FJ64GA002' >
	<config data='!0,be7f!10,790f%0,f%4,1%5,1%6,1%7,0%8,2%a,1%b,1%c,1%d,1%e,0%f,1%10,3%12,1%13,1%14,0%15,0%16,0%18,1%1b,3%1d,3%1f,0' clkspd='16000000' simspd='1' usewdt='1' 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' />
		</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='644d5c00-0341-4d0f-8f07-5f0e645fc2e0' 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='byte2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ulong1' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='printdec' description='' >
						<param name='s' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='b' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='s2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='calculation' title='Calculation' >
							<exp exp='.s2 = ToString$ (.b)' />
						</command>
						<command class_type='call' title='Call Macro' macro='sendstr' >
							<argument exp='.s' />
						</command>
						<command class_type='call' title='Call Macro' macro='sendstr' >
							<argument exp='&quot;=&quot;' />
						</command>
						<command class_type='call' title='Call Macro' macro='sendstr' >
							<argument exp='.s2' />
						</command>
						<command class_type='call' title='Call Macro' macro='sendstr' >
							<argument exp='&quot;\r\n&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='sendstr' description='' >
						<param name='str' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='254' />
						</param>
						<local name='i' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' type='2' forvar='.i' exp='Length$ (.str)' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='cal_uart1' macro='Send' >
									<argument exp='.str[.i]' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='call' title='Call Component Macro' component='cal_uart1' macro='Init' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='ulong1 = 0' />
							<exp exp='byte1 = 127' />
							<exp exp='byte2 = 8' />
							<exp exp='' />
							<exp exp='ulong1 = ulong1 + byte1 * byte2 * 512' />
						</command>
						<command class_type='call' title='Call Macro' macro='printdec' >
							<argument exp='&quot;result&quot;' />
							<argument exp='ulong1' />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='ulong1 = 0' />
							<exp exp='byte1 = 127' />
							<exp exp='byte2 = 8' />
							<exp exp='' />
							<exp exp='ulong1 = ulong1 + (byte1 * byte2 * 512)' />
						</command>
						<command class_type='call' title='Call Macro' macro='printdec' >
							<argument exp='&quot;result&quot;' />
							<argument exp='ulong1' />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='ulong1 = 0' />
							<exp exp='byte1 = 127' />
							<exp exp='byte2 = 8' />
							<exp exp='' />
							<exp exp='ulong1 = byte1 * byte2' />
							<exp exp='ulong1 = ulong1 * 512' />
							<exp exp='' />
						</command>
						<command class_type='call' title='Call Macro' macro='printdec' >
							<argument exp='&quot;result&quot;' />
							<argument exp='ulong1' />
						</command>
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='91b64b1d-b8b2-40f1-b073-e953a91fa234' vmin='0' vmaj='1' codename='cal_uart1' x='8' y='240' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='000' />
					<value target='TX' data='$PORTA.3' />
					<value target='OutputPins' data='001' />
					<value target='RX' data='$PORTA.4' />
					<value target='InputPins' data='002' />
					<value target='CTS_PORT' data='$PORTC.5' />
					<value target='CTS_PIN' data='5' />
					<value target='CTS_TRIS' data='$PORTC.5' />
					<value target='RTS_PORT' data='$PORTC.4' />
					<value target='RTS_PIN' data='4' />
					<value target='RTS_TRIS' data='$PORTC.4' />
					<value target='BAUD_LIST' data='004' />
					<value target='BAUD' data='9600' />
					<value target='DBITS' data='008' />
					<value target='RETURN' data='000' />
					<value target='ECHO' data='000' />
					<value target='INT' data='000' />
					<value target='FLOWEN' data='000' />
					<value target='RTS' data='$PORTC.4' />
					<value target='CTS' data='$PORTC.5' />
					<value target='REF' data='0' />
					<value target='TX_PORT' data='$PORTA.3' />
					<value target='TX_TRIS' data='$PORTA.3' />
					<value target='TX_PIN' data='3' />
					<value target='RX_PORT' data='$PORTA.4' />
					<value target='RX_TRIS' data='$PORTA.4' />
					<value target='RX_PIN' data='4' />
					<value target='REMAPPABLE' data='1' />
					<value target='OutputReg' data='001' />
					<value target='TXRPNUM' data='3' />
					<value target='RXRPREG' data='RPINR18bits.U1RXR' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</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---------------------wAAAAAUAAAAcgIAAIcCAAA' zoom='50' scrollx='0' scrolly='63' flags='0' />
		<view type='0' name='sendstr' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAcgIAAIcCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='printdec' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAcgIAAIcCAAA' zoom='45' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
