<root>
<document schema='101' license='1,Alan_37,T6FBJD' title='' description='' target='AVR.ATMEGA.Arduino Mega 2560 R3' >
	<config data='' clkspd='16000000' simspd='4' 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='19' />
			<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='1' head='#include &lt;avr\wdt.h&gt;' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='ce0a69b5-ab64-4bba-b746-17173e4b2b92' 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='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='card' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Q_str2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Q_str1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</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='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='INIT RS232' cmdcolor='8415488' cmdcolor_sec='14994788' component='UART1' macro='Initialise' />
						<command class_type='call' title='INIT CARD' cmdcolor='8415488' cmdcolor_sec='14994788' component='FAT1' macro='Initialise' >
							<return exp='card' />
						</command>
						<command class_type='decision' title='IF INIT OK' cmdcolor='8415488' cmdcolor_sec='14994788' exp='card = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Address File A' cmdcolor='65280' cmdcolor_sec='6618980' cmdAuto_color='1' cmdcustom_color='1' component='FAT1' macro='SetFileIndex' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='Open file A' cmdcolor='65280' cmdcolor_sec='6618980' cmdAuto_color='1' cmdcustom_color='1' component='FAT1' macro='OpenFile' >
									<argument exp='&quot;A.txt&quot;' />
								</command>
								<command class_type='call' title='Address File B' cmdcolor='65535' cmdcolor_sec='6619135' cmdAuto_color='1' cmdcustom_color='1' component='FAT1' macro='SetFileIndex' >
									<argument exp='1' />
								</command>
								<command class_type='call' title='Open file B' cmdcolor='65535' cmdcolor_sec='6619135' cmdAuto_color='1' cmdcustom_color='1' component='FAT1' macro='OpenFile' >
									<argument exp='&quot;B.txt&quot;' />
								</command>
								<command class_type='call' title='Read String From File B' cmdcolor='65535' cmdcolor_sec='6619135' cmdAuto_color='1' cmdcustom_color='1' component='FAT1' macro='ReadStringFromFile' >
									<return exp='Q_str1' />
									<argument exp='50' />
									<argument exp='13' />
								</command>
								<command class_type='call' title='Send Via RS232' cmdcolor='65535' cmdcolor_sec='6619135' cmdAuto_color='1' cmdcustom_color='1' component='UART1' macro='SendString' >
									<argument exp='Q_str1' />
								</command>
								<command class_type='call' title='CR' cmdcolor='16744448' cmdcolor_sec='16770148' cmdAuto_color='1' cmdcustom_color='1' component='UART1' macro='SendChar' >
									<argument exp='13' />
								</command>
								<command class_type='call' title='Address File A' cmdcolor='65280' cmdcolor_sec='6618980' cmdAuto_color='1' cmdcustom_color='1' component='FAT1' macro='SetFileIndex' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='Read File Sector' cmdcolor='5724159' cmdcolor_sec='12303359' cmdAuto_color='1' cmdcustom_color='1' component='FAT1' macro='ReadFileSector' />
								<command class_type='call' title='Read String From File A' cmdcolor='65280' cmdcolor_sec='6618980' cmdAuto_color='1' cmdcustom_color='1' component='FAT1' macro='ReadStringFromFile' >
									<return exp='Q_str1' />
									<argument exp='50' />
									<argument exp='13' />
								</command>
								<command class_type='call' title='Send Via RS232' cmdcolor='65280' cmdcolor_sec='6618980' cmdAuto_color='1' cmdcustom_color='1' component='UART1' macro='SendString' >
									<argument exp='Q_str1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='UART1' x='-130' y='30' z='0' 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='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='001' />
					<value target='BAUD_LIST' data='005' />
					<value target='BAUD' data='9600' />
					<value target='DBITS' data='008' />
					<value target='RETURN' data='000' />
					<value target='ToutVal' data='255' />
					<value target='FLOWEN' data='000' />
					<value target='ECHO' data='000' />
					<value target='TX' data='$PORTE.1' />
					<value target='RX' data='$PORTE.0' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='' />
					<value target='label' data='UART' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='ConsoleColumns' data='64' />
					<value target='DataSource' data='001' />
					<value target='com_port' data='003' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0b61bd39-05a3-46ee-a2a5-da7bffb583c5' vmin='5' vmaj='2' codename='FAT1' x='-60' y='50' 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 >
					<value target='max_concurrent_files' data='1' />
					<value target='EOFtype' data='000' />
					<value target='Channel' data='000' />
					<value target='PR_SCALE' data='032' />
					<value target='PR_SCALE2' data='016' />
					<value target='cs_pin' data='$PORTK.7' />
					<value target='mosi_pin' data='$PORTK.6' />
					<value target='miso_pin' data='$PORTK.5' />
					<value target='sck_pin' data='$PORTK.4' />
					<value target='MosiRemap' data='000' />
					<value target='MisoRemap' data='000' />
					<value target='ClkRemap' data='000' />
					<value target='root_dir' data='$(srcdir)' />
					<value target='AutoInsertCard' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='2105930' 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='1' lighting='2' brightness='51' perspective='0' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='62' />
		<camera xe='-63.8202' ye='22.3982' ze='412.006' xt='-63.8202' yt='22.3982' 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---------------------wUAAAAYAAAA2QQAAEUDAAA' zoom='81' scrollx='0' scrolly='369' flags='0' />
	</layout>
</document>
</root>
