<root>
<document schema='101' license='1,Jari Vaisanen,BWFW6P' title='' description='' target='PIC.16F.16F18877' >
	<config data='!0,3ffa!10,3fff!20,3f9f!30,3fff!40,3fff%0,2%4,7%8,1%b,1%d,1%10,1%11,1%15,1%16,3%19,1%1a,1%1b,1%1c,1%1d,1%20,1f%25,0%28,7%2b,7%30,3%3c,1%3d,1%40,1%31,1' clkspd='20000000' 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='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='0' head='' body='' />
	<debug />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='0' />
			<data name='ClockPin' value='1' />
			<data name='DataPort' value='0' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='9' />
			<data name='CalculatedCommsDelay' value='9' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='fcdca5de-ff47-46b3-9822-0d2de998950f' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='Misc' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' 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='retu' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DataPointer' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='build' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CompareString' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='text' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='40' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='text2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DataLength' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='card_access' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data_Length' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='eth_recv_mac' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='6' />
					</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='ethernet' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='retval' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='Data_Length &gt; 0' swap='0' >
							<flowline >
								<command class_type='call' title='Check for ARP' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='CheckForARP' >
									<return exp='.retval' />
									<argument exp='Data_Length' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='.RetVal' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='MakeArpAnswerFromRequest' />
										<command class_type='goto' title='Goto Connection Point' cmdcolor='13945981' cmdcolor_sec='13945981' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Check for IP' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='CheckForIp' >
									<return exp='.retval' />
									<argument exp='Data_Length' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='.RetVal' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='CheckForPing' >
											<return exp='.retval' />
										</command>
										<command class_type='decision' title='ping' cmdcolor='13945981' cmdcolor_sec='13945981' exp='.RetVal' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='MakeEchoReplyFromRequest' >
													<argument exp='Data_Length' />
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13945981' cmdcolor_sec='13945981' labelid='0' labelname='' />
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='CheckForTCPPort' >
											<return exp='.retval' />
											<argument exp='80' />
										</command>
										<command class_type='decision' title='For server?' cmdcolor='13945981' cmdcolor_sec='13945981' exp='.RetVal' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='CheckForTCPType' >
													<return exp='.retval' />
												</command>
												<command class_type='decision' title='SYNC' cmdcolor='13945981' cmdcolor_sec='13945981' exp='.retval &amp; 0x02' swap='0' >
													<flowline >
														<command class_type='call' title='Service Acknowledge' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='MakeTcpSynackFromSyn' >
															<argument exp='80' />
														</command>
														<command class_type='goto' title='Goto Connection Point' cmdcolor='13945981' cmdcolor_sec='13945981' labelid='0' labelname='' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Ack?' cmdcolor='13945981' cmdcolor_sec='13945981' exp='.RetVal &amp; 0x10' swap='0' >
													<flowline >
														<command class_type='call' title='Check incoming data length after headers' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='InitialiseDataLengthInfo' />
														<command class_type='call' title='Get Current Data Pointer' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='GetTcpDataPointer' >
															<return exp='DataPointer' />
														</command>
														<command class_type='decision' title='If there is no inbound data' cmdcolor='13945981' cmdcolor_sec='13945981' exp='DataPointer = 0' swap='0' >
															<flowline >
																<command class_type='decision' title='Ack with no data' cmdcolor='13945981' cmdcolor_sec='13945981' exp='.RetVal &amp; 0x01' swap='0' >
																	<flowline >
																		<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='MakeTcpAckFromAny' >
																			<argument exp='80' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
																<command class_type='goto' title='Goto Connection Point' cmdcolor='13945981' cmdcolor_sec='13945981' labelid='0' labelname='' />
															</flowline>
															<flowline />
														</command>
														<command class_type='call' title='Read TCP Command - &quot;GET&quot;' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='ReadStringFromBuffer' >
															<return exp='CompareString' />
															<argument exp='DataPointer' />
															<argument exp='4' />
														</command>
														<command class_type='decision' title='Is data is equal to &quot;GET&quot;' cmdcolor='13945981' cmdcolor_sec='13945981' exp='Compare$ (CompareString,&quot;GET&quot;,0) == 0' swap='0' >
															<flowline >
																<command class_type='call' title='Read TCP document request' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='ReadStringFromBuffer' >
																	<return exp='CompareString' />
																	<argument exp='DataPointer' />
																	<argument exp='10' />
																</command>
																<command class_type='decision' title='Check for IP root' cmdcolor='13945981' cmdcolor_sec='13945981' exp='Compare$ (CompareString,&quot;/&quot;,0) = 0' swap='0' >
																	<flowline >
																		<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																			<return exp='DataLength' />
																			<argument exp='0' />
																			<argument exp='&quot;HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n&quot;' />
																		</command>
																		<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																			<return exp='DataLength' />
																			<argument exp='DataLength' />
																			<argument exp='&quot;&lt;center&gt;&lt;p&gt;&lt;h1&gt;Flowcode MCP28J60 Demo Webserver&lt;/h1&gt;&lt;/p&gt;&quot;' />
																		</command>
																		<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																			<return exp='DataLength' />
																			<argument exp='DataLength' />
																			<argument exp='&quot;&lt;br/&gt;Root Page Request&lt;br/&gt;&quot;' />
																		</command>
																		<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																			<return exp='DataLength' />
																			<argument exp='DataLength' />
																			<argument exp='&quot;&lt;br/&gt;&lt;a href=\&quot;page2.htm\&quot;&gt;Click Here for Page 2&lt;/a&gt;&lt;br/&gt;&quot;' />
																		</command>
																		<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																			<return exp='DataLength' />
																			<argument exp='DataLength' />
																			<argument exp='&quot;&lt;hr&gt;V1.0 &lt;a href=\&quot;http://www.matrixtsl.com\&quot;&gt;www.MatrixTSL.com&lt;a&gt;&quot;' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='decision' title='Check for page 2' cmdcolor='13945981' cmdcolor_sec='13945981' exp='Compare$ (CompareString,&quot;/page2.htm&quot;,0) = 0' swap='0' >
																			<flowline >
																				<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																					<return exp='DataLength' />
																					<argument exp='0' />
																					<argument exp='&quot;HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																					<return exp='DataLength' />
																					<argument exp='DataLength' />
																					<argument exp='&quot;&lt;center&gt;&lt;p&gt;&lt;h1&gt;Flowcode MCP28J60 Demo Webserver&lt;/h1&gt;&lt;/p&gt;&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																					<return exp='DataLength' />
																					<argument exp='DataLength' />
																					<argument exp='&quot;&lt;br/&gt;Page 2 Request&lt;br/&gt;&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																					<return exp='DataLength' />
																					<argument exp='DataLength' />
																					<argument exp='&quot;&lt;br/&gt;&lt;a href=\&quot;\&quot;&gt;Click Here for Page 1&lt;/a&gt;&lt;br/&gt;&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																					<return exp='DataLength' />
																					<argument exp='DataLength' />
																					<argument exp='&quot;&lt;hr&gt;V1.0 &lt;a href=\&quot;http://www.matrixtsl.com\&quot;&gt;www.MatrixTSL.com&lt;a&gt;&quot;' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																					<return exp='DataLength' />
																					<argument exp='0' />
																					<argument exp='&quot;HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																					<return exp='DataLength' />
																					<argument exp='DataLength' />
																					<argument exp='&quot;&lt;center&gt;&lt;p&gt;&lt;h1&gt;Flowcode ENC28J60 Demo Webserver&lt;/h1&gt;&lt;/p&gt;&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																					<return exp='DataLength' />
																					<argument exp='DataLength' />
																					<argument exp='&quot;&lt;br/&gt;Page x Request&lt;br/&gt;&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																					<return exp='DataLength' />
																					<argument exp='DataLength' />
																					<argument exp='&quot;&lt;br/&gt;&lt;a href=\&quot;\&quot;&gt;Click Here for Page 1&lt;/a&gt;&lt;br/&gt;&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																					<return exp='DataLength' />
																					<argument exp='DataLength' />
																					<argument exp='&quot;&lt;hr&gt;V1.0 &lt;a href=\&quot;http://www.matrixtsl.com\&quot;&gt;www.MatrixTSL.com&lt;a&gt;&quot;' />
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</command>
															</flowline>
															<flowline >
																<command class_type='comment' title='' comment='Other requests may appear here
Post etc
' textarea='12,0,12,0' cmdcolor='14609663' cmdcolor_sec='14609663' />
																<command class_type='call' title='Send Generic Ack' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='FillTcpData' >
																	<return exp='DataLength' />
																	<argument exp='0' />
																	<argument exp='&quot;HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n&lt;h1&gt;200 OK&lt;/h1&gt;&quot;' />
																</command>
															</flowline>
														</command>
														<command class_type='call' title='Assemble TCP Ack Header' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='MakeTcpAckFromAny' >
															<argument exp='80' />
														</command>
														<command class_type='call' title='Add data to the buffer' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='MakeTcpAckWithData' >
															<argument exp='DataLength' />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='13945981' cmdcolor_sec='13945981' labelid='0' labelname='' />
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='13945981' cmdcolor_sec='13945981' labelid='0' labelname='RxDone' />
					</flowline>
				</macro>
				<macro >
					<flowline name='card_check' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='card_D' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048578' mask='4' exp='1' />
						<command class_type='input' title='Input' cmdcolor='9033880' cmdcolor_sec='9033880' mode='1' port='1048578' mask='1' exp='.card_D' />
						<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048578' mask='4' exp='0' />
						<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='card_access = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='card_pulled' cmdcolor='13945981' cmdcolor_sec='13945981' exp='.card_D = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
											<exp exp='card_access = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='card_access = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='card_pulled' cmdcolor='13945981' cmdcolor_sec='13945981' exp='.card_D = 0' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='OpenFile' >
											<return exp='retu' />
											<argument exp='&quot;test.txt&quot;' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu = 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
													<exp exp='card_access = 0' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
													<exp exp='card_access = 1' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='initialization' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='motd' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</local>
						<local name='motd4' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;Dar sa stii nu-ti cer nimic.&quot;' setinit='&quot;Dar sa stii nu-ti cer nimic.&quot;' >
							<array size='40' />
						</local>
						<local name='motd1' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;When the seas are rollign in&quot;' setinit='&quot;When the seas are rollign in&quot;' >
							<array size='40' />
						</local>
						<local name='motd2' type='T8' description='&quot;   Were back in the loop.   &quot;' isconst='1' isinit='1' usrinit='&quot;  Miten niin muka armoton?  &quot;' setinit='&quot;  Miten niin muka armoton?  &quot;' >
							<array size='40' />
						</local>
						<local name='motd3' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;    Snap out of it now..    &quot;' setinit='&quot;    Snap out of it now..    &quot;' >
							<array size='40' />
						</local>
						<local name='motd5' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;   We\&apos;re back in the loop   &quot;' setinit='&quot;   We&apos;re back in the loop   &quot;' >
							<array size='40' />
						</local>
						<local name='motd6' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;   It\&apos;s time to move on.    &quot;' setinit='&quot;   It&apos;s time to move on.    &quot;' >
							<array size='40' />
						</local>
						<local name='motd7' type='T8' description='' isconst='0' isinit='1' usrinit='&quot; Aiming for all or nothing. &quot;' setinit='&quot; Aiming for all or nothing. &quot;' >
							<array size='40' />
						</local>
						<local name='motd8' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;   It doesn\&apos;t even matter   &quot;' setinit='&quot;   It doesn&apos;t even matter   &quot;' >
							<array size='40' />
						</local>
						<local name='motd9' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;       Kohti unelmaa.       &quot;' setinit='&quot;       Kohti unelmaa.       &quot;' >
							<array size='40' />
						</local>
						<local name='motd10' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;       Miau! Mou! Mau!      &quot;' setinit='&quot;       Miau! Mou! Mau!      &quot;' >
							<array size='40' />
						</local>
						<local name='motd11' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;         PIC Power!         &quot;' setinit='&quot;         PIC Power!         &quot;' >
							<array size='40' />
						</local>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='AutoVersionID1' macro='GetBuildNumber' >
							<return exp='build' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
							<exp exp='retu = random ()' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='Initialise' />
						<command class_type='delay' title='Delay' cmdcolor='12865180' cmdcolor_sec='12865180' exp='10' type='1' />
						<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048579' mask='1' exp='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='&quot;INIT\n&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='AutoVersionID1' macro='GetDate' >
							<return exp='text' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='AutoVersionID1' macro='GetTime' >
							<return exp='text2' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
							<exp exp='text = toString$ (build) + &quot; &quot; + text + &quot; &quot; + text2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='&quot;SENSIOT-17 bootstrap v.&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='text' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
							<exp exp='text = &quot;\n***********************************\n&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='text' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 22' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
									<exp exp='.motd = .motd1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 44' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
											<exp exp='.motd = .motd2' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 66' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
													<exp exp='.motd = .motd3' />
													<exp exp='' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 88' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
															<exp exp='.motd = .motd4' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 102' swap='0' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
																	<exp exp='.motd = .motd5' />
																</command>
															</flowline>
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 122' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
																			<exp exp='.motd = .motd6' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 144' swap='0' >
																			<flowline >
																				<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
																					<exp exp='.motd = .motd7' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 166' swap='0' >
																					<flowline >
																						<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
																							<exp exp='.motd = .motd8' />
																						</command>
																					</flowline>
																					<flowline >
																						<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 188' swap='0' >
																							<flowline >
																								<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
																									<exp exp='.motd = .motd9' />
																								</command>
																							</flowline>
																							<flowline >
																								<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 202' swap='0' >
																									<flowline >
																										<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
																											<exp exp='.motd = .motd10' />
																										</command>
																									</flowline>
																									<flowline >
																										<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 222' swap='0' >
																											<flowline >
																												<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
																													<exp exp='.motd = .motd7' />
																												</command>
																											</flowline>
																											<flowline >
																												<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu &lt; 244' swap='0' >
																													<flowline >
																														<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
																															<exp exp='.motd = .motd6' />
																														</command>
																													</flowline>
																													<flowline >
																														<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
																															<exp exp='.motd = .motd11' />
																														</command>
																													</flowline>
																												</command>
																											</flowline>
																										</command>
																									</flowline>
																								</command>
																							</flowline>
																						</command>
																					</flowline>
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
							<exp exp='text = &quot;* &quot; + .motd + &quot; *\n&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='text' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
							<exp exp='text = &quot;***********************************\n&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='text' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12865180' cmdcolor_sec='12865180' exp='250' type='1' />
						<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048579' mask='1' exp='0' />
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='&quot;Booting eth controller...\n&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='Initialise' />
						<command class_type='delay' title='Delay' cmdcolor='12865180' cmdcolor_sec='12865180' exp='250' type='1' />
						<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048579' mask='2' exp='0' />
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='&quot;Initializing Data lenght...\n&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='InitialiseDataLengthInfo' />
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='&quot;Initializing SD card...\n&quot;' />
						</command>
						<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048578' mask='4' exp='1' />
						<command class_type='input' title='Input' cmdcolor='9033880' cmdcolor_sec='9033880' mode='1' port='1048578' mask='1' exp='retu' />
						<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048578' mask='4' exp='0' />
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='&quot;Card detect: &quot;' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
									<argument exp='&quot;1\n&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='Initialise' >
									<return exp='retu' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu != 0' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
											<argument exp='&quot;Could not initialize card.\n&quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
											<argument exp='&quot;Card ready!\n&quot;' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
									<argument exp='&quot;0\n&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
							<argument exp='&quot;INIT OK.\n&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='SetFileIndex' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='OpenFile' >
							<return exp='retu' />
							<argument exp='&quot;test.txt&quot;' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu != 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
									<argument exp='&quot;Creating file.\n&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='CreateFile' >
									<return exp='retu' />
									<argument exp='&quot;test.txt&quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu = 0' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='OpenFile' >
											<return exp='retu' />
											<argument exp='&quot;test.txt&quot;' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='retu != 0' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
													<argument exp='&quot;Failde to open created file. Disabling SD actions. \n&quot;' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
													<exp exp='card_access = 250' />
													<exp exp='' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
													<exp exp='card_access = 1' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='AppendStringToFile' >
													<argument exp='&quot;ADC1,ADC2;&quot;' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
											<argument exp='&quot;Could not create file.\n&quot;' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
											<exp exp='card_access = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
									<argument exp='&quot;Opened file\n&quot;' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
									<exp exp='card_access = 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='tmr' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='TCPIP_ENC28J60' macro='PacketReceive' >
							<return exp='Data_Length' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='Data_Length &gt; 0' swap='0' >
							<flowline >
								<command class_type='interrupt' title='Interrupt' cmdcolor='13600878' cmdcolor_sec='13600878' enable='0' name='TMR0' >
									<settings timer='1' 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='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' macro='ethernet' />
								<command class_type='interrupt' title='Interrupt' cmdcolor='13600878' cmdcolor_sec='13600878' enable='1' name='TMR0' call='tmr' >
									<settings timer='1' prescale='2' postscale='1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='0' />
										<option value='1' />
										<option value='0' />
									</settings>
								</command>
							</flowline>
							<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='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' macro='initialization' />
						<command class_type='interrupt' title='Interrupt' cmdcolor='13600878' cmdcolor_sec='13600878' enable='1' name='TMR0' call='tmr' >
							<settings timer='1' prescale='2' postscale='1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='1' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='loop' title='Blink SD busy to show alive status..' cmdcolor='13945981' cmdcolor_sec='13945981' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='pot_color_cap1' macro='GetByte' >
									<return exp='retu' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
									<argument exp='&quot;\nADC1: &quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendNumber' >
									<argument exp='retu' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='7260111' cmdcolor_sec='7260111' macro='card_check' />
								<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='card_access = 1' swap='0' >
									<flowline >
										<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048579' mask='1' exp='1' />
										<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
											<exp exp='text = ToString$ (retu)' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='AppendStringToFile' >
											<argument exp='text' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='AppendStringToFile' >
											<argument exp='&quot;,&quot;' />
										</command>
										<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048579' mask='1' exp='0' />
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12865180' cmdcolor_sec='12865180' exp='1' type='2' />
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='pot_color_cap2' macro='GetByte' >
									<return exp='retu' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendString' >
									<argument exp='&quot;\nADC2: &quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='UART1' macro='SendNumber' >
									<argument exp='retu' />
								</command>
								<command class_type='comment' title='' comment='Check_if_card_Avail
' textarea='36,27,36,27' cmdcolor='14609663' cmdcolor_sec='14609663' />
								<command class_type='decision' title='Decision' cmdcolor='13945981' cmdcolor_sec='13945981' exp='card_access = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='12865180' cmdcolor_sec='12865180' >
											<exp exp='text = ToString$ (retu)' />
										</command>
										<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048579' mask='1' exp='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='AppendStringToFile' >
											<argument exp='text' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='AppendStringToFile' >
											<argument exp='&quot;;&quot;' />
										</command>
										<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048579' mask='1' exp='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='7260111' cmdcolor_sec='7260111' component='FAT1' macro='AppendStringToFile' >
											<argument exp='&quot;\n&quot;' />
										</command>
										<command class_type='output' title='Output' cmdcolor='5659079' cmdcolor_sec='5659079' mode='1' port='1048579' mask='1' exp='0' />
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12865180' cmdcolor_sec='12865180' exp='1' type='2' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='UART1' x='-40' y='30' 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='CHANNEL' data='001' />
					<value target='BAUD_LIST' data='004' />
					<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='$PORTC.6' />
					<value target='RX' data='$PORTC.7' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='021' />
					<value target='RXRemap' data='023' />
					<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='7' vmaj='2' codename='FAT1' x='10' y='120' z='1.4' 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='max_concurrent_files' data='1' />
					<value target='EOFtype' data='000' />
					<value target='Channel' data='000' />
					<value target='PR_SCALE' data='064' />
					<value target='PR_SCALE2' data='000' />
					<value target='cs_pin' data='$PORTC.2' />
					<value target='mosi_pin' data='$PORTA.0' />
					<value target='miso_pin' data='$PORTA.0' />
					<value target='sck_pin' data='$PORTA.0' />
					<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 class_type='ref' guid='14683ea8-5a08-4b3a-be2d-3dea3e17e720' vmin='3' vmaj='1' codename='pot_color_cap1' x='50' y='150' z='9' xsz='25.1419' ysz='25.1419' zsz='18.45' 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='angle_start' data='225.000000' />
					<value target='angle_sweep' data='270.000000' />
					<value target='cap_color' data='192' />
					<value target='point_color' data='16777215' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='0' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='14683ea8-5a08-4b3a-be2d-3dea3e17e720' vmin='3' vmaj='1' codename='pot_color_cap2' x='80' y='150' z='9' xsz='25.1419' ysz='25.1419' zsz='18.45' 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='angle_start' data='225.000000' />
					<value target='angle_sweep' data='270.000000' />
					<value target='cap_color' data='192' />
					<value target='point_color' data='16777215' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='1' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1911d96c-78dd-414a-b23c-6691fb19f63f' vmin='2' vmaj='1' codename='AutoVersionID1' x='20' y='-20' 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='1' >
				<resources />
				<properties />
				<values >
					<value target='BuildNumber' data='27' />
					<value target='DateDivider' data='.' />
					<value target='TimeDivider' data=':' />
					<value target='DateFormat' data='000' />
					<value target='LastBuildDate' data='26.04.17' />
					<value target='LastBuildTime' data='15:38:17' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='8aab4b54-a912-449c-b11a-7c1a5db8d591' vmin='1' vmaj='1' codename='TCPIP_ENC28J60' x='28.6036' y='57.9817' z='1.11022e-16' 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='Port' data='80' />
					<value target='BufferSize' data='500' />
					<value target='CHANNEL' data='001' />
					<value target='PR_SCALE' data='004' />
					<value target='ResetPin' data='$PORTA.3' />
					<value target='cs_pin' data='$PORTC.1' />
					<value target='MOSI' data='$PORTC.5' />
					<value target='MISO' data='$PORTC.4' />
					<value target='CLK' data='$PORTC.3' />
					<value target='MosiRemap' data='020' />
					<value target='MisoRemap' data='020' />
					<value target='ClkRemap' data='014' />
					<value target='MAC0' data='100' />
					<value target='MAC1' data='101' />
					<value target='MAC2' data='102' />
					<value target='MAC3' data='103' />
					<value target='MAC4' data='104' />
					<value target='MAC5' data='105' />
					<value target='IP0' data='192' />
					<value target='IP1' data='168' />
					<value target='IP2' data='0' />
					<value target='IP3' data='120' />
				</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='-9.11087' ye='5.33227' ze='216.231' xt='-9.11087' yt='5.33227' 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' />
		<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='initialization' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA4wMAAFsCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA4wMAAFsCAAA' zoom='75' scrollx='0' scrolly='1384' flags='0' />
		<view type='0' name='ethernet' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA4wMAAFsCAAA' zoom='75' scrollx='1634' scrolly='2087' flags='0' />
		<view type='0' name='tmr' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA4wMAAFsCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='card_check' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA4wMAAFsCAAA' zoom='75' scrollx='0' scrolly='673' flags='0' />
	</layout>
</document>
</root>
