<root>
<document scada='0' schema='103' license='1,66718025,1KVTN2' title='' description='' fcversion='655364' target='ESP.ESP32.ESP32_WROOM_32' >
	<config data='' clkspd='240000000' simspd='0' usewdt='1' 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='25' fixedy='25' fixedz='25' headcode='0' />
		<definition guid='579a438c-91f1-4a69-9667-a5dc26acb16b' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' bIs3dOnly='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' comp2dType='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='count_loop' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='apend_strg_m' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='test' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='stop' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='L4' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='220' setinit='220' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='L3' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='150' setinit='150' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='L2' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='70' setinit='70' />
				</variable>
				<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='L1' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_key_p' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='filename' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rec_sample' type='u8' description='sample if its time' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='apend_strg' type='T8' description='to save on disk' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='apend_strg_c' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_byte' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='key3' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='apend_strg_a' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_swap' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='key2' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='key1' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='keyset' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='finename_prefix' type='T8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot;imu1_&quot;' setinit='&quot;imu1_&quot;' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AG_XYZ' type='s16' description='2x IMU with A xyz G xyz =&gt; 12 integer' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='z' type='u8' description='' isconst='1' isHidden='0' isinit='1' usrinit='&quot;  0,0, 24, 48, 72, 96,120,144,168,192,216,240  &quot;' setinit='{ 0,0, 24, 48, 72, 96,120,144,168,192,216,240 }' >
						<array size='12' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_AGM' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SRSN16_MSB1' type='s16' description='\r\n in 16 Bit is dec3338   hex  0xD0A   b: 00001101 0000 1010' isconst='1' isHidden='0' isinit='1' usrinit='3338' setinit='3338' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SRSN16_MSB0' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='2573' setinit='2573' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='get_cmd' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rec_on' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='file_nr' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='filename_extension' type='T8' description='for a standaard' isconst='0' isHidden='0' isinit='1' usrinit='&quot;.csv&quot;' setinit='&quot;.csv&quot;' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_flow' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Imu_data_get_strg' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='UpdateAccelerometerData' />
						<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='CollectXYZData' >
							<return exp='AG_XYZ[0]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='CollectXYZData' >
							<return exp='AG_XYZ[1]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='CollectXYZData' >
							<return exp='AG_XYZ[2]' />
							<argument exp='2' />
						</command>
						<command class_type='comment' title='' comment='Gyro' textarea='798,-12,798,-12' 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='LSM9DS1_AccelGyroMagnet1' macro='UpdateGyroData' />
						<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='CollectXYZData' >
							<return exp='AG_XYZ[3]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='CollectXYZData' >
							<return exp='AG_XYZ[4]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='CollectXYZData' >
							<return exp='AG_XYZ[5]' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='UpdateCompassData' />
						<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='CollectXYZData' >
							<return exp='AG_XYZ[6]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='CollectXYZData' >
							<return exp='AG_XYZ[7]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='CollectXYZData' >
							<return exp='AG_XYZ[8]' />
							<argument exp='2' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_swap = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' forvar='count_swap' exp='6' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='swap' >
									<return exp='AG_XYZ[count_swap]' />
									<argument exp='AG_XYZ[count_swap]' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='apend_strg_a = ToString$(AG_XYZ[0]) + &quot;,&quot;' />
							<exp exp='apend_strg_a = apend_strg_a + ToString$(AG_XYZ[1]) + &quot;,&quot;' />
							<exp exp='apend_strg_a = apend_strg_a + ToString$(AG_XYZ[2]) + &quot;,&quot;' />
							<exp exp='' />
							<exp exp='apend_strg_c = ToString$(AG_XYZ[3]) + &quot;,&quot;' />
							<exp exp='apend_strg_c = apend_strg_c + ToString$(AG_XYZ[4]) + &quot;,&quot;' />
							<exp exp='apend_strg_c = apend_strg_c + ToString$(AG_XYZ[5]) + &quot;,&quot;' />
							<exp exp='' />
							<exp exp='apend_strg_m = ToString$(AG_XYZ[6]) + &quot;,&quot;' />
							<exp exp='apend_strg_m = apend_strg_m + ToString$(AG_XYZ[7]) + &quot;,&quot;' />
							<exp exp='apend_strg_m = apend_strg_m + ToString$(AG_XYZ[8]) + &quot;,&quot;' />
							<exp exp='apend_strg_m = apend_strg_m + &quot;\r\n&quot;' />
						</command>
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='apend_strg = ToString$(AG_XYZ[0]) + &quot;,&quot;' />
							<exp exp='apend_strg = apend_strg + ToString$(AG_XYZ[1]) + &quot;,&quot;' />
							<exp exp='apend_strg = apend_strg + ToString$(AG_XYZ[2]) + &quot;,&quot;' />
							<exp exp='apend_strg = apend_strg + ToString$(AG_XYZ[3]) + &quot;,&quot;' />
							<exp exp='apend_strg = apend_strg + ToString$(AG_XYZ[4]) + &quot;,&quot;' />
							<exp exp='apend_strg = apend_strg + ToString$(AG_XYZ[5]) + &quot;,&quot;' />
							<exp exp='apend_strg = apend_strg + ToString$(AG_XYZ[6]) + &quot;,&quot;' />
							<exp exp='apend_strg = apend_strg + ToString$(AG_XYZ[7]) + &quot;,&quot;' />
							<exp exp='apend_strg = apend_strg + ToString$(AG_XYZ[8]) + &quot;,&quot;' />
							<exp exp='apend_strg = apend_strg + &quot;\r\n&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='file_close' 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='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CloseFile' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Rec' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
							<argument exp='0' />
							<argument exp='25' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
						<command class_type='call' title='file create with the name it need file_lastfile_found b4' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='file_create_name' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_loop = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='0' exp='rec_on = 1' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='keypressed' />
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='rec_sample = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='count_loop = count_loop + 1' />
										</command>
										<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Imu_data_get_strg' />
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='apend_strg = ToString$(count_loop) + &quot;,&quot;' />
											<exp exp='' />
											<exp exp='apend_strg = apend_strg + &quot;10000,20000,30000,40000,50000,60000,70000,80000,90000\r\n&quot;' />
										</command>
										<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='AppendStringToFile' >
											<argument exp='apend_strg' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='AppendStringToFile' >
											<argument exp='apend_strg_a' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='AppendStringToFile' >
											<argument exp='apend_strg_c' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='AppendStringToFile' >
											<argument exp='apend_strg_m' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='rec_sample = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='file_close' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='25' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
							<argument exp='count_loop' />
							<argument exp='1' />
							<argument exp='1' />
							<argument exp='1' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_Mono_blue' macro='TurnOn' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='keypressed' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='keyset = key1 + key2 + key3' />
							<exp exp='' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='keyset' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='comment' title='' comment='left key' 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='count_key_p = count_key_p + 1' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='send_flow = 0' />
										<exp exp='send_AGM = 1' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='comment' title='' comment='STOP' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
									<command class_type='comment' title='' comment='mid key' 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='LED_Mono_blue' macro='TurnOff' />
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='count_key_p = count_key_p + 1' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='rec_on = 0' />
										<exp exp='stop = 1' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='count_key_p = count_key_p + 1' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='comment' title='' comment='REC' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
									<command class_type='comment' title='' comment='right key' 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='count_key_p = count_key_p + 1' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='rec_on = 1' />
										<exp exp='stop = 0' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='count_key_p = count_key_p + 1' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='count_key_p = count_key_p + 1' />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='count_key_p = count_key_p + 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='keyset = 0' />
							<exp exp='key1 = 0' />
							<exp exp='key2 = 0' />
							<exp exp='key3 = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='USB_interrupt' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='get_cmd = 2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='swap' description='load  integer to swap=&gt; return the swaped integer
load and return can be the same variable' statediag='0' >
						<return name='Return' type='s16' description='return the swaped int' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='input' type='s16' description='load the integer to swap=&gt; return the swaped integer' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='lsb' type='u8' description='temp lsb' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='msb' type='u8' description='temp msb' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='SINT16' type='s16' description='temp integer' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='.lsb = .input' />
							<exp exp='.msb = .input &gt;&gt; 8' />
							<exp exp='' />
							<exp exp='' />
							<exp exp='.SINT16 = .SINT16 | .lsb &lt;&lt; 8' />
							<exp exp='.SINT16 = .SINT16 | .msb' />
							<exp exp='.Return = .SINT16' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='file_create' 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='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CreateFile' >
							<argument exp='&quot;test.csv&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='OpenFile' >
							<argument exp='&quot;test.csv&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='file_create_name' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='SetFileIndex' >
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='' />
							<exp exp='filename = finename_prefix + ToString$(file_nr)' />
							<exp exp='filename = filename + filename_extension' />
							<exp exp='file_nr = file_nr + 1' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
							<argument exp='filename' />
							<argument exp='10' />
							<argument exp='40' />
							<argument exp='1' />
							<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' ccode='  // Name: Component Macro, Type: Component Macro: FileSD1::CreateFile(filename)
  FCD_07fa1_FileSD1__CreateFile(FCV_FILENAME, FCVsz_FILENAME);' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CreateFile' >
							<argument exp='filename' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='OpenFile' >
							<argument exp='filename' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='file_write_block' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_loop = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' forvar='count_loop' exp='512' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='WriteByteToBuffer' >
									<argument exp='count_loop' />
									<argument exp='65' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='WriteFileSector' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='MoveToNextFileSector' >
							<argument exp='1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='file_last_file_found' description='' statediag='0' >
						<return name='Return' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='filename_prefix' type='T8' description='maximal 5 char' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='filename_extension' type='T8' description='include the dot  &quot;.csv&quot;    or &quot;.txt&quot;' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='last_file_found' type='u16' description='nummer for filename' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='file_nr' type='u16' description='counter for nummer' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='ret_file_open' type='u8' description='ret_byte' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='filename' type='T8' description='filename to try to open' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='0' exp='.last_file_found = 0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='.file_nr = .file_nr + 1' />
									<exp exp='.filename = .filename_prefix + ToString$(.file_nr)' />
									<exp exp='.filename = .filename + .filename_extension' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='OpenFile' >
									<return exp='.ret_file_open' />
									<argument exp='.filename' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='.ret_file_open = 0' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CloseFile' />
									</flowline>
									<flowline >
										<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CloseFile' />
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='.last_file_found = 1' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='.return = .file_nr' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Speed_test_sdcard' 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='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CreateFile' >
							<argument exp='&quot;test.txt&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='OpenFile' >
							<argument exp='&quot;test.txt&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_Mono_testpin' macro='TurnOn' />
						<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' mode='1' port='4194304' mask='65536' exp='1' usechipref='0' />
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='20000' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='AppendStringToFile' >
									<argument exp='&quot;12345678901234567890\r\n&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' mode='1' port='4194304' mask='65536' exp='0' usechipref='0' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_Mono_testpin' macro='TurnOff' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CloseFile' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Var_Const' description='For export/import' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='test = AG_XYZ[1]' />
							<exp exp='' />
							<exp exp='test = 1 + z[1]' />
							<exp exp='test = SRSN16_MSB0' />
							<exp exp='test = SRSN16_MSB1' />
							<exp exp='test = L1' />
							<exp exp='test = L2' />
							<exp exp='test = L3' />
							<exp exp='test = L4' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='key1_int' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='key1 = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='sd_card_init' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='ret_byte = 1' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='1' exp='ret_byte = 0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='power_enable' macro='TurnOn' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='Initialise' >
									<return exp='ret_byte' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='ret_byte = 0' swap='0' >
									<flowline >
										<command class_type='call' title='green' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='25' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
									</flowline>
									<flowline >
										<command class_type='call' title='red' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='25' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
										<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>
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='25' />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
					</flowline>
				</macro>
				<macro >
					<flowline name='key2_int' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='key2 = 2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='timer1_irq' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='rec_sample = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='screen_show' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='UpdateCompassData' />
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='CollectXYZData' >
							<return exp='AG_XYZ[0]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
							<argument exp='AG_XYZ[0]' />
							<argument exp='10' />
							<argument exp='40' />
							<argument exp='1' />
							<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_SSD1306_i2c1' macro='PrintNumber' >
							<argument exp='file_nr' />
							<argument exp='10' />
							<argument exp='40' />
							<argument exp='1' />
							<argument exp='1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='key3_int' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='key3 = 4' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Init_IRQ' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='interrupt' title='Interrupt Button1' disable='1' ccode='// Name: Interrupt Button1, Type: Interrupt: Enable GPIO39

gpio_set_intr_type(GPIO_NUM_39, GPIO_INTR_POSEDGE);
gpio_pad_select_gpio(GPIO_NUM_39);
gpio_set_direction(GPIO_NUM_39, GPIO_MODE_INPUT);
gpio_install_isr_service(ESP_INTR_FLAG_LOWMED);
gpio_isr_handler_add(GPIO_NUM_39, MX_ISR_GPIO39, (void*) GPIO_NUM_39);
gpio_intr_enable(GPIO_NUM_39);
' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='GPIO39' call='key1_int' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' ppsport='-1' ppspin='-1' maskhi='AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' masklo='AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' >
								<option value='0' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt Button2' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='GPIO36' call='key2_int' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt Button3' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='GPIO35' call='key3_int' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' textarea='36,0,511,300' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='RXINT0' call='USB_interrupt' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</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' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_Mono_blue' macro='TurnOn' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='power_enable' macro='TurnOn' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_Mono_testpin' macro='TurnOff' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Grove Oled 1.12 V2  101020452' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' 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='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetBrightness' >
							<argument exp='100' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='25' />
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1' macro='Initialise' />
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='sd_card_init' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9DS1_AccelGyroMagnet1' macro='Initialise' >
							<return exp='ret_byte' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='ret_byte = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
									<argument exp='&quot;L ok&quot;' />
									<argument exp='10' />
									<argument exp='1' />
									<argument exp='1' />
									<argument exp='1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
									<argument exp='&quot;L Bad&quot;' />
									<argument exp='10' />
									<argument exp='1' />
									<argument exp='1' />
									<argument exp='1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='User Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='file_last_file_found' >
							<return exp='file_nr' />
							<argument exp='finename_prefix' />
							<argument exp='filename_extension' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Init_IRQ' />
						<command class_type='interrupt' title='Interrupt' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='TMR0' call='timer1_irq' >
							<settings timer='1' prescale='-1' postscale='-1' rollover='50' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='50' />
								<option value='1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='keypressed' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
								<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='screen_show' />
								<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='5' >
									<flowline >
										<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
										<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='keypressed' />
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='rec_on = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
												<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Rec' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='power_enable' macro='TurnOff' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_blue' panelId='0' x='254.5' y='-84.5' z='0' xsz='81.25' ysz='32.2727' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='002' />
					<value target='Pin' data='$PORTA.25' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='LED_Mono_blue' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='ESP' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='65408' />
					<value target='OffColour' data='21802' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  1' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='a61211f1-3718-4d37-b4a4-c6193646ccfd' vmin='7' vmaj='2' codename='File_ESP32_SDMode1' panelId='0' x='440.244' y='-234.131' z='1' xsz='25.1778' ysz='25.1392' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Frequency' data='400' />
					<value target='FileCount' data='5' />
					<value target='SDMode' data='004' />
					<value target='BufferSize' data='512' />
					<value target='BufferSize_1' data='32' />
					<value target='SimRootFolder' data='$(srcdir)' />
					<value target='IsSim' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='UART1' panelId='0' x='104' y='-505' z='2' xsz='25.1778' ysz='25.526' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='000' />
					<value target='cal_uart::BAUD' data='921600' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTA.1' />
					<value target='cal_uart::OutputPins' data='023' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTA.3' />
					<value target='cal_uart::InputPins' data='028' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
					<value target='cal_uart::APIUseDDR' data='' />
					<value target='cal_uart::APIDDRPin' data='' />
					<value target='cal_uart::APIDDRRXState' data='' />
					<value target='cal_uart::APIUseFC' data='' />
					<value target='cal_uart::APICTSPin' data='' />
					<value target='cal_uart::APIRTSPin' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d977c3ef-c7dc-4683-a1be-76e17e6ba12b' vmin='5' vmaj='1' codename='LED_WS2811' panelId='-1' x='-20' y='10' 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 >
					<value target='LED_Controller' data='001' />
					<value target='DataOrder' data='1' />
					<value target='Reset_Time' data='50.000000' />
					<value target='T0H' data='0.350000' />
					<value target='T0L' data='0.800000' />
					<value target='T1H' data='0.700000' />
					<value target='T1L' data='0.600000' />
					<value target='T0HNops' data='78' />
					<value target='T0LNops' data='192' />
					<value target='T1HNops' data='168' />
					<value target='T1LNops' data='144' />
					<value target='DeviceFamily' data='ESP' />
					<value target='InstRate' data='180000000' />
					<value target='Direct' data='0' />
					<value target='T0HN' data='350.000000' />
					<value target='T0LN' data='800.000000' />
					<value target='T1HN' data='700.000000' />
					<value target='T1LN' data='600.000000' />
					<value target='LED_Arrangement' data='002' />
					<value target='LED_Count' data='2' />
					<value target='sequence' data='000' />
					<value target='LED_Cols' data='1' />
					<value target='x_spacing' data='10.000000' />
					<value target='LED_Rows' data='1' />
					<value target='y_spacing' data='10.000000' />
					<value target='LED_Layers' data='1' />
					<value target='z_spacing' data='10.000000' />
					<value target='FlipX' data='0' />
					<value target='FlipY' data='' />
					<value target='FlipZ' data='0' />
					<value target='MOSI' data='$PORTA.26' />
					<value target='InvertData' data='0' />
					<value target='Instance' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='power_enable' panelId='0' x='90.5' y='-90' z='3' xsz='72.3214' ysz='27.2727' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='002' />
					<value target='Pin' data='$PORTB.0' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='power_enable' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='ESP' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='65408' />
					<value target='OffColour' data='21802' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  1' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_testpin' panelId='0' x='90' y='-205' z='4' xsz='71.4286' ysz='31.8182' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='002' />
					<value target='Pin' data='$PORTA.17' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='LED_Mono_testpin' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='ESP' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='65408' />
					<value target='OffColour' data='21802' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  1' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text1' panelId='0' x='230' y='-505' z='5' xsz='37.5' ysz='68.75' 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' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='Ch1
921600
TX A1
RX A3' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  0' />
					<value target='nVerticalAlignment' data='  0' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<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='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='20699a0c-0925-40c4-8aa1-35f294e225e6' vmin='1' vmaj='1' codename='LSM9DS1_AccelGyroMagnet1' panelId='0' x='835' y='-130' z='6' xsz='20.2146' ysz='20.2683' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='accel_ad0_pin' data='001' />
					<value target='mag_ad0_pin' data='001' />
					<value target='cal_i2c::CHANNEL' data='' />
					<value target='cal_i2c::BAUD_LIST' data='002' />
					<value target='cal_i2c::BAUD' data='400000' />
					<value target='cal_i2c::StopDel' data='0' />
					<value target='cal_i2c::SDA' data='$PORTA.21' />
					<value target='cal_i2c::SDAPins' data='021' />
					<value target='cal_i2c::SCL' data='$PORTA.22' />
					<value target='cal_i2c::SCLPins' data='022' />
					<value target='accel_scale' data='003' />
					<value target='accel_data_rate' data='006' />
					<value target='gyro_scale' data='000' />
					<value target='gyro_data_rate' data='005' />
					<value target='compass_scale' data='003' />
					<value target='comp_data_rate' data='007' />
					<value target='SimType' data='000' />
					<value target='cal_i2c::ScopeTraces' data='1' />
					<value target='cal_i2c::ConsoleData' data='1' />
					<value target='cal_i2c::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text2' panelId='0' x='1170' y='-130' z='7' xsz='37.5' ysz='125' 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' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='LSM9DS1
+VCC 
+VCC 
CH2 Red  / for intern only
sda=a21
scl=a22
400KHz max' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  0' />
					<value target='nVerticalAlignment' data='  0' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<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='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f6ab6074-68ba-4cd4-9274-f973102f8518' vmin='9' vmaj='1' codename='gLCD_SSD1306_i2c1' panelId='0' x='796' y='-421' z='8' xsz='58.9043' ysz='56.7336' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_width' data='128' />
					<value target='pixel_height' data='128' />
					<value target='Interlaced' data='0' />
					<value target='OffsetX' data='0' />
					<value target='OffsetY' data='0' />
					<value target='monochrome' data='1' />
					<value target='foreground_colour' data='16777215' />
					<value target='background_colour' data='0' />
					<value target='colour_bit_depth' data='1' />
					<value target='red_bit_depth' data='0' />
					<value target='green_bit_depth' data='0' />
					<value target='blue_bit_depth' data='0' />
					<value target='Address' data='120' />
					<value target='cal_i2c1::CHANNEL' data='002' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::SDA' data='$PORTA.21' />
					<value target='cal_i2c1::SDAPins' data='021' />
					<value target='cal_i2c1::SCL' data='$PORTA.22' />
					<value target='cal_i2c1::SCLPins' data='022' />
					<value target='Base_GLCD::FontCount' data='001' />
					<value target='Base_GLCD::gLCD_Font1::Font' data='009' />
					<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::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='Base_GLCD::PhysicalOrientation' data='000' />
					<value target='SimComms' data='0' />
					<value target='cal_i2c1::ConsoleData' data='0' />
					<value target='cal_i2c1::ScopeTraces' data='0' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch1' panelId='0' x='757' y='-586.5' z='9' xsz='3.15789' ysz='2.75' 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='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.7' />
					<value target='polarity' data='001' />
					<value target='debounce' data='0' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch2' panelId='0' x='827' y='-586.5' z='10' xsz='3.15789' ysz='2.75' 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='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.4' />
					<value target='polarity' data='001' />
					<value target='debounce' data='0' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text3' panelId='0' x='840' y='-635' z='11' xsz='81.25' ysz='18.75' 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' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='S1/B7/io39  S2/B4/io36  S3/B3/io35' />
					<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='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<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='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch3' panelId='0' x='888' y='-586.5' z='12' xsz='3.15789' ysz='2.75' 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='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.3' />
					<value target='polarity' data='001' />
					<value target='debounce' data='0' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</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='465.888' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='434' dy='936' zoom='112.718' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='16777215' />
		<winpos ID='7005' RectRecentFloat='2723,206,4177,1208' RectRecentDocked='0,0,434,965' 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='-22.9994' ye='11.4292' ze='30.6801' xt='-22.9994' yt='11.4292' zt='-9.99882e-17' 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='255,818,1578,1600' RectRecentDocked='1832,183,2707,1731' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='1' >
		<panel2d_0 id='0' name='2D Panel' >
			<winpos ID='1171' RectRecentFloat='4178,78,5562,880' RectRecentDocked='2065,183,2707,1731' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119074570495' snaptogrid='1' />
		</panel2d_0>
	</panels2d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='140' scrollx='0' scrolly='756' flags='0' />
		<view type='0' name='Var_Const' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Speed_test_sdcard' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='sd_card_init' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='140' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='file_write_block' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='file_create' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='220' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='file_close' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='150' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Init_IRQ' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='200' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='key1_int' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='key2_int' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='key3_int' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='keypressed' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='125' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='USB_interrupt' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='130' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Rec' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='220' scrollx='0' scrolly='117' flags='0' />
		<view type='0' name='Imu_data_get_strg' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='260' scrollx='0' scrolly='2225' flags='0' />
		<view type='0' name='file_create_name' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='200' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='file_last_file_found' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='220' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='timer1_irq' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='220' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='swap' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='screen_show' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA6QgAAJkHAAA' zoom='150' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
