<root>
<document scada='0' schema='102' license='1,Oscar_T,ZKVWVG' title='' description='' fcversion='524802' target='ARM.F0.32F030RC' >
	<config data='!0,1!20,2!40,5!60,8!80,2!a0,1!c0,1!e0,1%0,1%20,2%40,5%60,8%80,2%a0,1%c0,1%e0,1' clkspd='30000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='#include &quot;system.h&quot;
' 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='34' />
			<data name='CalculatedCommsDelay' value='34' />
			<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='22ad68c2-82eb-431b-a0b7-0fc7170abd40' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='Misc' 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 />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='KEYPAD_TEMP' 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='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='KEYBOARD_TOUCH' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='KEYPAD_TEMP = 255' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_base1' macro='GetNumber' >
							<return exp='KEYPAD_TEMP' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='KEYPAD_TEMP != 255' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ILI9341' macro='SetForegroundColour' >
									<argument exp='255' />
									<argument exp='255' />
									<argument exp='255' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ILI9341' macro='SetBackgroundColour' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ILI9341' macro='PrintNumber' >
									<argument exp='KEYPAD_TEMP' />
									<argument exp='115' />
									<argument exp='105' />
									<argument exp='30' />
									<argument exp='0' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='50' type='1' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DISPLAY_INIT' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ILI9341' macro='SetDisplayOrientation' >
							<argument exp='1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GENERAL_INIT' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='COMPONENT_INIT' description='' >
						<return name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' ccode='// Name: Call Component Macro, Type: Call Component Macro: gLCD_ILI9341::Initialise()
FCD_0ee11_gLCD_ILI9341__Initialise();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ILI9341' macro='Initialise' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ILI9341' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ILI9341' macro='SetDisplayOrientation' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ILI9341' macro='BacklightOn' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='BitmapDrawer1' macro='Display_BMP_Fast' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='KEYBOARD_TOUCH' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='bc0a0612-ef85-48fb-8960-5e78f4083df1' vmin='0' vmaj='2' codename='gLCD_ILI9341' x='50' y='70' z='-11' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_height' data='240' />
					<value target='pixel_width' data='320' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='16777215' />
					<value target='background_colour' data='0' />
					<value target='BGCOL' data='0' />
					<value target='FGCOL' data='65503' />
					<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='ConnType' data='001' />
					<value target='dataout_pin' data='$PORTB.0' />
					<value target='clock_pin' data='$PORTB.1' />
					<value target='wr_pin' data='$PORTA.12' />
					<value target='rd_pin' data='$PORTA.11' />
					<value target='ToggleCS' data='0' />
					<value target='chip_sel_pin' data='$PORTA.14' />
					<value target='dc_pin' data='$PORTA.13' />
					<value target='UsePorts' data='1' />
					<value target='data0' data='$PORTC.0' />
					<value target='data1' data='$PORTC.1' />
					<value target='data2' data='$PORTC.2' />
					<value target='data3' data='$PORTC.3' />
					<value target='data4' data='$PORTC.4' />
					<value target='data5' data='$PORTC.5' />
					<value target='data6' data='$PORTC.6' />
					<value target='data7' data='$PORTC.7' />
					<value target='data8' data='$PORTD.0' />
					<value target='data9' data='$PORTD.1' />
					<value target='data10' data='$PORTD.2' />
					<value target='data11' data='$PORTD.3' />
					<value target='data12' data='$PORTD.4' />
					<value target='data13' data='$PORTD.5' />
					<value target='data14' data='$PORTD.6' />
					<value target='data15' data='$PORTD.7' />
					<value target='dataport_low' data='$PORTB0' />
					<value target='dataport_high' data='$PORTD0' />
					<value target='reset_pin' data='$PORTA.15' />
					<value target='UseBacklight' data='1' />
					<value target='led_pin' data='$PORTA.0' />
					<value target='DisplayMethod' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='b80e57b1-8941-4831-878b-b27440b4f4d8' vmin='5' vmaj='1' codename='keypad_base1' x='-10' y='70' z='20.425' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='num_columns' data='2' />
					<value target='column_space' data='14.000000' />
					<value target='num_rows' data='3' />
					<value target='row_space' data='13.000000' />
					<value target='key_align' data='000' />
					<value target='key_movement' data='1.500000' />
					<value target='ascii_returns' data='1234567890ABCDEF' />
					<value target='intfixed' data='1,2,3,4,5,6,7,8,9,11,10,12,13,14,15,16' />
					<value target='pin_col1' data='$PORTA.7' />
					<value target='pin_col2' data='$PORTC.4' />
					<value target='pin_col3' data='$PORTB.2' />
					<value target='pin_col4' data='' />
					<value target='pin_row1' data='$PORTA.6' />
					<value target='pin_row2' data='$PORTA.5' />
					<value target='pin_row3' data='$PORTA.4' />
					<value target='pin_row4' data='$PORTB.7' />
					<value target='target_handle' data='' />
					<value target='label_font' data='Arial' />
					<value target='key_color1' data='16777215' />
					<value target='label_color1' data='' />
					<value target='image1' data='' />
					<value target='key_color2' data='16777215' />
					<value target='label_color2' data='' />
					<value target='image2' data='' />
					<value target='key_color3' data='16777215' />
					<value target='label_color3' data='' />
					<value target='image3' data='' />
					<value target='key_color4' data='16777215' />
					<value target='label_color4' data='' />
					<value target='image4' data='' />
					<value target='key_color5' data='16777215' />
					<value target='label_color5' data='' />
					<value target='image5' data='' />
					<value target='key_color6' data='16777215' />
					<value target='label_color6' data='' />
					<value target='image6' data='' />
					<value target='key_color7' data='16777215' />
					<value target='label_color7' data='' />
					<value target='image7' data='' />
					<value target='key_color8' data='16777215' />
					<value target='label_color8' data='' />
					<value target='image8' data='' />
					<value target='key_color9' data='16777215' />
					<value target='label_color9' data='' />
					<value target='image9' data='' />
					<value target='key_color10' data='16777215' />
					<value target='label_color10' data='' />
					<value target='image10' data='' />
					<value target='key_color11' data='16777215' />
					<value target='label_color11' data='' />
					<value target='image11' data='' />
					<value target='key_color12' data='16777215' />
					<value target='label_color12' data='' />
					<value target='image12' data='' />
					<value target='key_color13' data='16777215' />
					<value target='label_color13' data='' />
					<value target='image13' data='' />
					<value target='key_color14' data='16777215' />
					<value target='label_color14' data='' />
					<value target='image14' data='' />
					<value target='key_color15' data='16777215' />
					<value target='label_color15' data='' />
					<value target='image15' data='' />
					<value target='key_color16' data='16777215' />
					<value target='label_color16' data='' />
					<value target='image16' data='' />
					<value target='proto_visible' data='0' />
					<value target='proto_interactive' data='0' />
					<value target='proto_solid' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='52dd90bd-fec9-4ee5-934c-e4b2297168a5' vmin='2' vmaj='2' codename='BitmapDrawer1' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='glcd_obj' data='gLCD_ILI9341' />
					<value target='Colour_Display' data='1' />
					<value target='ROMusage' data='38400' />
					<value target='NumBitmaps' data='001' />
					<value target='bitmap_file0' data='.\IMG1.bmp' />
					<value target='ColourDepth0' data='4' />
					<value target='file_Len0' data='38400' />
					<value target='FileWidth0' data='320' />
					<value target='FileHeight0' data='240' />
					<value target='DataOffset0' data='118' />
					<value target='bitmap_file1' data='Select a file -&gt;' />
					<value target='ColourDepth1' data='' />
					<value target='file_Len1' data='0' />
					<value target='FileWidth1' data='' />
					<value target='FileHeight1' data='' />
					<value target='DataOffset1' data='' />
					<value target='bitmap_file2' data='Select a file -&gt;' />
					<value target='ColourDepth2' data='' />
					<value target='file_Len2' data='0' />
					<value target='FileWidth2' data='' />
					<value target='FileHeight2' data='' />
					<value target='DataOffset2' data='' />
					<value target='bitmap_file3' data='Select a file -&gt;' />
					<value target='ColourDepth3' data='' />
					<value target='file_Len3' data='0' />
					<value target='FileWidth3' data='' />
					<value target='FileHeight3' data='' />
					<value target='DataOffset3' data='' />
					<value target='bitmap_file4' data='Select a file -&gt;' />
					<value target='ColourDepth4' data='' />
					<value target='file_Len4' data='0' />
					<value target='FileWidth4' data='' />
					<value target='FileHeight4' data='' />
					<value target='DataOffset4' data='' />
					<value target='bitmap_file5' data='Select a file -&gt;' />
					<value target='ColourDepth5' data='' />
					<value target='file_Len5' data='0' />
					<value target='FileWidth5' data='' />
					<value target='FileHeight5' data='' />
					<value target='DataOffset5' data='' />
					<value target='bitmap_file6' data='Select a file -&gt;' />
					<value target='ColourDepth6' data='' />
					<value target='file_Len6' data='0' />
					<value target='FileWidth6' data='' />
					<value target='FileHeight6' data='' />
					<value target='DataOffset6' data='' />
					<value target='bitmap_file7' data='Select a file -&gt;' />
					<value target='ColourDepth7' data='' />
					<value target='file_Len7' data='0' />
					<value target='FileWidth7' data='' />
					<value target='FileHeight7' data='' />
					<value target='DataOffset7' data='' />
					<value target='bitmap_file8' data='Select a file -&gt;' />
					<value target='ColourDepth8' data='' />
					<value target='file_Len8' data='0' />
					<value target='FileWidth8' data='' />
					<value target='FileHeight8' data='' />
					<value target='DataOffset8' data='' />
					<value target='bitmap_file9' data='Select a file -&gt;' />
					<value target='ColourDepth9' data='' />
					<value target='file_Len9' data='0' />
					<value target='FileWidth9' data='' />
					<value target='FileHeight9' data='' />
					<value target='DataOffset9' data='' />
					<value target='MIAC' data='0' />
					<value target='WSLED' data='0' />
					<value target='HT16K33' data='0' />
				</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='-1.92448' ye='65.4264' ze='1478.21' xt='-1.92448' yt='65.4264' 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='0' />
		<camera xe='0' ye='0' ze='603.05' 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' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAhAYAAJoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GENERAL_INIT' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAhAYAAJoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DISPLAY_INIT' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAhAYAAJoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='KEYBOARD_TOUCH' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAhAYAAJoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='COMPONENT_INIT' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAhAYAAJoCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
