<root>
<document schema='101' license='1,damstech8888,156R6W' title='' description='' target='AVR.ATMEGA.Arduino Uno R3 PDIP' >
	<config data='' clkspd='16000000' 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='1000' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='1' />
			<data name='ictrate' value='1000' />
			<data name='ictmask' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' 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='IN' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DATA' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='VAL2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='NUMBER' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ADDR' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='VAL' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OLD_IN' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BOO5' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BOO4' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BOO3' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BOO2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BOO1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='INTERRUPT_TMR0' description='' />
				</macro>
				<macro >
					<flowline name='INTERRUPT_PORTB' description='' />
				</macro>
				<macro >
					<flowline name='INTERRUPT_RB0INT' description='' />
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='output' title='Output' textarea='36,0,511,300' mode='0' port='1048577' mask='0' exp='1' />
						<command class_type='call' title='Call Macro' textarea='36,0,511,300' component='v5__webserver0' macro='Initialise' />
						<command class_type='output' title='Output' textarea='36,0,511,300' mode='1' port='1048577' mask='2' exp='1' />
						<command class_type='delay' title='Delay' textarea='36,0,511,300' exp='1' type='2' />
						<command class_type='output' title='Output' textarea='36,0,511,300' mode='1' port='1048577' mask='4' exp='1' />
						<command class_type='call' title='Call Macro' textarea='36,0,511,300' component='v5__webserver0' macro='CreateServerSocket' >
							<return exp='VAL' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='80' />
						</command>
						<command class_type='output' title='Output' textarea='36,0,511,300' mode='1' port='1048577' mask='8' exp='1' />
						<command class_type='loop' title='Loop' textarea='36,0,511,300' exp='1' type='0' start='1' count='1' breakend='0' >
							<flowline >
								<command class_type='output' title='Output' textarea='36,0,511,300' mode='1' port='1048577' mask='16' exp='1' />
								<command class_type='calculation' title='Calculation' textarea='36,0,511,300' >
									<exp exp='BOO2 = 55' />
								</command>
								<command class_type='call' title='Call Macro' textarea='36,0,511,300' component='v5__adc0' macro='GetByte' >
									<return exp='BOO1' />
								</command>
								<command class_type='calculation' title='Calculation' textarea='36,0,511,300' >
									<exp exp='BOO3 = BOO1 + BOO2' />
								</command>
								<command class_type='calculation' title='Calculation' textarea='36,0,511,300' >
									<exp exp='BOO4 = BOO1 - BOO2' />
								</command>
								<command class_type='calculation' title='Calculation' textarea='36,0,511,300' >
									<exp exp='BOO5 = 20' />
								</command>
								<command class_type='output' title='Output' textarea='36,0,511,300' mode='1' port='1048577' mask='16' exp='0' />
								<command class_type='call' title='Call Macro' textarea='36,0,511,300' component='v5__webserver0' macro='CheckSocketActivity' >
									<return exp='VAL' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='9e68a715-edc2-4a98-be64-c0d02f700135' vmin='3' vmaj='1' codename='v5__webserver0' x='-12.5714' y='1.14286' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='label' data='Web Server' />
					<value target='max_channels' data='4' />
					<value target='html_source' data='000' />
					<value target='Directory' data='' />
					<value target='max_pages' data='4' />
					<value target='name1' data='index' />
					<value target='html1' data='HTTP/1.0 200 OK
Content-type: text/html

&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;html&gt; 
&lt;head&gt; 
&lt;title&gt;Internet E-Block Component&lt;/title&gt;
&lt;/head&gt;
&lt;body BGCOLOR=&quot;#FFFFFF&quot;&gt;
&lt;font face=&quot;arial&quot;&gt;
  &lt;H1&gt;This is a test&lt;/H1&gt;
  &lt;p&gt;Hello world&lt;/p&gt;
  &lt;p&gt;Temperature = %BOO1% &lt;/p&gt;
  &lt;p&gt;vals: [%%] %BOO1% - %BOO2% - %BOO3% - %BOO4%  -%BOO5% (end) &lt;/p&gt;
  &lt;p&gt;Note: only first 4 vars processed so last var should  be ignored.&lt;/p&gt;
&lt;/font&gt;
&lt;/body&gt;
&lt;/html&gt;
' />
					<value target='name2' data='page2' />
					<value target='html2' data='&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;html&gt; 
&lt;head&gt; 
&lt;title&gt;Internet E-Block Component page 2&lt;/title&gt;
&lt;/head&gt;
&lt;body BGCOLOR=&quot;#33FF33&quot;&gt;
&lt;font face=&quot;arial&quot;&gt;
  &lt;H1&gt;Welcome to page2&lt;/H1&gt;
&lt;/font&gt;
&lt;/body&gt;
&lt;/html&gt;
' />
					<value target='name3' data='page3' />
					<value target='html3' data='&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;html&gt; 
&lt;head&gt; 
&lt;title&gt;Internet E-Block Component page 3&lt;/title&gt;
&lt;/head&gt;
&lt;body BGCOLOR=&quot;#FF3333&quot;&gt;
&lt;font face=&quot;arial&quot;&gt;
  &lt;H1&gt;Welcome to page3&lt;/H1&gt;
&lt;/font&gt;
&lt;/body&gt;
&lt;/html&gt;
' />
					<value target='name4' data='page4' />
					<value target='html4' data='&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;html&gt; 
&lt;head&gt; 
&lt;title&gt;Internet E-Block Component page 2&lt;/title&gt;
&lt;/head&gt;
&lt;body BGCOLOR=&quot;#3333FF&quot;&gt;
&lt;font face=&quot;arial&quot;&gt;
  &lt;H1&gt;Welcome to page4&lt;/H1&gt;
&lt;/font&gt;
&lt;/body&gt;
&lt;/html&gt;
' />
					<value target='channel' data='000' />
					<value target='MOSI_pin' data='$PORTB.3' />
					<value target='MISO_pin' data='$PORTB.4' />
					<value target='CLK_pin' data='$PORTB.5' />
					<value target='CS_pin' data='$PORTB.2' />
					<value target='int_pin' data='$PORTD.2' />
					<value target='MosiRemap' data='' />
					<value target='MisoRemap' data='' />
					<value target='ClkRemap' data='' />
					<value target='gateway0' data='192' />
					<value target='gateway1' data='168' />
					<value target='gateway2' data='1' />
					<value target='gateway3' data='1' />
					<value target='subnet0' data='255' />
					<value target='subnet1' data='255' />
					<value target='subnet2' data='255' />
					<value target='subnet3' data='0' />
					<value target='ip0' data='192' />
					<value target='ip1' data='168' />
					<value target='ip2' data='1' />
					<value target='ip3' data='72' />
					<value target='mac0' data='0' />
					<value target='mac1' data='8' />
					<value target='mac2' data='220' />
					<value target='mac3' data='0' />
					<value target='mac4' data='0' />
					<value target='mac5' data='0' />
					<value target='html1_n' data='5' />
					<value target='html1_1' data='HTTP/1.0 200 OK
Content-type: text/html

&lt;!DOCTYPE HTML PUBLIC &quot;-//W' />
					<value target='html1_2' data='3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;html&gt; 
&lt;head&gt; 
&lt;title&gt;Internet ' />
					<value target='html1_3' data='E-Block Component&lt;/title&gt;
&lt;/head&gt;
&lt;body BGCOLOR=&quot;#FFFFFF&quot;&gt;
&lt;font fac' />
					<value target='html1_4' data='e=&quot;arial&quot;&gt;
  &lt;H1&gt;This is a test&lt;/H1&gt;
  &lt;p&gt;Hello world&lt;/p&gt;
  &lt;p&gt;Tempe' />
					<value target='html1_5' data='rature = %BOO1% &lt;/p&gt;
  &lt;p&gt;vals: [%%] %BOO1% - %BOO2% - %BOO3% - %BOO4%' />
					<value target='html2_n' data='4' />
					<value target='html2_1' data='&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;html&gt; ' />
					<value target='html2_2' data='
&lt;head&gt; 
&lt;title&gt;Internet E-Block Component page 2&lt;/title&gt;
&lt;/head&gt;
&lt;' />
					<value target='html2_3' data='body BGCOLOR=&quot;#33FF33&quot;&gt;
&lt;font face=&quot;arial&quot;&gt;
  &lt;H1&gt;Welcome to page2&lt;/H' />
					<value target='html2_4' data='1&gt;
&lt;/font&gt;
&lt;/body&gt;
&lt;/html&gt;
' />
					<value target='html2_5' data='' />
					<value target='html3_n' data='4' />
					<value target='html3_1' data='&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;html&gt; ' />
					<value target='html3_2' data='
&lt;head&gt; 
&lt;title&gt;Internet E-Block Component page 3&lt;/title&gt;
&lt;/head&gt;
&lt;' />
					<value target='html3_3' data='body BGCOLOR=&quot;#FF3333&quot;&gt;
&lt;font face=&quot;arial&quot;&gt;
  &lt;H1&gt;Welcome to page3&lt;/H' />
					<value target='html3_4' data='1&gt;
&lt;/font&gt;
&lt;/body&gt;
&lt;/html&gt;
' />
					<value target='html3_5' data='' />
					<value target='html4_n' data='4' />
					<value target='html4_1' data='&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;html&gt; ' />
					<value target='html4_2' data='
&lt;head&gt; 
&lt;title&gt;Internet E-Block Component page 2&lt;/title&gt;
&lt;/head&gt;
&lt;' />
					<value target='html4_3' data='body BGCOLOR=&quot;#3333FF&quot;&gt;
&lt;font face=&quot;arial&quot;&gt;
  &lt;H1&gt;Welcome to page4&lt;/H' />
					<value target='html4_4' data='1&gt;
&lt;/font&gt;
&lt;/body&gt;
&lt;/html&gt;
' />
					<value target='html4_5' data='' />
					<value target='chunk' data='71' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='14683ea8-5a08-4b3a-be2d-3dea3e17e720' vmin='2' vmaj='1' codename='v5__adc0' x='35' y='0' z='1.44754' xsz='14.2857' ysz='14.2857' zsz='1.14286' 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='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='channel' data='0' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='0' />
					<value target='convspd' data='3' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA-QMAAGoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
