<root>
<document scada='0' schema='102' license='1,Dev User,H1YQFU' title='MVB' description='' fcversion='524802' target='PIC.16F.16F1825' >
	<config data='!0,9e4!10,1cff%0,4%3,0%5,1%6,1%7,1%8,1%9,0%b,1%c,0%d,0%10,3%18,0%19,0%1a,1%1c,1%1d,0' clkspd='8000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='R' />
		<watch expr='Resistance' />
		<watch expr='read' />
		<watch expr='SELECT' />
		<watch expr='R1' />
	</debug>
	<traces />
	<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='21' />
			<data name='CalculatedCommsDelay' value='21' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</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='86d7fd4e-3cbb-4275-86f2-b669d1ccdc81' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='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' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties >
				<property name='Clock (SCL)' target='I2C_Master1::SCL' typeid='5' hidden='0' locked='0' info='I2C clock pin commonly referred to as SCL which represents serial clock' />
			</properties>
			<values >
				<value target='I2C_Master1::SCL' data='$PORTC.0' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Resistance' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Divider' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</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='read' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SELECT' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Resistance2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OpenCircuit' type='b1' 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='VALUE' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Divider' >
							<case >
								<flowline />
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
										<argument exp='&quot;K&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
										<argument exp='&quot;M&quot;' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintAscii' >
							<argument exp='244' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ADC' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='ReferenceResistor' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='R' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='Read' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='PullUpResistorUsed' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.PullUpResistorUsed = 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.PullUpResistorUsed' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='Only used if tested for internal input impedance and using pulldown resistor' textarea='63,93,63,93' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='calculation' title='Parallels ADC input  impedance with the  pull-down resistor ' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.ReferenceResistor = 1500000.0' />
									<exp exp='' />
								</command>
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='The 500000000 is the micro internal impedance.
How I worked it out was to connect 
a high value pot value in series with a very high resistance 
from ADC to VDD.
Nothing else should be on the ADC pin.
carfuly watching the ADC value rotate pot until ADC reads 512.
Measure the pot resistance and that is the ADC internal impedance.

 ' textarea='159,144,159,144' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='calculation' title='Parallels ADC input  impedance with the  pull-down resistor ' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.ReferenceResistor = 1500000.0' />
									<exp exp='.ReferenceResistor = .ReferenceResistor * 500000000.0 / (.ReferenceResistor + 500000000.0)' />
									<exp exp='' />
									<exp exp='' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pot_ptr_black1' macro='GetAverageInt' >
							<return exp='Read' />
							<argument exp='220' />
							<argument exp='220' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.PullUpResistorUsed' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Read &gt; 1020' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='OpenCircuit = 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='OpenCircuit = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Read &lt; 3' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='OpenCircuit = 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='OpenCircuit = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='OpenCircuit' swap='0' >
							<flowline >
								<command class_type='calculation' title='Open circuit. Set .R to 0 Ohms' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.R = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.PullUpResistorUsed' swap='0' >
									<flowline >
										<command class_type='calculation' title='Used if using a pull-up resistor ' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.R = .ReferenceResistor / (1023.0 / FLOAT Read - 1.0)' />
											<exp exp='' />
											<exp exp='' />
											<exp exp='' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Used if using a pull-down resistor ' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.R = .ReferenceResistor / (1023.0 / (1023.0 - FLOAT Read) - 1.0)' />
											<exp exp='' />
											<exp exp='' />
											<exp exp='' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Resistance2 = FloatToString$ (.R)' />
							<exp exp='' />
							<exp exp='' />
							<exp exp='' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.R &gt;= 1000000' swap='0' >
							<flowline >
								<command class_type='calculation' title='Divide by 1000000' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Divider = 6' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.R &gt;= 1000' swap='0' >
									<flowline >
										<command class_type='calculation' title='Divide by 1000' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='Divider = 3' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='No divide' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='Divider = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.R = .R / pow (10,Divider) //pow = power function' />
							<exp exp='Resistance = FloatToString$ (.R)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='C Code' ccode='OSCCON =0X70;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Start' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='SetI2CAddress' >
							<argument exp='39' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot;       TEST&quot;' />
						</command>
						<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='3' type='2' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Clear' />
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='switch_array_push1' macro='ReadAll' >
									<return exp='SELECT' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='SELECT' >
									<case >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ADC' />
											<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='OpenCircuit' swap='0' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
														<argument exp='&quot;                    &quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
														<argument exp='20' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
														<argument exp='&quot;                    &quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
														<argument exp='20' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
														<argument exp='&quot;                    &quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
														<argument exp='&quot;   PLEASE CONNECT  &quot;' />
													</command>
												</flowline>
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
														<argument exp='&quot;                   &quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
														<argument exp='&quot;PRESS A = PIN VALUES &quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
														<argument exp='20' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
														<argument exp='&quot;PRESS B = O/C CHECKS&quot;' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Clear' />
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ADC' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
												<argument exp='&quot;PINS 1&amp;2 = &quot;' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
												<argument exp='Resistance' />
											</command>
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='VALUE' />
											<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='SELECT = 2' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='switch_array_push1' macro='ReadAll' >
														<return exp='SELECT' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='comment' title='' comment='RESET LINE' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Clear' />
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
										</flowline>
									</case>
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='d7e01665-00e9-4091-8aa6-b9a0dd265bce' vmin='4' vmaj='1' codename='pot_ptr_black1' x='-73.7529' y='-3.75296' z='49.5826' xsz='120' ysz='120' zsz='113.165' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='angle_start' data='225.000000' />
					<value target='angle_sweep' data='270.000000' />
					<value target='color' data='16777215' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='6' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='005' />
					<value target='actime' data='60' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='bcd6a955-12c6-4ed4-a22f-f16eb62e0762' vmin='0' vmaj='2' codename='lcd_I2C1' x='90' y='165.527' z='39.5524' xsz='5.5' ysz='5.50964' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Address' data='39' />
					<value target='cal_i2c1::CHANNEL' data='000' />
					<value target='cal_i2c1::BAUD_LIST' data='001' />
					<value target='cal_i2c1::BAUD' data='100000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::SDA' data='$PORTC.1' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTC.0' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='Rows' data='004' />
					<value target='Columns' data='020' />
					<value target='UseBL' data='0' />
					<value target='SimComms' data='0' />
					<value target='cal_i2c1::ScopeTraces' data='0' />
					<value target='cal_i2c1::ConsoleData' data='0' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='208101fb-f735-4e83-980b-c1d2b4be28ff' vmin='0' vmaj='2' codename='switch_array_push1' x='102.708' y='2.97244' z='16.0909' xsz='6.36364' ysz='6.36364' zsz='6.36364' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='count' data='2' />
					<value target='port' data='011' />
					<value target='PortByte' data='$PORTA0' />
					<value target='pin0' data='$PORTA.5' />
					<value target='pin1' data='$PORTA.4' />
					<value target='pin2' data='$PORTA0.2' />
					<value target='pin3' data='$PORTA0.3' />
					<value target='pin4' data='$PORTA0.4' />
					<value target='pin5' data='$PORTA0.5' />
					<value target='pin6' data='$PORTA0.6' />
					<value target='pin7' data='$PORTA0.7' />
					<value target='polarity' data='000' />
					<value target='debounce' data='6' />
					<value target='operation' data='000' />
					<value target='align' data='000' />
					<value target='spacing' data='12.000000' />
					<value target='reverse' data='1' />
					<value target='show_labels' data='004' />
					<value target='label_color' data='16777215' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d7e01665-00e9-4091-8aa6-b9a0dd265bce' vmin='4' vmaj='1' codename='pot_ptr_black3' x='-68.6863' y='-221.314' z='48.8466' xsz='120' ysz='120' zsz='111.793' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='angle_start' data='225.000000' />
					<value target='angle_sweep' data='270.000000' />
					<value target='color' data='16777215' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='2' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='002' />
					<value target='actime' data='60' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='2105930' img='' style='0' />
		<camera xe='0' ye='0' ze='521.874' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='161.644' ye='-6.88013' ze='1065.61' xt='161.644' yt='-6.88013' 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='ADC' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAATAMAAFICAAA' zoom='75' scrollx='0' scrolly='192' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAATAMAAFICAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
