<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 >
		<watch expr='Global_3' />
		<watch expr='Global_Str' />
		<watch expr='Global_Str_2' />
		<watch expr='RS232_OUT' />
		<watch expr='SSS_Out_Str_AM_EM' />
		<watch expr='SSS_Out_Str_BM' />
		<watch expr='SSS_Temp_Str_1' />
		<watch expr='SSS_Out_Str_AM_IM' />
		<watch expr='Global_Str_3' />
		<watch expr='SSS_Match_Found' />
		<watch expr='SSS_Str_Count_2' />
		<watch expr='Global_Int' />
		<watch expr='COMPAIR_VAR' />
		<watch expr='Global_2' />
		<watch expr='Global' />
		<watch expr='Global' />
		<watch expr='Exit' />
		<watch expr='idx' />
		<watch expr='Global_16bit' />
		<watch expr='.Channel' />
		<watch expr='Higher_byte' />
		<watch expr='Lower_byte' />
		<watch expr='.Tmp_STR_1' />
		<watch expr='.Tmp_STR_2' />
		<watch expr='.Tmp_STR_3' />
		<watch expr='String_To_Send' />
		<watch expr='RS232_OUT_3' />
		<watch expr='SSS_INPUT_Str' />
		<watch expr='SSS_Search_IN_1' />
		<watch expr='PCA9685.Chip_Status' />
		<watch expr='PCA9685.GLB_Byte' />
		<watch expr='R_Addr' />
		<watch expr='W_Addr' />
		<watch expr='PCA9685.RD_Str' />
		<watch expr='PCA9685.WR_Str' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='ce24b86c-9e78-4e98-9e39-74588a690ddc' 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='SSS_Temp_Str_2' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SSS_Temp_Str_1' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Lower_byte' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Global_16bit' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='I2C_RX_2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='50' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='I2C_RX_1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='50' />
					</def>
				</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='SSS_Search_IN_1' type='T8' description='SSS_Search_IN_1' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='40' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Global_Str_3' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Global_Str_2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='NO_TX' type='b1' description='Do Not transmit' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SSS_Str_Count_3' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Exit' type='s16' description='' isconst='0' isinit='1' usrinit='10' setinit='10' />
				</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='SSS_Str_Count_2' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Compair_Var' type='u8' description='' isconst='0' isinit='1' usrinit='10' setinit='10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SSS_Str_Count_1' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS232_IN' type='u8' description='RS232 interapt Flag' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SSS_Out_Str_AM_IM' type='T8' description='Output STR  After Match including Match' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='String_To_Send' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SSS_Out_Str_BM' type='T8' description='Output Str Before Match' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SSS_INPUT_Str' type='T8' description='SEARCH_SPLIT_STRING INPUT' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PCA9685_Status' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='R_Addr' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='idx' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Higher_byte' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='debug_STR' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='50' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Global_Int' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SD_OUT_STR' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='95' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS232_OUT' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Global_Str' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='95' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Global' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='W_Addr' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Global_3' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SSS_Out_Str_AM_EM' type='T8' description='Uotput STR After Match Excluding Match' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Global_2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='EEPROM_Task' type='u8' description='EPROM READ or WRITE' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RS232_OUT_3' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SSS_Match_Found' type='u8' description='Found Matche = 1' 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='MLX_i2c_Fix' description='This Macro Resets the MLX whene SDA is Held Down.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' textarea='102,-18,577,282' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' textarea='102,-18,577,282' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2321' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__I2C_master0' macro='Initialise' />
						<command class_type='loop' title='Loop' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' type='2' exp='5' start='0' >
							<flowline >
								<command class_type='output' title='B7-ON' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' mode='1' port='1048577' mask='128' exp='1' />
								<command class_type='delay' title='Delay' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' exp='50' type='1' />
								<command class_type='output' title='B7-ON' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' mode='1' port='1048577' mask='128' exp='0' />
								<command class_type='delay' title='Delay' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' exp='50' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Search_Split_String' description='Search AND Split String V2
OUTPUTs : After Match  including &amp;  excluding Match and Before Match Excluding Match
V2  : Search Between 2 specific Strings ' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='String_INPUT' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='100' />
						</param>
						<param name='Search_Str_1_Btwn' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</param>
						<param name='Search_Str_2_Btwn' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</param>
						<local name='Search_Loop' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='GLB_Byt_1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='GLB_Byt_2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Search_STR 2 Lenght' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
							<exp exp='.GLB_Byt_1 = Length$ (.Search_Str_2_Btwn)' />
							<exp exp='.GLB_Byt_2 = 0' />
							<exp exp='SSS_Match_Found = 0' />
						</command>
						<command class_type='decision' title='IF Between' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' exp='.GLB_Byt_1 &gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Loop x2' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
									<exp exp='.GLB_Byt_1 = 2' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Loop x1' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
									<exp exp='.GLB_Byt_1 = 1' />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Loop' cmdcolor='8415488' cmdcolor_sec='14994788' type='1' exp='.GLB_Byt_1 = 0' start='0' >
							<flowline >
								<command class_type='decision' title='Decision' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' exp='.GLB_Byt_2 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Resetting Vars' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
											<exp exp='.String_INPUT = SSS_Out_Str_AM_EM // For search Between' />
											<exp exp='SSS_INPUT_Str = .String_INPUT' />
											<exp exp='SSS_Search_IN_1 = .Search_Str_2_Btwn' />
											<exp exp='Exit = 10' />
											<exp exp='SSS_Out_Str_BM = &quot;&quot;' />
											<exp exp='SSS_Out_Str_AM_IM = &quot;&quot;' />
											<exp exp='SSS_Out_Str_AM_EM = &quot;&quot;' />
											<exp exp='//SSS_Temp_Str_1 = &quot;&quot;' />
											<exp exp='SSS_Temp_Str_2 = SSS_INPUT_Str // input to temp 2' />
											<exp exp='SSS_Str_Count_1 = 0' />
											<exp exp='.Search_Loop = Length$ (.String_INPUT)' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Resetting  Vars' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
											<exp exp='SSS_INPUT_Str = .String_INPUT' />
											<exp exp='SSS_Search_IN_1 = .Search_Str_1_Btwn' />
											<exp exp='Exit = 10' />
											<exp exp='SSS_Out_Str_BM = &quot;&quot;' />
											<exp exp='SSS_Out_Str_AM_IM = &quot;&quot;' />
											<exp exp='SSS_Out_Str_AM_EM = &quot;&quot;' />
											<exp exp='//SSS_Temp_Str_1 = &quot;&quot;' />
											<exp exp='SSS_Temp_Str_2 = SSS_INPUT_Str // input to temp 2' />
											<exp exp='SSS_Str_Count_1 = 0' />
											<exp exp='.Search_Loop = Length$ (.String_INPUT)' />
										</command>
									</flowline>
								</command>
								<command class_type='loop' title='Loop' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' type='1' exp='Exit = 0 OR .Search_Loop = 0' start='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
											<exp exp='SSS_Str_Count_1 = Length$ (SSS_Search_IN_1) // Find the langht of the Search String' />
											<exp exp='SSS_Temp_Str_1 = Left$ (SSS_Temp_Str_2,SSS_Str_Count_1) // Extruct first Str to Compair' />
											<exp exp='Compair_Var = Compare$ (SSS_Temp_Str_1,SSS_Search_IN_1,1)' />
											<exp exp='SSS_Str_Count_2 = Length$ (SSS_Temp_Str_2) // TSET' />
										</command>
										<command class_type='decision' title='IF Match' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' exp='Compair_Var = 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Match Found' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
													<exp exp='SSS_Str_Count_3 = SSS_Str_Count_2 - SSS_Str_Count_1 // Extructing out A.M exc match' />
													<exp exp='SSS_Out_Str_AM_EM = Right$ (SSS_INPUT_Str,SSS_Str_Count_3) // Extructing out A.M exc match' />
													<exp exp='SSS_Out_Str_AM_IM = SSS_Temp_Str_2 // Extructing out A.M INC match' />
													<exp exp='SSS_Str_Count_1 = Length$ (SSS_INPUT_Str)' />
													<exp exp='SSS_Str_Count_1 = SSS_Str_Count_1 - SSS_Str_Count_2' />
													<exp exp='SSS_Out_Str_BM = Left$ (SSS_INPUT_Str,SSS_Str_Count_1)' />
													<exp exp='SSS_Match_Found = SSS_Match_Found + 1' />
													<exp exp='Exit = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Move 1 Char Right ' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
													<exp exp='SSS_Str_Count_2 = SSS_Str_Count_2 - 1' />
													<exp exp='SSS_Temp_Str_2 = Right$ (SSS_Temp_Str_2,SSS_Str_Count_2)' />
													<exp exp='.Search_Loop = .Search_Loop - 1' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
									<exp exp='SSS_Search_IN_1 = &quot;&quot;' />
									<exp exp='Exit = 10' />
									<exp exp='.GLB_Byt_1 = .GLB_Byt_1 - 1' />
									<exp exp='.GLB_Byt_2 = .GLB_Byt_2 + 1' />
									<exp exp='' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='EXEC' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='RS232_Send_String' description='V2' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Input_Sting' type='T8' description='MAX 40 CHARS Function 1' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='100' />
						</param>
						<param name='Function_Select' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Output_To' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='INT_to_STR' type='s16' description='Function 2' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Add_String' type='T8' description='Add Str Before (F5) , Add Str After (F6)' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='60' />
						</param>
						<local name='STR_22' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='switch' title='Fuction' textshow='0' textarea='36,25,511,325' cmdcolor='8415488' cmdcolor_sec='14994788' exp='.Function_Select' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Send String only' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
										<exp exp='String_To_Send = .Input_Sting' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='INT_TO_STRING' textshow='0' textarea='36,-30,511,270' cmdcolor='8415488' cmdcolor_sec='14994788' >
										<exp exp='String_To_Send = ToString$ (.INT_to_STR)' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='OK' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
										<exp exp='String_To_Send = &quot;OK&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='calculation' title='Invalid Command' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
										<exp exp='String_To_Send = &quot;Invalid Command !&quot;' />
										<exp exp='' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='calculation' title='Add Str Before' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
										<exp exp='String_To_Send = .Add_String + .Input_Sting' />
										<exp exp='' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Fuction' textshow='0' textarea='36,25,511,325' cmdcolor='8415488' cmdcolor_sec='14994788' exp='.Function_Select' >
							<case >
								<flowline />
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='calculation' title='Add Str After' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
										<exp exp='String_To_Send = .Input_Sting + .Add_String' />
										<exp exp='' />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='calculation' title='ADD STR  +  INT_TO_STRING' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
										<exp exp='.STR_22 = ToString$ (.INT_to_STR)' />
										<exp exp='String_To_Send = .Add_String + .STR_22' />
									</command>
								</flowline>
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='calculation' title=' INT_TO_STRING + ADD STR  ' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
										<exp exp='.STR_22 = ToString$ (.INT_to_STR)' />
										<exp exp='String_To_Send = .STR_22 + .Add_String' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='decision' title='Decision' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' exp='NO_TX = 0' swap='0' >
							<flowline >
								<command class_type='switch' title='Output To' textshow='0' textarea='36,25,511,325' cmdcolor='8415488' cmdcolor_sec='14994788' exp='.Output_To' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='call' title='RS232_0' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendString' >
												<argument exp='String_To_Send' />
											</command>
											<command class_type='call' title='13' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendChar' >
												<argument exp='13' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='call' title='RS232_1' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2321' macro='SendString' >
												<argument exp='String_To_Send' />
											</command>
											<command class_type='call' title='13' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2321' macro='SendChar' >
												<argument exp='13' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='call' title='RS232_0' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendString' >
												<argument exp='String_To_Send' />
											</command>
											<command class_type='call' title='13' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendChar' >
												<argument exp='13' />
											</command>
											<command class_type='call' title='RS232_0' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2321' macro='SendString' >
												<argument exp='String_To_Send' />
											</command>
											<command class_type='call' title='13' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2321' macro='SendChar' >
												<argument exp='13' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='call' title='RS232_0' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendString' >
												<argument exp='String_To_Send' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='call' title='13' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendChar' >
												<argument exp='13' />
											</command>
											<command class_type='call' title='RS232_0' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendString' >
												<argument exp='String_To_Send' />
											</command>
											<command class_type='call' title='13' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2321' macro='SendChar' >
												<argument exp='13' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='call' title='13' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendChar' >
												<argument exp='13' />
											</command>
											<command class_type='call' title='RS232_0' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendString' >
												<argument exp='String_To_Send' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
									<exp exp='NO_TX = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='STRING_TO_SEND = &quot;&quot;' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
							<exp exp='String_To_Send = &quot;&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='RS2320_INT' description='RS232 IN Detection by interapt' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Receive Rs232' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='ReceiveString' >
							<return exp='RS232_OUT' />
							<argument exp='15' />
							<argument exp='100' />
						</command>
						<command class_type='calculation' title='To Upper ' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
							<exp exp='RS232_OUT = ToUpper$ (RS232_OUT)' />
							<exp exp='RS232_IN = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='HEX_STR_TO_DEC' description='INPUT : HEX_STR_IN
OUTPUT:  .Return ' >
						<return name='Return' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='HEX_STR_IN' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='10' />
						</param>
						<local name='Str1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='10' />
						</local>
						<local name='Lenght' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Int_Var' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='String Manipulation' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
							<exp exp='.Lenght = Length$ (.HEX_STR_IN)' />
						</command>
						<command class_type='calculation' title='Calculation' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
							<exp exp='Global = 0' />
							<exp exp='Global_Int = 0' />
							<exp exp='.Return = 0' />
						</command>
						<command class_type='loop' title='Loop' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' type='0' exp='Global &lt; .Lenght' start='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
									<exp exp='.Int_Var = (.Lenght - Global) - 1' />
								</command>
								<command class_type='calculation' title='Calculation' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
									<exp exp='idx = (.Lenght - Global) - 1' />
									<exp exp='.Int_Var = .HEX_STR_IN[idx]' />
								</command>
								<command class_type='decision' title='Decision' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' exp='.Int_Var &gt; 64' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
											<exp exp='.Int_Var = .Int_Var - 55' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
											<exp exp='.Int_Var = .Int_Var - 48' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
									<exp exp='Global_Int = .Int_Var &lt;&lt; Global * 4' />
									<exp exp='.Return = .Return + Global_Int' />
								</command>
								<command class_type='calculation' title='Calculation' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
									<exp exp='Global = Global + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Reset_MCU' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='&quot;Restarting Now&quot;' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendString' >
							<argument exp='&quot;Loading ...&quot;' />
						</command>
						<command class_type='call' title='RS232 SEND' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' component='v5__rs2320' macro='SendChar' >
							<argument exp='13' />
						</command>
						<command class_type='native' title='RESET MCU' textshow='0' textarea='36,0,511,300' ccode='wdt_enable(WDTO_15MS);' cmdcolor='192' cmdcolor_sec='6579455' language='C' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SD_CARD' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='File_Name' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='Line_Number' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Read_From' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='L_GLOBAL_1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Reset Vars' cmdcolor='8415488' cmdcolor_sec='14994788' >
							<exp exp='Global = 0' />
							<exp exp='.Line_Number = 0' />
							<exp exp='.Read_From = 1' />
						</command>
						<command class_type='call' title='-&gt; Detecting Card' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' macro='RS232_Send_String' >
							<argument exp='&quot;Detecting SD card&quot;' />
							<argument exp='1' />
							<argument exp='1' />
							<argument exp='0' />
							<argument exp='&quot;&quot;' />
						</command>
						<command class_type='loop' title='INIT CARD' cmdcolor='8415488' cmdcolor_sec='14994788' type='1' exp='Global = 3' start='0' >
							<flowline >
								<command class_type='call' title='INIT CARD' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' component='MICRO_SD' macro='Initialise' >
									<return exp='Exit' />
								</command>
								<command class_type='calculation' title='Counter' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
									<exp exp='Global = Global + 1' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='8415488' cmdcolor_sec='14994788' exp='200' type='1' />
							</flowline>
						</command>
						<command class_type='decision' title='Card not Found' cmdcolor='8415488' cmdcolor_sec='14994788' exp='Exit = 255' swap='1' >
							<flowline >
								<command class_type='call' title='Open File' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' component='MICRO_SD' macro='OpenFile' >
									<argument exp='.File_Name' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='65535' cmdcolor_sec='14994788' cmdcustom_color='1' type='1' exp='Exit = 0' start='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='8415488' cmdcolor_sec='14994788' >
											<exp exp='SD_OUT_STR = &quot;&quot;' />
											<exp exp='Global_Str = &quot;&quot;' />
										</command>
										<command class_type='decision' title='IF GOTO Preves' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' exp='.Read_From &lt; .Line_Number' swap='0' >
											<flowline >
												<command class_type='call' title='Open File' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' component='MICRO_SD' macro='OpenFile' >
													<argument exp='.File_Name' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='loop' title='Loop' textshow='0' cmdcolor='10526975' cmdcolor_sec='14994788' cmdcustom_color='1' type='1' exp='.Read_From = .Line_Number' start='0' >
											<flowline >
												<command class_type='call' title='Read Line' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' component='MICRO_SD' macro='ReadStringFromFile' >
													<return exp='SD_OUT_STR' />
													<argument exp='100' />
													<argument exp='59' />
												</command>
												<command class_type='calculation' title='LineNumber +1' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
													<exp exp='.Line_Number = .Line_Number + 1' />
													<exp exp='SD_OUT_STR = ToUpper$ (SD_OUT_STR)' />
													<exp exp='SD_OUT_STR = SD_OUT_STR + &quot;;&quot;' />
													<exp exp='.L_GLOBAL_1 = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='call' title='DEBUG -&gt; 232' textshow='0' cmdcolor='255' cmdcolor_sec='6579455' cmdAuto_color='1' cmdcustom_color='1' macro='RS232_Send_String' >
											<argument exp='SD_OUT_STR' />
											<argument exp='6' />
											<argument exp='4' />
											<argument exp='0' />
											<argument exp='&quot;&lt;- From File   &quot;' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='4652800' cmdcolor_sec='11206500' cmdAuto_color='1' cmdcustom_color='1' type='1' exp='.L_GLOBAL_1 = 0' start='0' >
											<flowline >
												<command class_type='calculation' title='Counter +1' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
													<exp exp='.L_GLOBAL_1 = .L_GLOBAL_1 + 1' />
												</command>
												<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='8415488' cmdcolor_sec='14994788' exp='.L_GLOBAL_1' >
													<case >
														<flowline />
													</case>
													<case exp='1' >
														<flowline >
															<command class_type='call' title='SLEEP COM' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' macro='Search_Split_String' >
																<argument exp='SD_OUT_STR' />
																<argument exp='&quot;SLEEP (&quot;' />
																<argument exp='&quot;);&quot;' />
															</command>
															<command class_type='decision' title='IF Found' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' exp='SSS_Match_Found = 2' swap='0' >
																<flowline >
																	<command class_type='calculation' title='Get Delay Value' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
																		<exp exp='Global_16bit = StringToInt$ (SSS_Out_Str_BM)' />
																	</command>
																	<command class_type='delay' title='Delay' cmdcolor='8415488' cmdcolor_sec='14994788' exp='Global_16bit' type='2' />
																	<command class_type='goto' title='Goto Exit' cmdcolor='8415488' cmdcolor_sec='14994788' labelid='0' labelname='' />
																</flowline>
																<flowline />
															</command>
														</flowline>
													</case>
													<case exp='2' >
														<flowline >
															<command class_type='call' title='GOTO' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' macro='Search_Split_String' >
																<argument exp='SD_OUT_STR' />
																<argument exp='&quot;GOTO &quot;' />
																<argument exp='&quot;;&quot;' />
															</command>
															<command class_type='decision' title='IF Found' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' exp='SSS_Match_Found = 2' swap='0' >
																<flowline >
																	<command class_type='calculation' title='Set Read From Line' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
																		<exp exp='Global_16bit = StringToInt$ (SSS_Out_Str_BM)' />
																		<exp exp='.Read_From = Global_16bit' />
																	</command>
																	<command class_type='goto' title='Goto Exit' cmdcolor='8415488' cmdcolor_sec='14994788' labelid='0' labelname='' />
																</flowline>
																<flowline />
															</command>
														</flowline>
													</case>
													<case exp='3' >
														<flowline >
															<command class_type='call' title='Exit' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' macro='Search_Split_String' >
																<argument exp='SD_OUT_STR' />
																<argument exp='&quot;EXIT&quot;' />
																<argument exp='&quot;;&quot;' />
															</command>
															<command class_type='decision' title='IF Found' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' exp='SSS_Match_Found = 2' swap='0' >
																<flowline >
																	<command class_type='calculation' title='Terminate script' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
																		<exp exp='SD_OUT_STR = &quot;&quot;' />
																	</command>
																</flowline>
																<flowline >
																	<command class_type='call' title='Remove &quot;;&quot;' textshow='0' cmdcolor='10551295' cmdcolor_sec='16777215' cmdAuto_color='1' cmdcustom_color='1' macro='Search_Split_String' >
																		<argument exp='SD_OUT_STR' />
																		<argument exp='&quot;;&quot;' />
																		<argument exp='&quot;&quot;' />
																	</command>
																	<command class_type='calculation' title='Feed Line to com' textshow='0' cmdcolor='10551295' cmdcolor_sec='16777215' cmdAuto_color='1' cmdcustom_color='1' >
																		<exp exp='RS232_OUT = SSS_Out_Str_BM' />
																		<exp exp='' />
																	</command>
																	<command class_type='calculation' title='Debug String !!' cmdcolor='255' cmdcolor_sec='6579455' cmdAuto_color='1' cmdcustom_color='1' >
																		<exp exp='Global_Str = Left$ (RS232_OUT,7)' />
																		<exp exp='Global = Length$ (Global_Str)' />
																	</command>
																	<command class_type='call' title='DEBUG -&gt; Send Via RS232' textshow='0' cmdcolor='255' cmdcolor_sec='6579455' cmdAuto_color='1' cmdcustom_color='1' macro='RS232_Send_String' >
																		<argument exp='Global_Str' />
																		<argument exp='6' />
																		<argument exp='4' />
																		<argument exp='0' />
																		<argument exp='&quot;&lt;-Str Lenght = &quot;' />
																	</command>
																	<command class_type='call' title='Debug STR Lenght' cmdcolor='255' cmdcolor_sec='6579455' cmdAuto_color='1' cmdcustom_color='1' component='v5__rs2320' macro='SendNumber' >
																		<argument exp='Global' />
																	</command>
																	<command class_type='call' title='Debug ' cmdcolor='255' cmdcolor_sec='6579455' cmdAuto_color='1' cmdcustom_color='1' component='v5__rs2320' macro='SendChar' >
																		<argument exp='13' />
																	</command>
																</flowline>
															</command>
															<command class_type='label' title='Connection Point' cmdcolor='8415488' cmdcolor_sec='14994788' labelid='0' labelname='A' />
															<command class_type='calculation' title='Exit From Here' textshow='0' cmdcolor='10551295' cmdcolor_sec='16777215' cmdcustom_color='1' >
																<exp exp='RS232_OUT = &quot;&quot;' />
																<exp exp='.L_GLOBAL_1 = 0' />
															</command>
														</flowline>
													</case>
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Check Lenght  for exit' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' >
											<exp exp='Exit = Length$ (SD_OUT_STR)' />
											<exp exp='.Read_From = .Read_From + 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='-&gt; Card not Found ' textshow='0' cmdcolor='8415488' cmdcolor_sec='14994788' macro='RS232_Send_String' >
									<argument exp='&quot;No SD Card Found&quot;' />
									<argument exp='1' />
									<argument exp='1' />
									<argument exp='0' />
									<argument exp='&quot;&quot;' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Init' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' macro='MLX_i2c_Fix' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
							<exp exp='Global = Global_2 AND 16' />
						</command>
						<command class_type='interrupt' title='RS232 Interrupt ON' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' enable='1' name='RXINT0' call='RS2320_INT' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
							<exp exp='Global = 0' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='8415488' cmdcolor_sec='14994788' macro='SD_CARD' >
							<argument exp='&quot;test.txt&quot;' />
						</command>
						<command class_type='loop' title='Loop' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' type='0' exp='1' >
							<flowline >
								<command class_type='decision' title='IF RX=1' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' exp='RS232_IN = 1' swap='0' >
									<flowline >
										<command class_type='interrupt' title='RS232 Interrupt ON' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' enable='0' name='RXINT0' >
											<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
											</settings>
										</command>
										<command class_type='output' title='B7-ON' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' mode='1' port='1048577' mask='128' exp='1' />
										<command class_type='call' title='' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' macro='EXEC' />
										<command class_type='calculation' title='RX =0' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' >
											<exp exp='RS232_IN = 0' />
											<exp exp='' />
											<exp exp='' />
										</command>
										<command class_type='interrupt' title='RS232 Interrupt ON' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' enable='1' name='RXINT0' call='RS2320_INT' >
											<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
											</settings>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Delay' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' exp='1' type='1' />
								<command class_type='output' title='B7-OFF' textshow='0' textarea='36,0,511,300' cmdcolor='8415488' cmdcolor_sec='14994788' mode='1' port='1048577' mask='128' exp='0' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='24219805-113d-4b12-b6bd-e1b0b0c33981' vmin='4' vmaj='1' codename='v5__I2C_master0' x='-69.6283' y='46.7142' 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='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='000' />
					<value target='BAUD_LIST' data='001' />
					<value target='SRC' data='000' />
					<value target='SMB' data='000' />
					<value target='StopDelay' data='1' />
					<value target='BAUD' data='1000' />
					<value target='SDA' data='$PORTD.1' />
					<value target='SCL' data='$PORTD.0' />
					<value target='label' data='I2C Master' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='1' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='v5__rs2320' x='-70' y='20' 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='RS232' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='1' />
					<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='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='v5__rs2321' x='-70' y='-10' 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='004' />
					<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='$PORTJ.1' />
					<value target='RX' data='$PORTJ.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='RS232' />
					<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='dcbf571f-a6fa-402d-bdd4-be00cca4070f' vmin='1' vmaj='1' codename='v5__eeprom0' x='-20' y='20' z='0' xsz='20' ysz='20' zsz='20' 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='EESize' data='4096 byte' />
					<value target='EEbitdepth' data='8 bit' />
					<value target='InitialValues' data='0,1,0x2,0x03,&apos;A&apos;,&apos;b&apos;,&quot;Hello&quot;' />
					<value target='InitValsParsed' data='0,1,0x2,0x03,&apos;A&apos;,&apos;b&apos;,&apos;H&apos;,&apos;e&apos;,&apos;l&apos;,&apos;l&apos;,&apos;o&apos;' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='24219805-113d-4b12-b6bd-e1b0b0c33981' vmin='4' vmaj='1' codename='I2C_PWM' x='-70' y='80' z='9.79894' 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='000' />
					<value target='BAUD_LIST' data='001' />
					<value target='SRC' data='000' />
					<value target='SMB' data='000' />
					<value target='StopDelay' data='1' />
					<value target='BAUD' data='50000' />
					<value target='SDA' data='$PORTB.4' />
					<value target='SCL' data='$PORTH.6' />
					<value target='label' data='I2C Master' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='1' />
					<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='MICRO_SD' x='-120' y='70' z='10.7939' 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='016' />
					<value target='PR_SCALE2' data='003' />
					<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='-2641.85' ye='2079.22' ze='5756.52' xt='-2641.85' yt='2079.22' 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='-28.5994' ye='56.3464' ze='303.194' xt='-28.5994' yt='56.3464' 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='SD_CARD' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA2QQAAEUDAAA' zoom='75' scrollx='0' scrolly='891' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA2QQAAEUDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='EXEC' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA2QQAAEUDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RS232_Send_String' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA2QQAAEUDAAA' zoom='70' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='RS2320_INT' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA2QQAAEUDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Search_Split_String' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA2QQAAEUDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='MLX_i2c_Fix' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA2QQAAEUDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
