<root>
<document scada='0' schema='103' license='1,66718025,1KVTN2' title='' description='' fcversion='655364' target='ESP.ESP32.ESP32' >
	<config data='' clkspd='240000000' simspd='0' usewdt='0' constif='0' commport='3' 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='7a9f598a-4700-4a3f-9a61-083777060c48' 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='run' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Sig_22' type='s16' description='22' isconst='1' isHidden='0' isinit='1' usrinit='12850' setinit='12850' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='x_key3' type='u32' description='text in keybox3' isconst='1' isHidden='0' isinit='1' usrinit='230' setinit='230' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_filebuffer' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_block' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='x_key2' type='u16' description='text in keybox2' isconst='1' isHidden='0' isinit='1' usrinit='135' setinit='135' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='clear' type='T8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot;                    &quot;' setinit='&quot;                    &quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='x_key1' type='u16' description='text in keybox' isconst='1' isHidden='0' isinit='1' usrinit='40' setinit='40' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='L8' type='u32' description='' isconst='1' isHidden='0' isinit='1' usrinit='175' setinit='175' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_buffer_b' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</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='L7' type='u32' description='' isconst='1' isHidden='0' isinit='1' usrinit='150' setinit='150' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_buffer_a' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Sig_33' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='13107' setinit='13107' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='L6' type='u16' description='' isconst='1' isHidden='0' isinit='1' usrinit='125' setinit='125' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_sampletime_strg' 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='L5' type='u16' description='' isconst='1' isHidden='0' isinit='1' usrinit='100' setinit='100' />
				</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='75' setinit='75' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sample_flag' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='b' type='u8' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='L9_key' type='u16' description='in the Box' isconst='1' isHidden='0' isinit='1' usrinit='212' setinit='212' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='L3' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='50' setinit='50' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='a' type='u8' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='L2' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='25' setinit='25' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Sig_44' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='13364' setinit='13364' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='clear_data' type='T8' description='clear &quot;-16000&quot;' isconst='1' isHidden='0' isinit='1' usrinit='&quot;             &quot;' setinit='&quot;             &quot;' >
						<array size='20' />
					</def>
				</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='ret_sdcard' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</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='timer_flag' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</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='1' usrinit='&quot;test.fmv&quot;' setinit='&quot;test.fmv&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='buffer_full' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Sig_55' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='13621' setinit='13621' />
				</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='ret_read' 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='last_file_found' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='int_conversion' type='s16' 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='data_z' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</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='send_flow_limit' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='2010' setinit='2010' />
				</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='data_y' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='data_x' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_array' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</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='Build_date' type='T8' description='25 Zeichen per Zeile' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</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='sample_low' type='u8' description='' isconst='1' isHidden='0' isinit='1' usrinit='100' setinit='100' />
				</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='setup_sampletime' type='u16' description='in mSec' isconst='0' isHidden='0' isinit='1' usrinit='10' setinit='10' />
				</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='Buffer_ab' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='2' />
						<array size='2800' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='set_demodata' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_ini' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_demodata' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_sample' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sample_high' type='u8' description='' isconst='1' isHidden='0' isinit='1' usrinit='10' setinit='10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='display_flag' type='u32' 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='get_cmd' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='x5' type='u32' description='key 3' isconst='1' isHidden='0' isinit='1' usrinit='225' setinit='225' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Sig_00' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='12336' setinit='12336' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='int_array' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='512' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='set_write' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='x4' type='u8' description='key 2' isconst='1' isHidden='0' isinit='1' usrinit='130' setinit='130' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='brightness' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='100' setinit='100' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='x3' type='u8' description='Key 1' isconst='1' isHidden='0' isinit='1' usrinit='35' setinit='35' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='message_strg' 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='x2' type='u8' description='' isconst='1' isHidden='0' isinit='1' usrinit='10' setinit='10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_file_open' 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='temp_data_byte' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='65' setinit='65' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_alldata' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='x1' type='u8' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Sig_11' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='12593' setinit='12593' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Buffer_b' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='2800' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Buffer_a' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='2800' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_array' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='512' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='clear_line' type='T8' description='51Space' isconst='1' isHidden='0' isinit='1' usrinit='&quot;                                                    I&quot;' setinit='&quot;                                                    I&quot;' >
						<array size='55' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='set_sample' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_flow' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_flow_strg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
			</variables>
			<macros >
				<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='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='CloseFile' />
					</flowline>
				</macro>
				<macro >
					<flowline name='demo_data' 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_demodata = 0' />
						</command>
						<command class_type='loop' title='Loop 1280' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='640' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='Buffer_a[count_demodata] = 12336 //00' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='count_demodata = count_demodata + 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='Buffer_a[count_demodata] = 12593 //11' />
									<exp exp='' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='count_demodata = count_demodata + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='timer_sampling' 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='MPU_Bot' macro='SampleDevice' />
						<command class_type='comment' title='' comment='(Bot)' textarea='794,0,794,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetAccelReading' >
							<return exp='Buffer_a[count_alldata + 0]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetAccelReading' >
							<return exp='Buffer_a[count_alldata + 1]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetAccelReading' >
							<return exp='Buffer_a[count_alldata + 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='X' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetGyroReadng' >
							<return exp='Buffer_a[count_alldata + 3]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetGyroReadng' >
							<return exp='Buffer_a[count_alldata + 4]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetGyroReadng' >
							<return exp='Buffer_a[count_alldata + 5]' />
							<argument exp='2' />
						</command>
						<command class_type='comment' title='' comment='Sample Accel and Gyro and Magneto' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='Magneto intern not possible' textarea='798,-12,798,-12' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata + 6] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 7] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 8] = Sig_00' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata + 9] = Sig_11' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata + 10] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 11] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 12] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 13] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 14] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 15] = Sig_00' />
						</command>
						<command class_type='comment' title='' comment='Get Top' textarea='722,0,722,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='Sample Accel and Gyro and Magneto' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='Accel' textarea='900,6,900,6' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='Magneto not yet possible' textarea='798,-12,798,-12' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata + 16] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 17] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 18] = Sig_00' />
						</command>
						<command class_type='comment' title='' comment='Controll channel or temperatur' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Can move to begin of main, but dont forget it!' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata + 19] = SRSN16_MSB0' />
							<exp exp='' />
							<exp exp='count_alldata = count_alldata + 20' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Init_IMU' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='C Code' ccode='TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed=1;
TIMERG0.wdt_wprotect=0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
						<command class_type='comment' title='' comment='Koente besser sein wenn an einem I2C Bus beide IMU funktionieren wuerden!' 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='LCD' macro='ClearDisplay' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='1' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' 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 = 1' swap='0' >
										<flowline >
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
												<argument exp='&quot;Intern IMU ok(0x68)&quot;' />
												<argument exp='10' />
												<argument exp='1' />
												<argument exp='1' />
												<argument exp='0' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='rot' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='200' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
												<argument exp='&quot;BOT IMU BAD (0x68)&quot;' />
												<argument exp='10' />
												<argument exp='1' />
												<argument exp='1' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='SetForegroundColour' >
												<argument exp='brightness' />
												<argument exp='brightness' />
												<argument exp='brightness' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='5' type='2' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline />
							</case>
							<case exp='3' >
								<flowline />
							</case>
							<case exp='4' >
								<flowline />
							</case>
							<case exp='5' >
								<flowline />
							</case>
							<case exp='6' >
								<flowline />
							</case>
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='1' type='2' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='ClearDisplay' />
					</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='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='keyset &gt; 0' swap='0' >
							<flowline >
								<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='comment' title='' comment='not used' 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' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='send_flow = 0' />
												<exp exp='send_AGM = 3' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='100' />
											</command>
											<command class_type='call' title='line 7' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='PrintNumber' >
												<argument exp='keyset' />
												<argument exp='x2' />
												<argument exp='L8' />
												<argument exp='1' />
												<argument exp='0' />
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<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='comment' title='' comment='stop' 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 = 0' />
												<exp exp='stop = 1' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
												<argument exp='clear_line' />
												<argument exp='x1' />
												<argument exp='L8' />
												<argument exp='1' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='stop green' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='100' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='line 7' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
												<argument exp='filename' />
												<argument exp='x1' />
												<argument exp='L8' />
												<argument exp='1' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Set color and brightness' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='SetForegroundColour' >
												<argument exp='brightness' />
												<argument exp='brightness' />
												<argument exp='brightness' />
											</command>
											<command class_type='call' title='line 7' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='PrintNumber' >
												<argument exp='keyset' />
												<argument exp='x2' />
												<argument exp='L8' />
												<argument exp='1' />
												<argument exp='0' />
											</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='right key' textarea='36,12,36,12' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
											<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='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>
											<command class_type='call' title='line 7' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='PrintNumber' >
												<argument exp='keyset' />
												<argument exp='x2' />
												<argument exp='L8' />
												<argument exp='1' />
												<argument exp='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>
							<flowline />
						</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='timer_flag' 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='timer_flag = 1' />
							<exp exp='display_flag = display_flag + 1' />
							<exp exp='sample_flag = sample_flag + 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='backup' 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='timer_flag = 0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='SampleDevice' />
						<command class_type='comment' title='' comment='(Bot)' textarea='794,0,794,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetAccelReading' >
							<return exp='Buffer_a[count_alldata + 0]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetAccelReading' >
							<return exp='Buffer_a[count_alldata + 1]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetAccelReading' >
							<return exp='Buffer_a[count_alldata + 2]' />
							<argument exp='2' />
						</command>
						<command class_type='comment' title='' comment='Gyro' textarea='798,-12,798,-12' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='X' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetGyroReadng' >
							<return exp='Buffer_a[count_alldata + 3]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetGyroReadng' >
							<return exp='Buffer_a[count_alldata + 4]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetGyroReadng' >
							<return exp='Buffer_a[count_alldata + 5]' />
							<argument exp='2' />
						</command>
						<command class_type='comment' title='' comment='Sample Accel and Gyro and Magneto' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='Magneto intern not possible' textarea='798,-12,798,-12' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Magnetometer' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata + 6] = Sig_11' />
							<exp exp='Buffer_a[count_alldata + 7] = Sig_11' />
							<exp exp='Buffer_a[count_alldata + 8] = Sig_11' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata + 9] = Sig_00' />
						</command>
						<command class_type='comment' title='' comment='Get Top' textarea='722,0,722,0' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='Sample Accel and Gyro and Magneto' textarea='12,0,12,0' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='Accel' textarea='900,6,900,6' disable='1' 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='Buffer_a[count_alldata + 10] = Sig_11' />
							<exp exp='Buffer_a[count_alldata + 11] = Sig_11' />
							<exp exp='Buffer_a[count_alldata + 12] = Sig_11' />
							<exp exp='' />
							<exp exp='Buffer_a[count_alldata + 13] = Sig_11' />
							<exp exp='Buffer_a[count_alldata + 14] = Sig_11' />
							<exp exp='Buffer_a[count_alldata + 15] = Sig_11' />
						</command>
						<command class_type='comment' title='' comment='Magneto not yet possible' textarea='798,-12,798,-12' disable='1' 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='Buffer_a[count_alldata + 16] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 17] = Sig_00' />
							<exp exp='Buffer_a[count_alldata + 18] = Sig_00' />
						</command>
						<command class_type='comment' title='' comment='Controll channel or temperatur' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Can move to begin of main, but dont forget it!' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata + 19] = SRSN16_MSB0' />
							<exp exp='' />
						</command>
						<command class_type='calculation' title='Can move to begin of main, but dont forget it!' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_alldata = count_alldata + 20' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='set_screen' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='C Code' ccode='TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed=1;
TIMERG0.wdt_wprotect=0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
						<command class_type='call' title='Component Macro' textarea='36,0,511,300' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='AutoVersionID1' macro='GetDate' >
							<return exp='Build_date' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Build_date = &quot;Version &quot; + Build_date' />
						</command>
						<command class_type='comment' title='' comment='space y =25' textarea='12,0,487,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='Set color and brightness' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='SetForegroundColour' >
							<argument exp='brightness' />
							<argument exp='brightness' />
							<argument exp='brightness' />
						</command>
						<command class_type='call' title='Line 1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;IMU_sdcard_Ch1&quot;' />
							<argument exp='x1' />
							<argument exp='L1' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Line 2 Version' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='Build_date' />
							<argument exp='x1' />
							<argument exp='L2' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Line 3 Commands to use' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;Single Sensor on Blue port&quot;' />
							<argument exp='x1' />
							<argument exp='L3' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Line 4 Limite and frequenz' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;line1&quot;' />
							<argument exp='x2' />
							<argument exp='L4' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Line  5 sampletime in mSec      (Frequenz = 1 : sampletime)' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;line2&quot;' />
							<argument exp='x2' />
							<argument exp='L5' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Line 6 USB Parameter' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;USB  921600 Bd&quot;' />
							<argument exp='x2' />
							<argument exp='L6' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='comment' title='' comment='150 and 175 for count ' textarea='12,0,487,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='switch' textarea='12,0,487,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='Switch left (keycode 4)' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;---&quot;' />
							<argument exp='x_key1' />
							<argument exp='L9_key' />
							<argument exp='1' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Switch middle (keycode 2)' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;Stop&quot;' />
							<argument exp='x_key2' />
							<argument exp='L9_key' />
							<argument exp='1' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Switch rigth (keycode 1)' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;Rec&quot;' />
							<argument exp='x_key3' />
							<argument exp='L9_key' />
							<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='LCD' macro='DrawRectangle' >
							<argument exp='35' />
							<argument exp='210' />
							<argument exp='95' />
							<argument exp='238' />
							<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='LCD' macro='DrawRectangle' >
							<argument exp='130' />
							<argument exp='210' />
							<argument exp='190' />
							<argument exp='238' />
							<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='LCD' macro='DrawRectangle' >
							<argument exp='225' />
							<argument exp='210' />
							<argument exp='285' />
							<argument exp='238' />
							<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='Display_on1' macro='TurnOn' />
					</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='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='filename = finename_prefix + ToString$(file_nr)' />
							<exp exp='filename = filename + &quot;.fmv&quot;' />
							<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='FileSD1' macro='CreateFile' >
							<argument exp='filename' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='clear_data' />
							<argument exp='x3' />
							<argument exp='L5' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='clear_data' />
							<argument exp='x3' />
							<argument exp='L6' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='clear_data' />
							<argument exp='x3' />
							<argument exp='L7' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Rec red color' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='SetForegroundColour' >
							<argument exp='100' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='line 7' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='clear_line' />
							<argument exp='x1' />
							<argument exp='L8' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='line 7' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='filename' />
							<argument exp='x2' />
							<argument exp='L8' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Set color and brightness' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='SetForegroundColour' >
							<argument exp='brightness' />
							<argument exp='brightness' />
							<argument exp='brightness' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='OpenFile' >
							<argument exp='filename' />
						</command>
					</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_buffer_a = 0' />
						</command>
						<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='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='count_filebuffer = 0' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='sample_flag &gt; 0' swap='0' >
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='get_IMU_data' />
									</flowline>
									<flowline />
								</command>
								<command class_type='loop' title='2 bytes writen' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='256' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='TypeConversions1' macro='SetInt' >
											<argument exp='0' />
											<argument exp='Buffer_ab[set_write][count_buffer_a]' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='TypeConversions1' macro='GetByte' >
											<return exp='temp_data_byte' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Write to FC File Buffer' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='WriteByteToBuffer' >
											<argument exp='count_filebuffer' />
											<argument exp='temp_data_byte' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='count_filebuffer = count_filebuffer + 1' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='TypeConversions1' macro='GetByte' >
											<return exp='temp_data_byte' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Write to FC File Buffer' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='WriteByteToBuffer' >
											<argument exp='count_filebuffer' />
											<argument exp='temp_data_byte' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='count_filebuffer = count_filebuffer + 1' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='count_buffer_a = count_buffer_a + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='count_block = count_block + 1' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='WriteFileSector' />
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='sample_flag &gt; 0' swap='0' >
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='get_IMU_data' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='MoveToNextFileSector' >
									<return exp='ret_byte' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='sample_flag &gt; 0' swap='0' >
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='get_IMU_data' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='init' 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='Display_on1' macro='TurnOn' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='ClearDisplay' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='10' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='USB1' macro='Initialise' />
					</flowline>
				</macro>
				<macro >
					<flowline name='BT_interrupt' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='ret_strg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='get_cmd = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='file_sdcard_init' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='10' >
							<flowline >
								<command class_type='native' title='C Code' ccode='TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed=1;
TIMERG0.wdt_wprotect=0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='ret_sdcard = 0' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='Initialise' >
											<return exp='ret_sdcard' />
										</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='message_strg = ToString$(ret_sdcard)' />
										</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>
						</command>
					</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='' />
					</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='get_IMU_data' 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='timer_flag = 0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='SampleDevice' />
						<command class_type='comment' title='' comment='(Bot)' textarea='794,0,794,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetAccelReading' >
							<return exp='Buffer_ab[set_sample][count_alldata + 0]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetAccelReading' >
							<return exp='Buffer_ab[set_sample][count_alldata + 1]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetAccelReading' >
							<return exp='Buffer_ab[set_sample][count_alldata + 2]' />
							<argument exp='2' />
						</command>
						<command class_type='comment' title='' comment='Gyro' textarea='798,-12,798,-12' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='X' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetGyroReadng' >
							<return exp='Buffer_ab[set_sample][count_alldata + 3]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetGyroReadng' >
							<return exp='Buffer_ab[set_sample][count_alldata + 4]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU_Bot' macro='GetGyroReadng' >
							<return exp='Buffer_ab[set_sample][count_alldata + 5]' />
							<argument exp='2' />
						</command>
						<command class_type='calculation' title='Magnetometer' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_ab[set_sample][count_alldata + 0] = Sig_55' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 1] = Sig_00' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 2] = Sig_00' />
						</command>
						<command class_type='calculation' title='Magnetometer' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_ab[set_sample][count_alldata + 3] = Sig_11' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 4] = Sig_11' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 5] = Sig_11' />
						</command>
						<command class_type='comment' title='' comment='Sample Accel and Gyro and Magneto' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='Magneto intern not possible' textarea='798,-12,798,-12' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Magnetometer' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_ab[set_sample][count_alldata + 6] = Sig_11' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 7] = Sig_11' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 8] = Sig_11' />
						</command>
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_ab[set_sample][count_alldata + 9] = Sig_00' />
						</command>
						<command class_type='comment' title='' comment='Get Top' textarea='722,0,722,0' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Can move to begin of main, but dont forget it!' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_ab[set_sample][count_alldata + 9] = SRSN16_MSB0' />
							<exp exp='' />
						</command>
						<command class_type='calculation' title='Can move to begin of main, but dont forget it!' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_alldata = count_alldata + 10' />
						</command>
						<command class_type='comment' title='' comment='Sample Accel and Gyro and Magneto' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='Accel' textarea='900,6,900,6' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_ab[set_sample][count_alldata + 10] = Sig_11' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 11] = Sig_11' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 12] = Sig_11' />
							<exp exp='' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 13] = Sig_11' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 14] = Sig_11' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 15] = Sig_11' />
						</command>
						<command class_type='comment' title='' comment='Magneto not yet possible' textarea='798,-12,798,-12' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_ab[set_sample][count_alldata + 16] = Sig_22' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 17] = Sig_33' />
							<exp exp='Buffer_ab[set_sample][count_alldata + 18] = Sig_44' />
						</command>
						<command class_type='comment' title='' comment='Controll channel or temperatur' textarea='12,0,12,0' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Can move to begin of main, but dont forget it!' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_ab[set_sample][count_alldata + 19] = SRSN16_MSB0' />
							<exp exp='' />
						</command>
						<command class_type='calculation' title='Can move to begin of main, but dont forget it!' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_alldata = count_alldata + 20' />
						</command>
					</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='file_sd_card_info' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='ret_sdcard = 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='message_strg = &quot;sd-card ok&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Rec red color' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='SetForegroundColour' >
									<argument exp='100' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='calculation' title='Calculation' 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='message_strg = &quot;sd-card missing&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='message_strg' />
							<argument exp='x1' />
							<argument exp='L4' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Set color and brightness' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='SetForegroundColour' >
							<argument exp='brightness' />
							<argument exp='brightness' />
							<argument exp='brightness' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='file_append' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Byte' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='loop' title='Loop' disable='1' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='512' >
							<flowline >
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='AppendByteToFile' >
									<argument exp='66' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='Byte array' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_array = 0' />
						</command>
						<command class_type='loop' title='Loop' disable='1' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' forvar='count_array' exp='512' >
							<flowline >
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='byte_array[count_array] = 67' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_array = 0' />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='AppendByteArrayToFile' >
							<argument exp='byte_array' />
							<argument exp='512' />
						</command>
						<command class_type='comment' title='' comment='String' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='AppendStringToFile' >
							<argument exp='&quot;1234567890&quot;' />
						</command>
						<command class_type='comment' title='' comment='Append int array' 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_array = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' forvar='count_array' exp='512' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='int_array[count_array] = Sig_11' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='AppendINTArrayToFile' >
							<argument exp='int_array' />
							<argument exp='512' />
							<argument exp='0' />
						</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='demo_set' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation 0-5' textarea='36,0,511,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata] = 12336' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = 12593' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = 12336' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = 12593' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = 12336' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='' />
							<exp exp='' />
						</command>
						<command class_type='comment' title='' comment='Magneto intern not possible' textarea='798,-12,798,-12' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Calculation 6-18' textarea='36,0,511,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata] = 12593' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = 12593' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = 12593' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = 12593' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = 12593' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = Sig_00' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = Sig_00' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = Sig_00' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = Sig_00' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = Sig_00' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = Sig_00' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = Sig_00' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = Sig_00' />
							<exp exp='count_alldata = count_alldata + 1' />
							<exp exp='Buffer_a[count_alldata] = Sig_00' />
							<exp exp='count_alldata = count_alldata + 1' />
						</command>
						<command class_type='comment' title='' comment='Controll channel or temperatur' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Can move to begin of main, but dont forget it!' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Buffer_a[count_alldata] = SRSN16_MSB0' />
							<exp exp='count_alldata = count_alldata + 1' />
						</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' 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='GPIO38' call='key2_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 Button3' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='GPIO37' call='key3_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' textarea='36,0,511,300' 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='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='init' />
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Init_IMU' />
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='set_screen' />
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='file_sdcard_init' />
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='file_sd_card_info' />
						<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='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
						<command class_type='interrupt' title='Interrupt 10mSec' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='TMR0' call='timer_flag' >
							<settings timer='1' prescale='-1' postscale='-1' rollover='10' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='10' />
								<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='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='buffer_full = 0' />
							<exp exp='set_sample = 0' />
							<exp exp='set_write = 0' />
							<exp exp='rec_on = 0' />
							<exp exp='count_alldata = 0' />
						</command>
						<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 = finename_prefix + ToString$(file_nr)' />
									<exp exp='filename = filename + &quot;.fmv&quot;' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='FileSD1' macro='OpenFile' >
									<return exp='ret_file_open' />
									<argument exp='filename' />
								</command>
								<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='FileSD1' macro='CloseFile' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
											<argument exp='filename' />
											<argument exp='50' />
											<argument exp='L6' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline >
										<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>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
											<argument exp='clear_line' />
											<argument exp='x1' />
											<argument exp='L6' />
											<argument exp='1' />
											<argument exp='0' />
										</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='LCD' macro='Print' >
							<argument exp='&quot;next file:&quot;' />
							<argument exp='x1' />
							<argument exp='L8' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='filename' />
							<argument exp='x4' />
							<argument exp='L8' />
							<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='2' type='2' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;AX:&quot;' />
							<argument exp='x1' />
							<argument exp='L5' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;AY:&quot;' />
							<argument exp='x1' />
							<argument exp='L6' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
							<argument exp='&quot;AZ:&quot;' />
							<argument exp='x1' />
							<argument exp='L7' />
							<argument exp='1' />
							<argument exp='0' />
						</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='native' title='C Code' ccode='TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed=1;
TIMERG0.wdt_wprotect=0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
								<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='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='file_create' />
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='buffer_full = 0' />
											<exp exp='set_sample = 0' />
											<exp exp='set_write = 0' />
											<exp exp='count_alldata = 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='native' title='C Code' ccode='TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed=1;
TIMERG0.wdt_wprotect=0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
												<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='sample_flag &gt; 0' swap='0' >
													<flowline >
														<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='get_IMU_data' />
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='count_alldata &gt;= 2560' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='set_sample = 0' swap='0' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
																	<exp exp='set_sample = 1' />
																	<exp exp='set_write = 0' />
																	<exp exp='count_alldata = 0' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
																	<exp exp='set_sample = 0' />
																	<exp exp='set_write = 1' />
																	<exp exp='count_alldata = 0' />
																</command>
															</flowline>
														</command>
														<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='file_write_block' />
														<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='stop = 1' swap='0' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
																	<exp exp='rec_on = 0' />
																</command>
															</flowline>
															<flowline />
														</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='LCD' macro='Print' >
											<argument exp='&quot;AX:&quot;' />
											<argument exp='x1' />
											<argument exp='L5' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
											<argument exp='&quot;AY:&quot;' />
											<argument exp='x1' />
											<argument exp='L6' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
											<argument exp='&quot;AZ:&quot;' />
											<argument exp='x1' />
											<argument exp='L7' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='sample_flag &gt; 0' swap='0' >
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='get_IMU_data' />
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='count_alldata = 0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
											<argument exp='clear_data' />
											<argument exp='x3' />
											<argument exp='L5' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
											<argument exp='clear_data' />
											<argument exp='x3' />
											<argument exp='L6' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
											<argument exp='clear_data' />
											<argument exp='x3' />
											<argument exp='L7' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
											<argument exp='clear_data' />
											<argument exp='x4' />
											<argument exp='L5' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
											<argument exp='clear_data' />
											<argument exp='x4' />
											<argument exp='L6' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='Print' >
											<argument exp='clear_data' />
											<argument exp='x4' />
											<argument exp='L7' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='PrintNumber' >
											<argument exp='Buffer_ab[set_sample][0]' />
											<argument exp='x3' />
											<argument exp='L5' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='PrintNumber' >
											<argument exp='Buffer_ab[set_sample][1]' />
											<argument exp='x3' />
											<argument exp='L6' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='PrintNumber' >
											<argument exp='Buffer_ab[set_sample][2]' />
											<argument exp='x3' />
											<argument exp='L7' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='PrintNumber' >
											<argument exp='Buffer_ab[set_sample][3]' />
											<argument exp='x4' />
											<argument exp='L5' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='PrintNumber' >
											<argument exp='Buffer_ab[set_sample][4]' />
											<argument exp='x4' />
											<argument exp='L6' />
											<argument exp='1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LCD' macro='PrintNumber' >
											<argument exp='Buffer_ab[set_sample][5]' />
											<argument exp='x4' />
											<argument exp='L7' />
											<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='800' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='7bd84555-ae51-40cc-8e1a-a7bcba661e52' vmin='0' vmaj='2' codename='LCD' panelId='0' x='391' y='-401' z='0' xsz='27.6937' ysz='31.25' zsz='1.14155' 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='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='16777215' />
					<value target='background_colour' data='0' />
					<value target='InvertColour' data='1' />
					<value target='SwapRB' data='0' />
					<value target='BGCOL' data='0' />
					<value target='FGCOL' data='65535' />
					<value target='QueueFastPixels' data='0' />
					<value target='PixelQueueSize' data='240' />
					<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='001' />
					<value target='cal_spi1::PR_SCALE' data='050' />
					<value target='cal_spi1::MOSI' data='$PORTA.23' />
					<value target='cal_spi1::MOSIPins' data='028' />
					<value target='cal_spi1::MISO' data='$PORTA.19' />
					<value target='cal_spi1::MISOPins' data='026' />
					<value target='cal_spi1::CLK' data='$PORTA.18' />
					<value target='cal_spi1::CLKPins' data='027' />
					<value target='ToggleCS' data='1' />
					<value target='chip_sel_pin' data='$PORTA.14' />
					<value target='dc_pin' data='$PORTA.27' />
					<value target='reset_pin' data='$PORTB.1' />
					<value target='led_pin' data='$PORTB.0' />
					<value target='UseBacklight' data='0' />
					<value target='Base_GLCD::FontCount' data='002' />
					<value target='Base_GLCD::gLCD_Font1::Font' data='013' />
					<value target='Base_GLCD::gLCD_Font1::FontSpace' data='002' />
					<value target='Base_GLCD::gLCD_Font1::SpaceWidth' data='008' />
					<value target='Base_GLCD::gLCD_Font2::Font' data='016' />
					<value target='Base_GLCD::gLCD_Font2::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font2::SpaceWidth' data='005' />
					<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='Base_GLCD::ComponentLabel' data='000' />
					<value target='Base_GLCD::GdiText1::sText' data='LCD' />
					<value target='Base_GLCD::GdiText1::dScale' data='0.7' />
					<value target='DisplayMethod' data='000' />
					<value target='Base_GLCD::PhysicalOrientation' data='' />
					<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='0b61bd39-05a3-46ee-a2a5-da7bffb583c5' vmin='0' vmaj='3' codename='FileSD1' panelId='0' x='130.5' y='-201.186' z='1' xsz='19.8669' ysz='19.7246' 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='cal_spi::CHANNEL' data='001' />
					<value target='cal_spi::MOSI' data='$PORTA.23' />
					<value target='cal_spi::MOSIPins' data='028' />
					<value target='cal_spi::MISO' data='$PORTA.19' />
					<value target='cal_spi::MISOPins' data='026' />
					<value target='cal_spi::CLK' data='$PORTA.18' />
					<value target='cal_spi::CLKPins' data='027' />
					<value target='cal_spi::SS' data='$PORTA.4' />
					<value target='PR_SCALE' data='050' />
					<value target='PR_SCALE2' data='050' />
					<value target='max_concurrent_files' data='1' />
					<value target='EOFtype' data='000' />
					<value target='IsSim' data='0' />
					<value target='SimType' data='000' />
					<value target='root_dir' data='$(srcdir)' />
					<value target='cal_spi::ScopeTraces' data='0' />
					<value target='cal_spi::ConsoleData' data='0' />
					<value target='cal_spi::Injector' data='000' />
					<value target='cal_spi1::InjectorCS' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='Display_on1' panelId='0' x='444.5' y='-64.5' z='2' xsz='9.10256' ysz='6.53846' 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.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='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='USB1' panelId='0' x='321.049' y='-184' z='3' xsz='24.9811' 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='cal_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='000' />
					<value target='cal_uart::BAUD' data='115200' />
					<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='007' />
					<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='013' />
					<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='6508c7be-063a-4f9f-bae5-4a41cf977a86' vmin='0' vmaj='1' codename='TypeConversions1' panelId='0' x='146.5' y='-340.5' z='4' xsz='25.18' ysz='25.1413' 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='GenCode' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d950cf7c-f9fc-49ba-a486-0d45b6afd1aa' vmin='1' vmaj='2' codename='MPU_Bot' panelId='0' x='811.545' y='-185.5' z='5' xsz='25.0447' ysz='25.062' 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='AddressBit' data='0' />
					<value target='GyroRange' data='000' />
					<value target='AccelRange' data='000' />
					<value target='cal_i2c1::CHANNEL' data='001' />
					<value target='cal_i2c1::SDA' data='$PORTA.17' />
					<value target='cal_i2c1::SDAPins' data='023' />
					<value target='cal_i2c1::SCL' data='$PORTA.16' />
					<value target='cal_i2c1::SCLPins' data='022' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::BAUD_LIST' data='003' />
					<value target='cal_i2c1::BAUD' data='1000000' />
					<value target='SimulateComms' data='1' />
					<value target='cal_i2c1::ScopeTraces' data='1' />
					<value target='cal_i2c1::ConsoleData' data='1' />
					<value target='cal_i2c1::Injector' data='000' />
					<value target='AccelMult' data='16383.500000' />
					<value target='GyroMult' data='131.067993' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text1' panelId='0' x='760' y='-370' z='6' xsz='37.5' ysz='12.5' 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='MPU_BOT CH1 Blue scl=a16 /sda=a17' />
					<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='GdiText' codename='StaticText5' panelId='0' x='415' y='-590' z='7' xsz='59.375' ysz='37.5' 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='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='S1/B7/io39  S2/B6/io38  S3/B5/io37' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='002' />
					<value target='nVerticalAlignment' data='002' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Arial' />
					<value target='dScale' data='0.500000' />
					<value target='bScaleWidth' data='1' />
					<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='16760992' />
					<value target='nGradient' data='000' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' 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='325' y='-546' z='8' xsz='2.63158' ysz='2.66667' 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='' />
					<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='415' y='-546' z='9' xsz='2.63158' ysz='2.66667' 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.6' />
					<value target='polarity' data='001' />
					<value target='debounce' data='' />
					<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_switch3' panelId='0' x='495' y='-546' z='10' xsz='2.63158' ysz='2.66667' 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.5' />
					<value target='polarity' data='001' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1911d96c-78dd-414a-b23c-6691fb19f63f' vmin='2' vmaj='1' codename='AutoVersionID1' panelId='0' x='146' y='-506' z='11' xsz='24.9572' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='BuildNumber' data='353' />
					<value target='DateDivider' data='/' />
					<value target='TimeDivider' data=':' />
					<value target='DateFormat' data='000' />
					<value target='LastBuildDate' data='22/09/23' />
					<value target='LastBuildTime' data='16:53:40' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='920175dd-ace8-49e2-9208-ec548563c9c0' vmin='0' vmaj='1' codename='RTC_ESP32_NTP1' panelId='0' x='85.5' y='-56' z='12' xsz='25.18' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='TimeServer' data='pool.ntp.org' />
					<value target='GMTOff' data='0' />
					<value target='NumRetries' data='10' />
					<value target='Sim' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='0' ye='0' ze='48.0091' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='623' dy='1921' zoom='1570.18' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='16777215' />
		<winpos ID='7005' RectRecentFloat='2723,206,4177,1208' RectRecentDocked='0,0,623,1950' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='781.66' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
		<winpos ID='7004' RectRecentFloat='255,818,1578,1600' RectRecentDocked='2258,183,3146,2133' 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='4043,198,5263,955' RectRecentDocked='2504,183,3146,2133' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='10' gridbrush='71776119075691740' snaptogrid='1' />
		</panel2d_0>
	</panels2d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='140' scrollx='0' scrolly='3060' flags='0' />
		<view type='0' name='init' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='170' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='file_sdcard_init' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='150' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='file_write_block' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='160' scrollx='0' scrolly='809' flags='0' />
		<view type='0' name='timer_sampling' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='timer_flag' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='220' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='get_IMU_data' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='110' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='keypressed' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='key3_int' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='key2_int' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='key1_int' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='backup' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='120' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='set_screen' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='160' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='BT_interrupt' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Init_IRQ' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='USB_interrupt' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='file_create' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='180' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Init_IMU' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='130' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='file_sd_card_info' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA7AkAAJkHAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
