<root>
<document scada='0' projtype='1' schema='103' license='1,43418841,WP9QTX' title='Advanced touch displays - PIC' description='Autodetected info:

	Name:	E-Blocks3 ArdMega Programmer
	Code:	BL1281
	Family:	ARD


Connected boards:

	PORTA:	
	PORTB:	
	PORTC:	
	PORTD:	
	PORTE:	
	PORTF:	
	Internal:	GLCD
	Internal:	DisplayManager
	Internal:	UART
	Internal:	Bluetooth
	Internal:	Wifi
' fcversion='720896' target='ESP.ESP32.ESP32_DEVKITV1' >
	<config data='' clkspd='240000000' simspd='0' usewdt='0' constif='0' commport='3' SSH_IP='DD6171BB7AD97877' SSH_User='DD6171BB7AD97877' SSH_Pass='DD6171BB7AD97877' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<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='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='1' />
			<data name='CalculatedCommsDelay' value='1' />
			<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='0' center='1' unitscale='0' fixedscale='0' fixedx='25' fixedy='25' fixedz='25' headcode='0' />
		<definition guid='7e5c0d4c-de49-46b6-8a18-6fc03af011eb' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' bIs3dOnly='0' bIsWysiwyg='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' showmacros='1' iconpath='' />
		<component class_type='root' codename='ComponentRoot' panelId='-1' 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' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='value' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TouchedObjectID' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Y' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='X' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='touch' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='value_float' type='f32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0.0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='DC_Touched' description='Optional macro called by the DisplayManager::CheckForTouch component macro when the defined area is touched' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Handle' type='h32' description='The handle of the component that was clicked' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='.Handle' >
							<case >
								<flowline />
							</case>
							<case exp='gotoscreen1' >
								<flowline >
									<command class_type='call' title='Component Macro' component='DisplayManager1' macro='DrawScene' >
										<argument exp='1' />
									</command>
								</flowline>
							</case>
							<case exp='gotoscreen0' >
								<flowline >
									<command class_type='call' title='Component Macro' component='DisplayManager1' macro='DrawScene' >
										<argument exp='0' />
									</command>
								</flowline>
							</case>
							<case exp='up' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='value = value + 1' />
									</command>
									<command class_type='call' title='Component Macro' component='value_display' macro='SetTextNumber' >
										<argument exp='value' />
										<argument exp='&quot;&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='down' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='value = value - 1' />
									</command>
									<command class_type='call' title='Component Macro' component='value_display' macro='SetTextNumber' >
										<argument exp='value' />
										<argument exp='&quot;&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='slider' >
								<flowline >
									<command class_type='call' title='Component Macro' component='Slider' macro='GetSliderValue' >
										<return exp='value_float' />
									</command>
									<command class_type='calculation' title='Calculation' >
										<exp exp='value = value_float * 100.00' />
									</command>
									<command class_type='call' title='Component Macro' component='value_display' macro='SetTextNumber' >
										<argument exp='value' />
										<argument exp='&quot;&quot;' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' component='gLCD_ST7796_SPI1' macro='Initialise' />
						<command class_type='call' title='Component Macro' component='DisplayManager1' macro='Initialise' />
						<command class_type='call' title='Component Macro' component='DisplayManager1' macro='DrawScene' >
							<argument exp='0' />
						</command>
						<command class_type='loop' title='Loop' type='3' exp='1' >
							<flowline >
								<command class_type='call' title='Component Macro' component='XPT2046' macro='SampleSensor' >
									<return exp='touch' />
								</command>
								<command class_type='decision' title='Touch Detected?' exp='Touch' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' component='XPT2046' macro='ReadCoord' >
											<return exp='X' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' component='XPT2046' macro='ReadCoord' >
											<return exp='Y' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='check to see if display is touched' component='DisplayManager1' macro='CheckForTouch' >
											<return exp='TouchedObjectID' />
											<argument exp='X' />
											<argument exp='Y' />
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='Call NoTouch to clear repeat rate counter' textarea='12,0,12,0' />
										<command class_type='call' title='No touch detected' component='DisplayManager1' macro='NoTouch' />
									</flowline>
								</command>
								<command class_type='delay' title='Delay' exp='10' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='cbfb3c21-f13d-488d-9b90-400c8d4fc605' vmin='0' vmaj='24' codename='DisplayManager1' panelId='0' x='95' y='-196.093' z='0' xsz='25.3907' ysz='25.6063' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='GLCDComponent' data='1659' />
					<value target='LibraryComponent1::OutputIcon::LinkTo' data='001' />
					<value target='LibraryComponent1::InputIcon::LinkTo' data='000' />
					<value target='RamUsage' data='560' />
					<value target='TextAlignOffset' data='4' />
					<value target='BackgroundColour' data='16777215' />
					<value target='DisplayType' data='0' />
					<value target='LibraryType' data='0' />
					<value target='IsSim' data='0' />
					<value target='PostInit' data='1' />
					<value target='EB3_Display' data='' />
					<value target='EB3_WebMirror' data='' />
					<value target='MaxObjects' data='20' />
					<value target='ObjThemeCount' data='0' />
					<value target='Obj_Fg_0' data='0' />
					<value target='Obj_Bg_0' data='16777215' />
					<value target='Obj_Fg_1' data='16711680' />
					<value target='Obj_Bg_1' data='16776960' />
					<value target='Obj_Fg_2' data='65280' />
					<value target='Obj_Bg_2' data='0' />
					<value target='Obj_Fg_3' data='16711680' />
					<value target='Obj_Bg_3' data='65535' />
					<value target='Obj_Fg_4' data='16777215' />
					<value target='Obj_Bg_4' data='0' />
					<value target='Obj_Fg_5' data='' />
					<value target='Obj_Bg_5' data='' />
					<value target='Obj_Fg_6' data='' />
					<value target='Obj_Bg_6' data='' />
					<value target='Obj_Fg_7' data='' />
					<value target='Obj_Bg_7' data='' />
					<value target='MaxWidgets' data='20' />
					<value target='TouchRepeatRate' data='10' />
					<value target='WidgetThemeCount' data='0' />
					<value target='Btn_Fg_0' data='' />
					<value target='Btn_Bg_0' data='16777215' />
					<value target='Btn_Hl_0' data='5921370' />
					<value target='Btn_Ll_0' data='9868950' />
					<value target='Btn_Fg_1' data='16711680' />
					<value target='Btn_Bg_1' data='16776960' />
					<value target='Btn_Hl_1' data='16729600' />
					<value target='Btn_Ll_1' data='16744448' />
					<value target='Btn_Fg_2' data='16711680' />
					<value target='Btn_Bg_2' data='65535' />
					<value target='Btn_Hl_2' data='16711935' />
					<value target='Btn_Ll_2' data='65280' />
					<value target='Btn_Fg_3' data='255' />
					<value target='Btn_Bg_3' data='16776960' />
					<value target='Btn_Hl_3' data='65535' />
					<value target='Btn_Ll_3' data='16711680' />
					<value target='Btn_Fg_4' data='0' />
					<value target='Btn_Bg_4' data='16776960' />
					<value target='Btn_Hl_4' data='255' />
					<value target='Btn_Ll_4' data='49407' />
					<value target='Btn_Fg_5' data='' />
					<value target='Btn_Bg_5' data='' />
					<value target='Btn_Hl_5' data='' />
					<value target='Btn_Ll_5' data='' />
					<value target='Btn_Fg_6' data='' />
					<value target='Btn_Bg_6' data='' />
					<value target='Btn_Hl_6' data='' />
					<value target='Btn_Ll_6' data='' />
					<value target='Btn_Fg_7' data='' />
					<value target='Btn_Bg_7' data='' />
					<value target='Btn_Hl_7' data='' />
					<value target='Btn_Ll_7' data='' />
					<value target='DC_Enabled' data='1' />
					<value target='EnableCallbacks' data='1' />
					<value target='Orientation' data='000' />
					<value target='SceneCount' data='2' />
					<value target='Scene0' data='1' />
					<value target='Layout0' data='67,150,150,150,87,1,20,0,30,0,168,0,38,0,1,0,0,0,255,255,255,0,0,0,90,90,90,1,213,5,83,0,1,1,103,111,32,116,111,32,115,99,114,101,101,110,32,49,0,87,1,140,0,90,0,48,0,38,0,1,0,0,0,180,180,180,0,0,0,90,90,90,1,255,5,83,0,1,1,85,80,0,87,1,140,0,4,1,88,0,38,0,1,0,0,0,180,180,180,0,0,0,90,90,90,1,13,6,83,0,1,1,68,79,87,78,0,79,1,150,0,180,0,80,0,40,0,0,0,0,0,255,255,255,0,0,0,83,0,1,1,48,0,87,4,59,0,100,0,40,0,180,0,10,0,255,0,255,255,255,150,150,150,90,90,90,30,55,6,' />
					<value target='Count0' data='169' />
					<value target='Callback0' data='&amp;FCM_DC_Touched,&amp;FCM_DC_Touched,&amp;FCM_DC_Touched,&amp;FCM_DC_Touched' />
					<value target='CBCount0' data='4' />
					<value target='Scene1' data='2' />
					<value target='Layout1' data='67,128,0,0,87,1,20,0,30,0,168,0,38,0,1,0,0,0,255,255,255,0,0,0,90,90,90,1,241,5,83,0,1,1,103,111,32,116,111,32,115,99,114,101,101,110,32,48,0,' />
					<value target='Count1' data='49' />
					<value target='Callback1' data='&amp;FCM_DC_Touched' />
					<value target='CBCount1' data='1' />
					<value target='Scene2' data='3' />
					<value target='Layout2' data='' />
					<value target='Count2' data='' />
					<value target='Callback2' data='' />
					<value target='CBCount2' data='' />
					<value target='Scene3' data='4' />
					<value target='Layout3' data='' />
					<value target='Count3' data='' />
					<value target='Callback3' data='' />
					<value target='CBCount3' data='' />
					<value target='Scene4' data='5' />
					<value target='Layout4' data='' />
					<value target='Count4' data='' />
					<value target='Callback4' data='' />
					<value target='CBCount4' data='' />
					<value target='Scene5' data='6' />
					<value target='Layout5' data='' />
					<value target='Count5' data='' />
					<value target='Callback5' data='' />
					<value target='CBCount5' data='' />
					<value target='Scene6' data='7' />
					<value target='Layout6' data='' />
					<value target='Count6' data='' />
					<value target='Callback6' data='' />
					<value target='CBCount6' data='' />
					<value target='Scene7' data='8' />
					<value target='Layout7' data='' />
					<value target='Count7' data='' />
					<value target='Callback7' data='' />
					<value target='CBCount7' data='' />
					<value target='Scene8' data='9' />
					<value target='Layout8' data='' />
					<value target='Count8' data='' />
					<value target='Callback8' data='' />
					<value target='CBCount8' data='' />
					<value target='Scene9' data='10' />
					<value target='Layout9' data='' />
					<value target='Count9' data='' />
					<value target='Callback9' data='' />
					<value target='CBCount9' data='' />
					<value target='Scene10' data='11' />
					<value target='Layout10' data='' />
					<value target='Count10' data='' />
					<value target='Callback10' data='' />
					<value target='CBCount10' data='' />
					<value target='Scene11' data='12' />
					<value target='Layout11' data='' />
					<value target='Count11' data='' />
					<value target='Callback11' data='' />
					<value target='CBCount11' data='' />
					<value target='Scene12' data='13' />
					<value target='Layout12' data='' />
					<value target='Count12' data='' />
					<value target='Callback12' data='' />
					<value target='CBCount12' data='' />
					<value target='Scene13' data='14' />
					<value target='Layout13' data='' />
					<value target='Count13' data='' />
					<value target='Callback13' data='' />
					<value target='CBCount13' data='' />
					<value target='Scene14' data='15' />
					<value target='Layout14' data='' />
					<value target='Count14' data='' />
					<value target='Callback14' data='' />
					<value target='CBCount14' data='' />
					<value target='Scene15' data='16' />
					<value target='Layout15' data='' />
					<value target='Count15' data='' />
					<value target='Callback15' data='' />
					<value target='CBCount15' data='' />
					<value target='Scene16' data='17' />
					<value target='Layout16' data='' />
					<value target='Count16' data='' />
					<value target='Callback16' data='' />
					<value target='CBCount16' data='' />
					<value target='Scene17' data='18' />
					<value target='Layout17' data='' />
					<value target='Count17' data='' />
					<value target='Callback17' data='' />
					<value target='CBCount17' data='' />
					<value target='Scene18' data='19' />
					<value target='Layout18' data='' />
					<value target='Count18' data='' />
					<value target='Callback18' data='' />
					<value target='CBCount18' data='' />
					<value target='Scene19' data='20' />
					<value target='Layout19' data='' />
					<value target='Count19' data='' />
					<value target='Callback19' data='' />
					<value target='CBCount19' data='' />
					<value target='Scene20' data='21' />
					<value target='Layout20' data='' />
					<value target='Count20' data='' />
					<value target='Callback20' data='' />
					<value target='CBCount20' data='' />
					<value target='Scene21' data='22' />
					<value target='Layout21' data='' />
					<value target='Count21' data='' />
					<value target='Callback21' data='' />
					<value target='CBCount21' data='' />
					<value target='Scene22' data='23' />
					<value target='Layout22' data='' />
					<value target='Count22' data='' />
					<value target='Callback22' data='' />
					<value target='CBCount22' data='' />
					<value target='Scene23' data='24' />
					<value target='Layout23' data='' />
					<value target='Count23' data='' />
					<value target='Callback23' data='' />
					<value target='CBCount23' data='' />
					<value target='Scene24' data='25' />
					<value target='Layout24' data='' />
					<value target='Count24' data='' />
					<value target='Callback24' data='' />
					<value target='CBCount24' data='' />
					<value target='Scene25' data='26' />
					<value target='Layout25' data='' />
					<value target='Count25' data='' />
					<value target='Callback25' data='' />
					<value target='CBCount25' data='' />
					<value target='Scene26' data='' />
					<value target='Layout26' data='27' />
					<value target='Count26' data='' />
					<value target='Callback26' data='' />
					<value target='CBCount26' data='' />
					<value target='Scene27' data='28' />
					<value target='Layout27' data='' />
					<value target='Count27' data='' />
					<value target='Callback27' data='' />
					<value target='CBCount27' data='' />
					<value target='Scene28' data='29' />
					<value target='Layout28' data='' />
					<value target='Count28' data='' />
					<value target='Callback28' data='' />
					<value target='CBCount28' data='' />
					<value target='Scene29' data='30' />
					<value target='Layout29' data='' />
					<value target='Count29' data='' />
					<value target='Callback29' data='' />
					<value target='CBCount29' data='' />
					<value target='XPixels' data='320' />
					<value target='YPixels' data='480' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d13b1e7c-32a2-4117-9b76-8cd03399dc3c' vmin='0' vmaj='1' codename='gotoscreen1' panelId='1' x='125' y='-90' z='0' xsz='106.25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ID' data='21' />
					<value target='DisplayManager' data='13' />
					<value target='ShapeType' data='1' />
					<value target='Type' data='87' />
					<value target='UseThemes' data='0' />
					<value target='ObjectTheme' data='000' />
					<value target='WidgetTheme' data='000' />
					<value target='LineWidth' data='1' />
					<value target='FgColour' data='0' />
					<value target='BgColour' data='16777215' />
					<value target='HlColour' data='5921370' />
					<value target='Touchable' data='1' />
					<value target='DrawHighlight' data='1' />
					<value target='UseCallback' data='1' />
					<value target='TouchCallback' data='DC_Touched' />
					<value target='Text' data='go to screen 1' />
					<value target='Font' data='000' />
					<value target='HAlignment' data='001' />
					<value target='VAlignment' data='001' />
					<value target='TextTheme' data='000' />
					<value target='TextColour' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d13b1e7c-32a2-4117-9b76-8cd03399dc3c' vmin='0' vmaj='1' codename='gotoscreen0' panelId='2' x='125' y='-90' z='0' xsz='106.25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ID' data='21' />
					<value target='DisplayManager' data='13' />
					<value target='ShapeType' data='1' />
					<value target='Type' data='87' />
					<value target='UseThemes' data='0' />
					<value target='ObjectTheme' data='000' />
					<value target='WidgetTheme' data='000' />
					<value target='LineWidth' data='1' />
					<value target='FgColour' data='0' />
					<value target='BgColour' data='16777215' />
					<value target='HlColour' data='5921370' />
					<value target='Touchable' data='1' />
					<value target='DrawHighlight' data='1' />
					<value target='UseCallback' data='1' />
					<value target='TouchCallback' data='DC_Touched' />
					<value target='Text' data='go to screen 0' />
					<value target='Font' data='000' />
					<value target='HAlignment' data='001' />
					<value target='VAlignment' data='001' />
					<value target='TextTheme' data='000' />
					<value target='TextColour' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d13b1e7c-32a2-4117-9b76-8cd03399dc3c' vmin='0' vmaj='1' codename='up' panelId='1' x='185' y='-150' z='1' xsz='31.25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ID' data='22' />
					<value target='DisplayManager' data='13' />
					<value target='ShapeType' data='1' />
					<value target='Type' data='87' />
					<value target='UseThemes' data='0' />
					<value target='ObjectTheme' data='000' />
					<value target='WidgetTheme' data='000' />
					<value target='LineWidth' data='1' />
					<value target='FgColour' data='0' />
					<value target='BgColour' data='11842740' />
					<value target='HlColour' data='5921370' />
					<value target='Touchable' data='1' />
					<value target='DrawHighlight' data='1' />
					<value target='UseCallback' data='1' />
					<value target='TouchCallback' data='DC_Touched' />
					<value target='Text' data='UP' />
					<value target='Font' data='000' />
					<value target='HAlignment' data='001' />
					<value target='VAlignment' data='001' />
					<value target='TextTheme' data='000' />
					<value target='TextColour' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d13b1e7c-32a2-4117-9b76-8cd03399dc3c' vmin='0' vmaj='1' codename='down' panelId='1' x='205' y='-320' z='2' xsz='56.25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ID' data='23' />
					<value target='DisplayManager' data='13' />
					<value target='ShapeType' data='1' />
					<value target='Type' data='87' />
					<value target='UseThemes' data='0' />
					<value target='ObjectTheme' data='000' />
					<value target='WidgetTheme' data='000' />
					<value target='LineWidth' data='1' />
					<value target='FgColour' data='0' />
					<value target='BgColour' data='11842740' />
					<value target='HlColour' data='5921370' />
					<value target='Touchable' data='1' />
					<value target='DrawHighlight' data='1' />
					<value target='UseCallback' data='1' />
					<value target='TouchCallback' data='DC_Touched' />
					<value target='Text' data='DOWN' />
					<value target='Font' data='000' />
					<value target='HAlignment' data='001' />
					<value target='VAlignment' data='001' />
					<value target='TextTheme' data='000' />
					<value target='TextColour' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='81f24c15-ab7c-49ba-b55f-62d3cbfee92a' vmin='0' vmaj='1' codename='value_display' panelId='1' x='210' y='-240' z='3' xsz='50' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ID' data='1' />
					<value target='DisplayManager' data='13' />
					<value target='ShapeType' data='1' />
					<value target='Type' data='79' />
					<value target='UseThemes' data='0' />
					<value target='ObjectTheme' data='000' />
					<value target='WidgetTheme' data='000' />
					<value target='LineWidth' data='0' />
					<value target='FgColour' data='0' />
					<value target='BgColour' data='16777215' />
					<value target='HlColour' data='5921370' />
					<value target='Touchable' data='0' />
					<value target='DrawHighlight' data='1' />
					<value target='UseCallback' data='0' />
					<value target='TouchCallback' data='' />
					<value target='Text' data='0' />
					<value target='Font' data='000' />
					<value target='HAlignment' data='001' />
					<value target='VAlignment' data='001' />
					<value target='TextTheme' data='000' />
					<value target='TextColour' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='471eab69-d1c0-45eb-88f8-d01bd7167b23' vmin='0' vmaj='1' codename='Slider' panelId='1' x='99' y='-230' z='4' xsz='11.1111' ysz='150' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ID' data='24' />
					<value target='DisplayManager' data='13' />
					<value target='ShapeType' data='4' />
					<value target='Type' data='87' />
					<value target='UseThemes' data='0' />
					<value target='ObjectTheme' data='000' />
					<value target='WidgetTheme' data='000' />
					<value target='Orientation' data='001' />
					<value target='LineWidth' data='10' />
					<value target='ThumbShape' data='000' />
					<value target='DrawHighlight' data='30' />
					<value target='FgColour' data='65280' />
					<value target='BgColour' data='16777215' />
					<value target='TextColour' data='9868950' />
					<value target='HlColour' data='5921370' />
					<value target='Touchable' data='1' />
					<value target='UseCallback' data='1' />
					<value target='TouchCallback' data='DC_Touched' />
					<value target='TimerFired' data='1' />
					<value target='CustomRange' data='0' />
					<value target='MinValue' data='0.0' />
					<value target='MaxValue' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text1' panelId='0' x='293' y='-30' z='1' xsz='170.625' ysz='25' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Touch screen control' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial Black' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='3' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='1' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text3' panelId='0' x='82' y='-76' z='2' xsz='32.5' ysz='20' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='8' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='ESP 32' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  2' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='0' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1' />
					<value target='colBackgroundColour' data='255' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='b8541d78-44db-43c3-961a-a96141da67e9' vmin='11' vmaj='11' codename='gLCD_ST7796_SPI1' panelId='0' x='359' y='-336' z='3' xsz='24.9663' ysz='24.9399' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_width' data='320' />
					<value target='pixel_height' data='480' />
					<value target='FlipX' data='1' />
					<value target='FlipY' data='0' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='BGCOL' data='16777215' />
					<value target='FGCOL' data='0' />
					<value target='InvertColour' data='0' />
					<value target='QueueFastPixels' data='1' />
					<value target='PixelQueueSize' data='320' />
					<value target='colour_bit_depth' data='016' />
					<value target='red_bit_depth' data='5' />
					<value target='green_bit_depth' data='6' />
					<value target='blue_bit_depth' data='5' />
					<value target='cal_spi1::CHANNEL' data='001' />
					<value target='cal_spi1::PR_SCALE' data='004' />
					<value target='cal_spi1::MOSI' data='$PORTA.13' />
					<value target='cal_spi1::MOSIPins' data='011' />
					<value target='cal_spi1::MISO' data='$PORTA.12' />
					<value target='cal_spi1::MISOPins' data='012' />
					<value target='cal_spi1::CLK' data='$PORTA.14' />
					<value target='cal_spi1::CLKPins' data='009' />
					<value target='ToggleCS' data='0' />
					<value target='chip_sel_pin' data='$GPIO26' />
					<value target='dc_pin' data='$GPIO27' />
					<value target='reset_pin' data='$PORTB.1' />
					<value target='led_pin' data='$GPIO2' />
					<value target='UseBacklight' data='1' />
					<value target='Base_GLCD::FontCount' data='001' />
					<value target='Base_GLCD::gLCD_Font1::Font' data='000' />
					<value target='Base_GLCD::gLCD_Font1::CustomFontFile' data='' />
					<value target='Base_GLCD::gLCD_Font1::BytesRequired' data='' />
					<value target='Base_GLCD::gLCD_Font1::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font1::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font2::Font' data='005' />
					<value target='Base_GLCD::gLCD_Font2::CustomFontFile' data='' />
					<value target='Base_GLCD::gLCD_Font2::BytesRequired' data='' />
					<value target='Base_GLCD::gLCD_Font8::FontSpace' data='' />
					<value target='Base_GLCD::gLCD_Font2::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font3::Font' data='002' />
					<value target='Base_GLCD::gLCD_Font3::CustomFontFile' data='' />
					<value target='Base_GLCD::gLCD_Font3::BytesRequired' data='' />
					<value target='Base_GLCD::gLCD_Font3::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font4::Font' data='015' />
					<value target='Base_GLCD::gLCD_Font4::CustomFontFile' data='' />
					<value target='Base_GLCD::gLCD_Font4::BytesRequired' data='' />
					<value target='Base_GLCD::gLCD_Font4::SpaceWidth' data='004' />
					<value target='DisplayMethod' data='000' />
					<value target='Base_GLCD::ComponentLabel' data='000' />
					<value target='Base_GLCD::GdiText1::sText' data='gLCD_ST7796_SPI1' />
					<value target='Base_GLCD::GdiText1::dScale' data='1.000000' />
					<value target='Base_GLCD::PhysicalOrientation' data='000' />
					<value target='SimComms' data='0' />
					<value target='cal_spi1::ConsoleData' data='1' />
					<value target='cal_spi1::ScopeTraces' data='1' />
					<value target='cal_spi1::Injector' data='000' />
					<value target='cal_spi1::InjectorCS' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ab872cc0-e6fe-4d30-a7cb-a1efc6ae87a6' vmin='13' vmaj='13' codename='XPT2046' panelId='0' x='94' y='-396' z='4' xsz='25.1778' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' ancTop='0' ancBottom='0' ancLeft='0' ancRight='0' ancMinX='0' ancMinY='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Component' data='' />
					<value target='LibraryComponent1::InputIcon::LinkTo' data='001' />
					<value target='cal_spi::CHANNEL' data='000' />
					<value target='cal_spi::PR_SCALE' data='016' />
					<value target='cal_spi::MOSI' data='$GPIO21' />
					<value target='cal_spi::MOSIPins' data='008' />
					<value target='cal_spi::MISO' data='$GPIO5' />
					<value target='cal_spi::MISOPins' data='013' />
					<value target='cal_spi::CLK' data='$GPIO17' />
					<value target='cal_spi::CLKPins' data='004' />
					<value target='cal_spi::SS' data='$PORTA.4' />
					<value target='AnMode' data='001' />
					<value target='Xpix' data='320' />
					<value target='Ypix' data='480' />
					<value target='FlipX' data='0' />
					<value target='FlipY' data='0' />
					<value target='label' data='XPT2046' />
					<value target='EnableInterrupt' data='0' />
					<value target='InterruptMacro' data='' />
					<value target='SimComms' data='0' />
					<value target='cal_spi::ScopeTraces' data='0' />
					<value target='cal_spi::ConsoleData' data='0' />
					<value target='cal_spi::Injector' data='000' />
					<value target='cal_spi1::InjectorCS' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='0' ye='0' ze='2974.49' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='553' dy='1046' zoom='22.4956' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
		<winpos ID='7005' RectRecentFloat='724,181,1378,735' RectRecentDocked='0,0,553,1079' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='781.66' 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' />
		<winpos ID='7004' RectRecentFloat='0,630,650,1080' RectRecentDocked='0,0,650,1119' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='4' >
		<panel2d_0 id='0' name='2D Panel' type='0' >
			<winpos ID='1171' RectRecentFloat='94,337,653,1039' RectRecentDocked='1918,220,2560,1339' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119073849536' snaptogrid='1' fitcomp='0' disp_x='300' disp_y='400' scale='100' disp_col='16777215' />
		</panel2d_0>
		<panel2d_1 id='1' name='Scene0' type='1' >
			<winpos ID='1172' RectRecentFloat='737,618,1296,1320' RectRecentDocked='1918,220,2560,1339' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119068125545' snaptogrid='1' fitcomp='0' disp_x='480' disp_y='320' scale='100' disp_col='9868950' />
		</panel2d_1>
		<panel2d_2 id='2' name='Scene1' type='1' >
			<winpos ID='1173' RectRecentFloat='1298,615,1883,1088' RectRecentDocked='1918,220,2560,1339' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119068125545' snaptogrid='1' fitcomp='0' disp_x='480' disp_y='320' scale='100' disp_col='128' />
		</panel2d_2>
		<panel2d_3 id='3' name='Scene' type='1' >
			<winpos ID='1174' RectRecentFloat='651,351,1301,801' RectRecentDocked='1918,220,2560,1339' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119061217280' snaptogrid='1' fitcomp='0' disp_x='300' disp_y='400' scale='100' disp_col='16777215' />
		</panel2d_3>
	</panels2d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAA0wgAAFoEAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DC_Touched' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAA0wgAAFoEAAA' zoom='85' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
