<root>
<document scada='0' schema='102' license='1,Dev User,H1YQFU' title='' description='' fcversion='524801' target='ARM.F4.32F411EDiscovery' >
	<config data='!0,0!20,1!40,8!60,c0!80,4!a0,8!c0,2!e0,1!100,4!120,2!140,3%0,0%20,1%40,8%60,c0%80,4%a0,8%c0,2%e0,1%100,4%120,2%140,3' clkspd='16000000' simspd='1' usewdt='0' constif='0' 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='63' />
			<data name='CalculatedCommsDelay' value='63' />
			<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='a164d882-b54e-41cf-b694-bfa236169d49' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='TIMEOUT' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='timer' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</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='macro1' 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='ClearDisplay' />
						<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='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='BitmapDrawer1' macro='Display_BMP_Fast' >
							<argument exp='1' />
							<argument exp='160' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='BitmapDrawer1' macro='Display_BMP_Fast' >
							<argument exp='2' />
							<argument exp='80' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='BitmapDrawer1' macro='Display_BMP_Fast' >
							<argument exp='3' />
							<argument exp='80' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
					</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='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
						<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='gLCD_ILI9341' macro='SetDisplayOrientation' >
							<argument exp='1' />
						</command>
						<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='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='STM32Timer1' macro='StartCounter' >
							<argument exp='1' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='STM32Timer1' macro='GetCountMilliseconds' >
									<return exp='TIMEOUT' />
								</command>
								<command class_type='decision' title='Has 1 second elapsed since last display update?' cmdcolor='12615680' cmdcolor_sec='15376912' exp='TIMEOUT &gt; 1000' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='STM32Timer1' macro='ResetCounter' />
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='macro1' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ILI9341' macro='DrawCircle' >
									<argument exp='0' />
									<argument exp='100' />
									<argument exp='10' />
									<argument exp='0' />
									<argument exp='1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='bc0a0612-ef85-48fb-8960-5e78f4083df1' vmin='0' vmaj='2' codename='gLCD_ILI9341' x='-10' 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='pixel_height' data='320' />
					<value target='pixel_width' data='240' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='192' />
					<value target='background_colour' data='0' />
					<value target='BGCOL' data='0' />
					<value target='FGCOL' data='49152' />
					<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='$PORTE.7' />
					<value target='rd_pin' data='$PORTE.8' />
					<value target='ToggleCS' data='1' />
					<value target='chip_sel_pin' data='$PORTB.1' />
					<value target='dc_pin' data='$PORTB.2' />
					<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='$PORTA0' />
					<value target='dataport_high' data='$PORTD1' />
					<value target='reset_pin' data='$PORTB.0' />
					<value target='UseBacklight' data='1' />
					<value target='led_pin' data='$PORTE.9' />
					<value target='DisplayMethod' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='52dd90bd-fec9-4ee5-934c-e4b2297168a5' vmin='2' vmaj='2' codename='BitmapDrawer1' x='-140' y='20' 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='0' />
					<value target='NumBitmaps' data='004' />
					<value target='bitmap_file0' data='.\Immagini Bitmap\Display_Top_256_16_2.bmp' />
					<value target='ColourDepth0' data='0' />
					<value target='file_Len0' data='0' />
					<value target='FileWidth0' data='0' />
					<value target='FileHeight0' data='0' />
					<value target='DataOffset0' data='0' />
					<value target='bitmap_file1' data='.\Immagini Bitmap\Display_Bot_16.bmp' />
					<value target='ColourDepth1' data='0' />
					<value target='file_Len1' data='0' />
					<value target='FileWidth1' data='0' />
					<value target='FileHeight1' data='0' />
					<value target='DataOffset1' data='0' />
					<value target='bitmap_file2' data='.\Immagini Bitmap\PTT_MODE.bmp' />
					<value target='ColourDepth2' data='0' />
					<value target='file_Len2' data='0' />
					<value target='FileWidth2' data='0' />
					<value target='FileHeight2' data='0' />
					<value target='DataOffset2' data='0' />
					<value target='bitmap_file3' data='.\Immagini Bitmap\OFF.bmp' />
					<value target='ColourDepth3' data='0' />
					<value target='file_Len3' data='0' />
					<value target='FileWidth3' data='0' />
					<value target='FileHeight3' data='0' />
					<value target='DataOffset3' data='0' />
					<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 class_type='ref' guid='a871ac1d-7a58-4474-a08b-c9c9017cd2ed' vmin='1' vmaj='1' codename='STM32Timer1' x='50' y='0' z='1.03' 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='TimerDelay' data='50' />
					<value target='DecimalPoints' data='3' />
				</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='48.1418' ye='-30.7865' ze='292.179' xt='48.1418' yt='-30.7865' 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='300' 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---------------------wUAAAAYAAAAMAQAAFIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='macro1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAMAQAAFIDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
