<root>
<document schema='101' license='1,Jorgen Gundorph,HQ43Q9' 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='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='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='55755307-47ce-4a73-98a5-c01ab3023941' 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='1' 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='Ligth' type='u8' description='' 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='Main' description='' >
						<command class_type='comment' title='' comment='

Define some values used by the panel and buttons

Button RIGHT    
Button DOWN   
Button LEFT   
Button SELECT 
Button UP




' textarea='12,0,12,0' />
						<command class_type='call' title='Start' component='lcd_eb005' macro='Start' />
						<command class_type='call' title='Clear' component='lcd_eb005' macro='Clear' />
						<command class_type='call' title='Print &quot;Test&quot;' component='lcd_eb005' macro='PrintString' >
							<argument exp='&quot;Test&quot;' />
						</command>
						<command class_type='call' title='Cursor' component='lcd_eb005' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='&quot;Test ok line 2&quot;' component='lcd_eb005' macro='PrintString' >
							<argument exp='&quot;Test ok line 2&quot;' />
						</command>
						<command class_type='call' title='Delete' component='lcd_eb005' macro='Clear' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb005' macro='PrintString' >
							<argument exp='&quot;Analog Value:&quot;' />
						</command>
						<command class_type='delay' title='Delay' exp='3' type='2' />
						<command class_type='output' title='Display ligth' mode='1' port='1048577' mask='4' exp='1' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='label' title='Connection Point' labelid='0' labelname='A' />
								<command class_type='label' title='Connection Point' labelid='1' labelname='B' />
								<command class_type='label' title='Connection Point' labelid='2' labelname='C' />
								<command class_type='label' title='Connection Point' labelid='3' labelname='D' />
								<command class_type='label' title='Connection Point' labelid='4' labelname='E' />
								<command class_type='call' title='Call Component Macro' component='slider_plastic1' macro='GetByte' >
									<return exp='Ligth' />
								</command>
								<command class_type='decision' title='Ligth &lt; 15' exp='Ligth &lt; 15' swap='0' >
									<flowline >
										<command class_type='output' title='Display ligth' mode='1' port='1048577' mask='4' exp='1' />
										<command class_type='call' title='Clear line 1' component='lcd_eb005' macro='ClearLine' >
											<argument exp='1' />
										</command>
										<command class_type='call' title='Coursor 1' component='lcd_eb005' macro='Cursor' >
											<argument exp='0' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='&quot;Rigth&quot;' component='lcd_eb005' macro='PrintString' >
											<argument exp='&quot;Rigth  &quot;' />
										</command>
										<command class_type='call' title='Print Analog Ligth' component='lcd_eb005' macro='PrintNumber' >
											<argument exp='Ligth' />
										</command>
										<command class_type='delay' title='Delay' exp='300' type='1' />
										<command class_type='goto' title='Goto Connection Point' labelid='0' labelname='' />
									</flowline>
									<flowline >
										<command class_type='decision' title='Ligth &lt; 35' exp='Ligth &lt; 35' swap='0' >
											<flowline >
												<command class_type='output' title='Display ligth' mode='1' port='1048577' mask='4' exp='1' />
												<command class_type='call' title='Clear line 1' component='lcd_eb005' macro='ClearLine' >
													<argument exp='1' />
												</command>
												<command class_type='call' title='Coursor 1' component='lcd_eb005' macro='Cursor' >
													<argument exp='0' />
													<argument exp='1' />
												</command>
												<command class_type='call' title='Up' component='lcd_eb005' macro='PrintString' >
													<argument exp='&quot;Up  &quot;' />
												</command>
												<command class_type='call' title='Print Analog Ligth' component='lcd_eb005' macro='PrintNumber' >
													<argument exp='Ligth' />
												</command>
												<command class_type='delay' title='Delay' exp='300' type='1' />
												<command class_type='goto' title='Goto Connection Point' labelid='1' labelname='' />
											</flowline>
											<flowline >
												<command class_type='decision' title='Ligth &lt; 80' exp='Ligth &lt; 80' swap='0' >
													<flowline >
														<command class_type='output' title='Display ligth' mode='1' port='1048577' mask='4' exp='1' />
														<command class_type='call' title='Clear line 1' component='lcd_eb005' macro='ClearLine' >
															<argument exp='1' />
														</command>
														<command class_type='call' title='Coursor 1' component='lcd_eb005' macro='Cursor' >
															<argument exp='0' />
															<argument exp='1' />
														</command>
														<command class_type='call' title='Down' component='lcd_eb005' macro='PrintString' >
															<argument exp='&quot;Down  &quot;' />
														</command>
														<command class_type='call' title='Print Analog Ligth' component='lcd_eb005' macro='PrintNumber' >
															<argument exp='Ligth' />
														</command>
														<command class_type='delay' title='Delay' exp='300' type='1' />
														<command class_type='goto' title='Goto Connection Point' labelid='3' labelname='' />
													</flowline>
													<flowline >
														<command class_type='decision' title='Ligth &lt; 110' exp='Ligth &lt; 110' swap='0' >
															<flowline >
																<command class_type='output' title='Display ligth' mode='1' port='1048577' mask='4' exp='1' />
																<command class_type='call' title='Clear line 1' component='lcd_eb005' macro='ClearLine' >
																	<argument exp='1' />
																</command>
																<command class_type='call' title='Coursor 1' component='lcd_eb005' macro='Cursor' >
																	<argument exp='0' />
																	<argument exp='1' />
																</command>
																<command class_type='call' title='&quot;Left&quot;' component='lcd_eb005' macro='PrintString' >
																	<argument exp='&quot;Left  &quot;' />
																</command>
																<command class_type='call' title='Print Analog Ligth' component='lcd_eb005' macro='PrintNumber' >
																	<argument exp='Ligth' />
																</command>
																<command class_type='delay' title='Delay' exp='300' type='1' />
																<command class_type='goto' title='Goto Connection Point' labelid='4' labelname='' />
															</flowline>
															<flowline >
																<command class_type='decision' title='Ligth &lt; 170' exp='Ligth &lt; 170' swap='0' >
																	<flowline >
																		<command class_type='output' title='Display ligth' mode='1' port='1048577' mask='4' exp='1' />
																		<command class_type='call' title='Clear line 1' component='lcd_eb005' macro='ClearLine' >
																			<argument exp='1' />
																		</command>
																		<command class_type='call' title='Coursor 1' component='lcd_eb005' macro='Cursor' >
																			<argument exp='0' />
																			<argument exp='1' />
																		</command>
																		<command class_type='call' title='&quot;Select&quot;' component='lcd_eb005' macro='PrintString' >
																			<argument exp='&quot;Select  &quot;' />
																		</command>
																		<command class_type='call' title='Print Analog Ligth' component='lcd_eb005' macro='PrintNumber' >
																			<argument exp='Ligth' />
																		</command>
																		<command class_type='delay' title='Delay' exp='300' type='1' />
																		<command class_type='goto' title='Goto Connection Point' labelid='4' labelname='' />
																	</flowline>
																	<flowline />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
												<command class_type='call' title='Delete line 0' component='lcd_eb005' macro='ClearLine' >
													<argument exp='1' />
												</command>
												<command class_type='call' title='Write line 1 Analog value' component='lcd_eb005' macro='Cursor' >
													<argument exp='0' />
													<argument exp='1' />
												</command>
												<command class_type='call' title='Value_Ligth' component='lcd_eb005' macro='PrintNumber' >
													<argument exp='Ligth' />
												</command>
												<command class_type='delay' title='Delay' exp='1' type='2' />
												<command class_type='output' title='Display ligth OFF' mode='1' port='1048577' mask='4' exp='0' />
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Knap_Value' description='' >
						<command class_type='call' title='Ligth' component='slider_plastic1' macro='GetByte' >
							<return exp='Ligth' />
						</command>
						<command class_type='call' title='Slet' component='lcd_eb005' macro='Clear' />
						<command class_type='call' title='Value_Ligth' component='lcd_eb005' macro='PrintNumber' >
							<argument exp='Ligth' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='2' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='d29dda88-17de-4008-991a-c881890d4c57' vmin='1' vmaj='1' codename='lcd_eb005' x='-64' y='40' z='3.575' xsz='1.3' ysz='1.10193' 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='Pin_Data_0' data='$PORTD.4' />
					<value target='Pin_Data_1' data='$PORTD.5' />
					<value target='Pin_Data_2' data='$PORTD.6' />
					<value target='Pin_Data_3' data='$PORTD.7' />
					<value target='Pin_RS' data='$PORTB.0' />
					<value target='Pin_E' data='$PORTB.1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='2' vmaj='1' codename='slider_plastic1' x='16' y='16' z='5' xsz='12.502' ysz='100' zsz='10' 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='tang_col' data='2960685' />
					<value target='mark_col' data='255' />
					<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>
	</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---------------------wAAAAAUAAAAawUAAHMDAAA' zoom='75' scrollx='0' scrolly='176' flags='0' />
		<view type='0' name='Knap_Value' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAawUAAHMDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
