<root>
<document scada='0' schema='102' license='1,66718025,6XBAK2' title='' description='' fcversion='590080' target='ESP.ESP32.ESP32' >
	<config data='' clkspd='240000000' simspd='0' usewdt='0' constif='0' commport='7' 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='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='1b0083fd-fb52-4599-b9ad-d5b885b3f2ab' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<gdiopts FullContainer='1' FullTransparency='1' ShowGdi='1' ShowOpengl='1' />
		<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' 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='ret_ok' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='read' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='write' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</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='int_uart' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='AXP192' description='Set the AXP register' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='read_or_write' type='u8' description='0 = read, 1=write' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='register_axp' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='255' />
						</local>
						<local name='data_r' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='255' />
						</local>
						<local name='ret_ack_loc' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='start_addres_loc' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='write_i_loc' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Addr_loc' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Val_loc' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='count_loc' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Return_loc' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ret_icc_loc' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='read_i_loc' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='.read_or_write' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='comment' title='' comment='read the register from the axp192' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_ILI9341_SPI1' macro='ClearDisplay' />
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='.start_addres_loc = 0' />
										<exp exp='.read_i_loc = 0' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='2' forvar='.read_i_loc' exp='158' >
										<flowline >
											<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='.Addr_loc = .start_addres_loc + .read_i_loc' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='Start' />
											<command class_type='call' title='Send Device Address + Write Bit' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='TransmitByte' >
												<return exp='.ret_icc_loc' />
												<argument exp='0x34 &lt;&lt; 1' />
											</command>
											<command class_type='call' title='Send Address' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='TransmitByte' >
												<return exp='.ret_icc_loc' />
												<argument exp='.Addr_loc' />
											</command>
											<command class_type='call' title='Restart should be fine' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='Restart' />
											<command class_type='call' title='Send Device Address + Read Bit' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='TransmitByte' >
												<return exp='.ret_icc_loc' />
												<argument exp='(0x34 &lt;&lt; 1) | 1' />
											</command>
											<command class_type='call' title='Read Byte' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='ReceiveByte' >
												<return exp='.Return_loc' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='Stop' />
											<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_ILI9341_SPI1' macro='PrintNumber' >
												<argument exp='.Addr_loc' />
												<argument exp='100' />
												<argument exp='30' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_ILI9341_SPI1' macro='PrintNumber' >
												<argument exp='.Return_loc' />
												<argument exp='150' />
												<argument exp='30' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='led_5mm_clip1' macro='TurnOn' />
											<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='led_5mm_clip1' macro='TurnOff' />
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_ILI9341_SPI1' macro='ClearDisplay' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='comment' title='' comment='Set all register of the axp192 to start the M5Core2' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
									<command class_type='loop' title='Set all to 0' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='2' forvar='.count_loc' exp='255' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='.register_axp[.count_loc] = 0' />
											</command>
										</flowline>
									</command>
									<command class_type='calculation' title='Set constant register' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='.register_axp[16] = 5' />
										<exp exp='.register_axp[18] = 87' />
										<exp exp='.register_axp[38] = 106' />
										<exp exp='.register_axp[39] = 104' />
										<exp exp='.register_axp[48] = 2' />
										<exp exp='.register_axp[49] = 3 //  set ?' />
										<exp exp='.register_axp[81] = 15' />
										<exp exp='.register_axp[86] = 180' />
										<exp exp='.register_axp[87] = 12' />
										<exp exp='.register_axp[88] = 8' />
										<exp exp='.register_axp[89] = 8' />
										<exp exp='.register_axp[90] = 187' />
										<exp exp='.register_axp[94] = 110' />
										<exp exp='.register_axp[95] = 1' />
										<exp exp='.register_axp[96] = 217' />
										<exp exp='.register_axp[97] = 5' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='.start_addres_loc = 16' />
										<exp exp='.write_i_loc = 0' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='2' forvar='.write_i_loc' exp='100' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='.Addr_loc = .start_addres_loc + .write_i_loc' />
												<exp exp='.Val_loc = .register_axp[.Addr_loc]' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='.register_axp[.Addr_loc] = 0' swap='1' >
												<flowline >
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='Start' />
													<command class_type='call' title='Send Device Address + Write Bit' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='TransmitByte' >
														<return exp='.ret_ack_loc' />
														<argument exp='0x34 &lt;&lt; 1' />
													</command>
													<command class_type='call' title='Send Address' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='TransmitByte' >
														<return exp='.ret_ack_loc' />
														<argument exp='.Addr_loc' />
													</command>
													<command class_type='call' title='Send Device Address + Read Bit' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='TransmitByte' >
														<return exp='.ret_ack_loc' />
														<argument exp='.Val_loc' />
													</command>
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='Stop' />
												</flowline>
												<flowline />
											</command>
										</flowline>
									</command>
									<command class_type='calculation' title='Set var register' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='.register_axp[144] = 2' />
										<exp exp='.register_axp[145] = 240' />
										<exp exp='.register_axp[146] = 0' />
										<exp exp='.register_axp[147] = 0' />
										<exp exp='.register_axp[148] = 6' />
										<exp exp='.register_axp[149] = 132' />
										<exp exp='.register_axp[150] = 2' />
										<exp exp='.register_axp[151] = 0' />
										<exp exp='.register_axp[152] = 0' />
										<exp exp='.register_axp[153] = 22' />
										<exp exp='.register_axp[154] = 11' />
										<exp exp='.register_axp[155] = 0' />
										<exp exp='.register_axp[156] = 22' />
										<exp exp='.register_axp[157] = 11' />
										<exp exp='.register_axp[158] = 32' />
										<exp exp='' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='.Addr_loc = 144' />
										<exp exp='.write_i_loc = 0' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='2' forvar='.write_i_loc' exp='15' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='.Addr_loc = .start_addres_loc + .write_i_loc' />
												<exp exp='.Val_loc = .register_axp[.Addr_loc]' />
												<exp exp='' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='Start' />
											<command class_type='call' title='Send Device Address + Write Bit' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='TransmitByte' >
												<return exp='.ret_ack_loc' />
												<argument exp='0x34 &lt;&lt; 1' />
											</command>
											<command class_type='call' title='Send Address' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='TransmitByte' >
												<return exp='.ret_ack_loc' />
												<argument exp='.Addr_loc' />
											</command>
											<command class_type='call' title='Send Device Address + Read Bit' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='TransmitByte' >
												<return exp='.ret_ack_loc' />
												<argument exp='.Val_loc' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='Stop' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline />
							</case>
							<case exp='3' >
								<flowline />
							</case>
							<case exp='4' >
								<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='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_Master1' macro='Initialise' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
						<command class_type='comment' title='' comment='set the AXP192' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='WRITE Register Need for config the axp192 for the display' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='AXP192' >
							<argument exp='write' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_ILI9341_SPI1' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_ILI9341_SPI1' macro='ClearDisplay' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_ILI9341_SPI1' macro='Print' >
							<argument exp='&quot;FC9Core2_AXP192_read&quot;' />
							<argument exp='0' />
							<argument exp='2' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='READ Register' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='AXP192' >
									<argument exp='read' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='7bd84555-ae51-40cc-8e1a-a7bcba661e52' vmin='0' vmaj='2' codename='gLCD_ILI9341_SPI1' x='-40' y='270' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_width' data='320' />
					<value target='pixel_height' data='240' />
					<value target='FlipX' data='0' />
					<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='65535' />
					<value target='FGCOL' data='0' />
					<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='cal_spi1::CHANNEL' data='000' />
					<value target='cal_spi1::PR_SCALE' data='004' />
					<value target='cal_spi1::MOSI' data='$PORTA.23' />
					<value target='cal_spi1::MOSIPins' data='028' />
					<value target='cal_spi1::MISO' data='$PORTB.6' />
					<value target='cal_spi1::MISOPins' data='038' />
					<value target='cal_spi1::CLK' data='$PORTA.18' />
					<value target='cal_spi1::CLKPins' data='027' />
					<value target='ToggleCS' data='0' />
					<value target='chip_sel_pin' data='$PORTA.5' />
					<value target='dc_pin' data='$PORTA.15' />
					<value target='reset_pin' data='$PORTB.1' />
					<value target='led_pin' data='$PORTB.0' />
					<value target='UseBacklight' data='1' />
					<value target='Base_GLCD::FontCount' data='001' />
					<value target='Base_GLCD::gLCD_Font1::Font' data='016' />
					<value target='Base_GLCD::gLCD_Font1::FontSpace' data='002' />
					<value target='Base_GLCD::gLCD_Font1::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font2::Font' data='005' />
					<value target='Base_GLCD::gLCD_Font2::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font2::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font3::Font' data='002' />
					<value target='Base_GLCD::gLCD_Font3::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font3::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font4::Font' data='015' />
					<value target='Base_GLCD::gLCD_Font4::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font4::SpaceWidth' data='004' />
					<value target='DisplayMethod' 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='24219805-113d-4b12-b6bd-e1b0b0c33981' vmin='4' vmaj='1' codename='I2C_Master1' x='-20' y='10' z='0' xsz='64' ysz='32' zsz='2.605' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_i2c::CHANNEL' data='000' />
					<value target='cal_i2c::BAUD_LIST' data='002' />
					<value target='cal_i2c::BAUD' data='400000' />
					<value target='cal_i2c::StopDel' data='1' />
					<value target='cal_i2c::SRC' data='000' />
					<value target='cal_i2c::SMB' data='000' />
					<value target='cal_i2c::ClockStretching' data='1' />
					<value target='cal_i2c::SDA' data='$PORTA.21' />
					<value target='cal_i2c::SDAPins' data='027' />
					<value target='cal_i2c::SCL' data='$PORTA.22' />
					<value target='cal_i2c::SCLPins' data='030' />
					<value target='label' data='I2C Master' />
					<value target='cal_i2c::ScopeTraces' data='0' />
					<value target='cal_i2c::ConsoleData' data='' />
					<value target='cal_i2c::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip1' x='-40' y='160' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip2' x='40' y='160' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.1' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</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='98.2367' ye='180.387' ze='774.037' xt='98.2367' yt='180.387' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='837' dy='1832' zoom='130.843' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='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' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYAgAAIYHAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='AXP192' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYAgAAIYHAAA' zoom='100' scrollx='0' scrolly='594' flags='0' />
	</layout>
</document>
</root>
