<root>
<document schema='101' license='1,Venmar Ventilation,8PHZ08' title='' description='' target='PIC16.33E.33EP256MC502' >
	<config data='!0,ffcf!10,ffcf!20,ff7f!30,ff9f!40,ff39!50,ffff%0,3%4,0%5,0%14,0%15,0%16,3%20,f%24,1%25,1%26,1%27,0%30,3%32,1%35,0%36,2%40,1%46,0%47,0%50,1%51,1' clkspd='140000000' simspd='1' usewdt='1' constif='0' />
	<plugins >
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='Rec1_Angle' />
		<watch expr='Var1_Calc' />
		<watch expr='Angle_Deg' />
		<watch expr='Rec_angle' />
		<watch expr='Rec_Angle_High' />
		<watch expr='Rec_Angle_Low' />
		<watch expr='Angle_Deg_Low' />
		<watch expr='Angle_Deg_High' />
		<watch expr='Angle1' />
		<watch expr='Angle2' />
		<watch expr='Angle3' />
		<watch expr='Angle4' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='ff657835-08b8-4463-8745-434037536ff6' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='Misc' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Brake_Lbs_String' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Brake_Lbs_Float' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Angle' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</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='err' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Angle_Deg_Last' type='u16' description='' isconst='0' isinit='1' usrinit='999' setinit='999' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Brake_Input_Last' type='u16' description='' isconst='0' isinit='1' usrinit='9999' setinit='9999' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Angle_Deg' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Brake_Output' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Brake_Input' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ok' type='u16' 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='Read_Angle' description='' >
						<local name='Rec_Angle_High' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Rec_Angle_Low' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Last_Angle_Deg' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Var1_Calc' type='u32' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Rec_EF' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='call' title='Call Component Macro' component='CS_Read_Angle' macro='TurnOn' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
							<argument exp='0xff' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
							<argument exp='0xff' />
						</command>
						<command class_type='call' title='Call Component Macro' component='CS_Read_Angle' macro='TurnOff' />
						<command class_type='delay' title='Delay' exp='1' type='0' />
						<command class_type='call' title='Call Component Macro' component='CS_Read_Angle' macro='TurnOn' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='GetChar' >
							<return exp='.Rec_Angle_High' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='GetChar' >
							<return exp='.Rec_Angle_Low' />
						</command>
						<command class_type='call' title='Call Component Macro' component='CS_Read_Angle' macro='TurnOff' />
						<command class_type='delay' title='Delay' exp='1' type='0' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='.Rec_EF = .Rec_Angle_High &gt;&gt; 6' />
							<exp exp='.Rec_EF = .Rec_EF &amp; 0x01' />
						</command>
						<command class_type='decision' title='Decision' exp='.Rec_EF &gt;= 0x01' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='CS_Read_Angle' macro='TurnOn' />
								<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
									<argument exp='0x40' />
								</command>
								<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
									<argument exp='0x01' />
								</command>
								<command class_type='call' title='Call Component Macro' component='CS_Read_Angle' macro='TurnOff' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Rec_Angle_High = .Rec_Angle_High &amp; 0x3f' />
									<exp exp='.Var1_Calc = .Rec_Angle_Low + (.Rec_Angle_High * 256)' />
									<exp exp='.Var1_Calc = (.Var1_Calc * 360) / 16384' />
									<exp exp='Angle_Deg = .Var1_Calc' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Set_Brake' description='Set_Brake MCP4821 12-bit single DAC Converter SPI' >
						<local name='Set_Brake_High' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Set_Brake_Low' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Brake_Output = Angle_Deg * 11' />
							<exp exp='.Set_Brake_Low = Brake_Output' />
							<exp exp='.Set_Brake_High = Brake_Output &gt;&gt; 8' />
							<exp exp='.Set_Brake_High = .Set_Brake_High + 0x20' />
						</command>
						<command class_type='call' title='Call Component Macro' component='CS_Set_Brake' macro='TurnOn' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
							<argument exp='.Set_Brake_High' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
							<argument exp='.Set_Brake_Low' />
						</command>
						<command class_type='delay' title='Atraso' exp='20' type='0' />
						<command class_type='call' title='Call Component Macro' component='CS_Set_Brake' macro='TurnOff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Read_Brake' description='Read_Brake MCP3201 12-bit single ADC Converter SPI' >
						<local name='Rec_Brake_High' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Rec_B' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Rec_Brake_Low' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='call' title='Call Component Macro' component='CS_Read_Brake' macro='TurnOn' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='GetChar' >
							<return exp='.Rec_Brake_High' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='GetChar' >
							<return exp='.Rec_Brake_Low' />
						</command>
						<command class_type='delay' title='Atraso' exp='20' type='0' />
						<command class_type='call' title='Call Component Macro' component='CS_Read_Brake' macro='TurnOff' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Brake_Input = (.Rec_Brake_Low + (.Rec_Brake_High * 256)) &gt;&gt; 1' />
							<exp exp='Brake_Input = Brake_Input &amp; 0x1fff' />
							<exp exp='temp1 = .Rec_Brake_Low &amp; 0x00ff' />
							<exp exp='temp2 = .Rec_Brake_High &amp; 0x001f' />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='Brake_Lbs_Float = Brake_Input' />
							<exp exp='Brake_Lbs_Float = Brake_Lbs_Float * 15 / 4096' />
							<exp exp='Brake_Lbs_String = FloatToString$ (Brake_Lbs_Float)' />
							<exp exp='ok = ok + 1' />
							<exp exp='' />
							<exp exp='' />
						</command>
						<command class_type='decision' title='Decision' exp='Brake_Input &lt;&gt; Brake_Input_Last' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='PrintNumber' >
									<argument exp='Brake_Input' />
									<argument exp='75' />
									<argument exp='40' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='Print' >
									<argument exp='Brake_Lbs_String' />
									<argument exp='75' />
									<argument exp='60' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='Brake_Input_Last = Brake_Input' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='native' title='C Code' ccode='// 70Mips = 140Mhz = 7.37Mhz*M/N2/N1
PLLFBD=74; // 74 M=76
CLKDIVbits.PLLPOST=0; // N2=2
CLKDIVbits.PLLPRE=0; // N1=2' language='C' />
						<command class_type='call' title='Call Component Macro' component='CS_Read_Angle' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' component='CS_Set_Brake' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' component='CS_Read_Brake' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' component='CS_Read_Touch_Screen' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' component='CS_SD_Card' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='ClearDisplay' />
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='DrawLine' >
							<argument exp='0' />
							<argument exp='160' />
							<argument exp='240' />
							<argument exp='160' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='DrawLine' >
							<argument exp='80' />
							<argument exp='160' />
							<argument exp='80' />
							<argument exp='240' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='DrawLine' >
							<argument exp='160' />
							<argument exp='160' />
							<argument exp='160' />
							<argument exp='240' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='SetForegroundColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='255' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='Print' >
							<argument exp='&quot;VENMAR VENTILATION&quot;' />
							<argument exp='5' />
							<argument exp='5' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='Print' >
							<argument exp='&quot;TESTEUR SERVO 24V&quot;' />
							<argument exp='5' />
							<argument exp='20' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='SetForegroundColour' >
							<argument exp='255' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='Print' >
							<argument exp='&quot;Angle:&quot;' />
							<argument exp='5' />
							<argument exp='45' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='Print' >
							<argument exp='&quot;Volt:&quot;' />
							<argument exp='5' />
							<argument exp='60' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='Print' >
							<argument exp='&quot;Current:&quot;' />
							<argument exp='5' />
							<argument exp='75' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='Print' >
							<argument exp='&quot;Brake:&quot;' />
							<argument exp='5' />
							<argument exp='90' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='loop' title='Ciclo' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Macro' macro='Read_Angle' />
								<command class_type='decision' title='Decision' exp='Angle_Deg &lt;&gt; Angle_Deg_Last' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='Print' >
											<argument exp='&quot;Angle    &quot;' />
											<argument exp='5' />
											<argument exp='45' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='gLCD_ILI9341' macro='PrintNumber' >
											<argument exp='Angle_Deg' />
											<argument exp='75' />
											<argument exp='45' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='Angle_Deg_Last = Angle_Deg' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='4627d2fb-b41e-44cf-b125-e8511e5ebaa4' vmin='1' vmaj='1' codename='SPI_Master1' x='4' y='6' z='0.755' xsz='43.9999' ysz='12' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='001' />
					<value target='PR_SCALE' data='004' />
					<value target='CKP' data='000' />
					<value target='CKE' data='000' />
					<value target='SMP' data='000' />
					<value target='DAC_En' data='$PORTB.15' />
					<value target='NVM_En' data='$PORTB.14' />
					<value target='MOSI' data='$PORTB.8' />
					<value target='MISO' data='$PORTB.9' />
					<value target='CLK' data='$PORTB.7' />
					<value target='MosiRemap' data='' />
					<value target='MisoRemap' data='' />
					<value target='ClkRemap' data='' />
					<value target='label' data='SPI  Master' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ad052176-691e-4542-adb5-53f6fbea9b5b' vmin='0' vmaj='1' codename='CS_Read_Angle' x='28' y='8' z='0.95' 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='pin' data='$PORTB.6' />
					<value target='polarity' data='000' />
					<value target='on_color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ad052176-691e-4542-adb5-53f6fbea9b5b' vmin='0' vmaj='1' codename='CS_Set_Brake' x='28' y='4' z='0.95' 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='pin' data='$PORTB.11' />
					<value target='polarity' data='000' />
					<value target='on_color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ad052176-691e-4542-adb5-53f6fbea9b5b' vmin='0' vmaj='1' codename='CS_Read_Brake' x='28' y='0' z='0.95' 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='pin' data='$PORTB.12' />
					<value target='polarity' data='000' />
					<value target='on_color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='textbox' codename='textbox1' x='48' y='8' z='0.5' xsz='32' ysz='4' 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='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='2.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='001' />
					<value target='Text' data='CS_Read_Angle' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='textbox' codename='textbox2' x='48' y='4' z='0.5' xsz='32' ysz='4' 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='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='2.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='001' />
					<value target='Text' data='CS_Set_Brake' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='textbox' codename='textbox3' x='48' y='0' z='0.5' xsz='32' ysz='4' 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='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='2.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='001' />
					<value target='Text' data='CS_Read_Brake' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ad052176-691e-4542-adb5-53f6fbea9b5b' vmin='0' vmaj='1' codename='CS_Read_Touch_Screen' x='28' y='-4' z='0.95' 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='pin' data='$PORTB.13' />
					<value target='polarity' data='000' />
					<value target='on_color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ad052176-691e-4542-adb5-53f6fbea9b5b' vmin='0' vmaj='1' codename='CS_SD_Card' x='28' y='-8' z='0.95' 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='pin' data='$PORTB.14' />
					<value target='polarity' data='000' />
					<value target='on_color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='textbox' codename='textbox4' x='48' y='-4' z='0.5' xsz='32' ysz='4' 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='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='2.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='001' />
					<value target='Text' data='CS_Read_Touch_Screen' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='textbox' codename='textbox5' x='48' y='-8' z='0.5' xsz='32' ysz='4' 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='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='2.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='001' />
					<value target='Text' data='CS_SD_Card' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='2' vmaj='1' codename='An_Current_Servo' x='-28' y='0' z='5' xsz='4' ysz='10.6667' zsz='10' 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='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 class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='2' vmaj='1' codename='An_Volt_Servo' x='-20' y='0' z='5' xsz='4' ysz='10.6667' zsz='10' 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='tang_col' data='2960685' />
					<value target='mark_col' data='255' />
					<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='textbox' codename='textbox6' x='-28' y='8' z='0.5' xsz='8' ysz='4' 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='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='2.000000' />
					<value target='AlignX' data='001' />
					<value target='AlignY' data='001' />
					<value target='Text' data='Current' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='textbox' codename='textbox7' x='-20' y='8' z='-0.15' xsz='8' ysz='4' 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='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='2.000000' />
					<value target='AlignX' data='001' />
					<value target='AlignY' data='001' />
					<value target='Text' data='Volt' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='bc0a0612-ef85-48fb-8960-5e78f4083df1' vmin='6' vmaj='1' codename='gLCD_ILI9341' x='-48' y='0' z='0' xsz='0.304436' ysz='0.285388' zsz='0' 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='pixel_height' data='320' />
					<value target='pixel_width' data='240' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='colour_bit_depth' data='16' />
					<value target='red_bit_depth' data='5' />
					<value target='green_bit_depth' data='6' />
					<value target='blue_bit_depth' data='5' />
					<value target='dataout_pin' data='$PORTB.0' />
					<value target='clock_pin' data='$PORTB.1' />
					<value target='chip_sel_pin' data='$PORTB.2' />
					<value target='dc_pin' data='$PORTB.3' />
					<value target='reset_pin' data='$PORTB.4' />
					<value target='led_pin' data='$PORTB.5' />
					<value target='DisplayMethod' data='000' />
				</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='4' />
		<table rgb='5450801' img='' style='0' size='25' />
		<camera xe='0' ye='0' ze='156.491' 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---------------------wAAAAAUAAAAZQMAAMcCAAA' zoom='70' scrollx='0' scrolly='244' flags='0' />
		<view type='0' name='Read_Angle' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAZQMAAMcCAAA' zoom='75' scrollx='0' scrolly='108' flags='0' />
		<view type='0' name='Read_Brake' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAZQMAAMcCAAA' zoom='75' scrollx='0' scrolly='30' flags='0' />
		<view type='0' name='Set_Brake' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAZQMAAMcCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
