<root>
<document scada='0' schema='103' license='1,66718025,1KVTN2' title='' description='' fcversion='655618' target='ESP.ESP32.ESP32_WROOM_32' >
	<config data='' clkspd='240000000' simspd='0' usewdt='1' constif='0' commport='10' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='1' head='#include &lt;esp_sleep.h&gt;' body='' />
	<debug />
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='1' />
			<data name='CalculatedCommsDelay' value='1' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='0' center='1' unitscale='0' fixedscale='0' fixedx='25' fixedy='25' fixedz='25' headcode='0' />
		<definition guid='579a438c-91f1-4a69-9667-a5dc26acb16b' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' bIs3dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' showmacros='1' iconpath='' />
		<component class_type='root' codename='ComponentRoot' panelId='-1' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties >
				<property name='Pin33' target='pin33' typeid='5' hidden='0' locked='0' info='' />
			</properties>
			<values >
				<value target='pin33' data='$pin33' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='lead_strg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_16B' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ad_value' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='distance_long' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_loop' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='apend_strg_m' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='stat_rec' type='u8' description='status record' isconst='1' isHidden='0' isinit='1' usrinit='3' setinit='3' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AD_value_srtg' type='T8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot;0&quot;' setinit='&quot;0&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='test' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_enable' type='u8' description='send date to USB or Bt if &gt;0' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IMU_BRUX' type='u8' description='If IMU Brux used set it to 1' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_16' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='stop' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_down' type='s32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='byte_15' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SHT_float_round' type='f32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0.0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='status' type='u8' description='0= stat_sleep; 1= stat_wait, 2=stat_rec' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='lsm2_ok' type='u8' description='if connected' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='off' type='u8' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_accu' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ad_value_float' type='f32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0.0' setinit='0' />
				</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='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='BT_USB' type='u8' description='0= send to BT  or 1= send to USB' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='filename' type='T8' description='hold the filename' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rec_sample' type='u8' description='sample if its time' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_ad' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_down_set' type='u32' description='for test just 100 for 10Sec /200 for 20 seconds / 600 for 1 minute' isconst='0' isHidden='0' isinit='1' usrinit='6000' setinit='6000' />
				</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='temp_Float' type='f32' description='general ret float, multi used' isconst='0' isHidden='0' isinit='1' usrinit='0.0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='apend_strg' type='T8' description='to save on disk' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='200' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='apend_strg_c' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_byte' type='u8' description='general ret byte, multi used' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='key3' type='u8' description='key 3 pressed value' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='apend_strg_a' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='100' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_swap' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='led_on' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AGMT_T' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='distance_int' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='key2' type='u8' description='key 2 pressed value' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='filename_prefix' type='T8' description='for file prefix' isconst='0' isHidden='0' isinit='1' usrinit='&quot;imu1_&quot;' setinit='&quot;imu1_&quot;' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='accu_strg' 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='key1' type='u8' description='key 1 pressed value' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='S_send_ok' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='keyset' type='u8' description='result for key' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_mpu' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='stat_wait' type='u8' description='status  wait' isconst='1' isHidden='0' isinit='1' usrinit='2' setinit='2' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='number_of_thempsonden' type='u8' description='1-12 elements' isconst='0' isHidden='0' isinit='1' usrinit='12' setinit='12' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_srtg' 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='AG_XYZ' type='s16' description='2x IMU with A xyz G xyz  M xyz  T =&gt; 20 integer' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='All_Temperatur' type='s16' description='save date from max 32 Thempcouple' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='testpin' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='timer_strg_3' 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='accu_byte_display' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='50' setinit='50' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_array' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='timer_strg_2' 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_data' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='display_text' 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='count_display_main' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</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='count_blue_led' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='timer_strg_1' 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='adress_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='display_on' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temperatur_float' type='f32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0.0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SRSN16_MSB1' type='s16' description='\r\n in 16 Bit is dec3338   hex  0xD0A   b: 00001101 0000 1010' isconst='1' isHidden='0' isinit='1' usrinit='3338' setinit='3338' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SRSN16_MSB0' type='s16' description='\r\n in 16 Bit is dec3338   hex  0xD0A   b: 00001101 0000 1010' isconst='1' isHidden='0' isinit='1' usrinit='2573' setinit='2573' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_hx' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='debug_mode' type='b1' description='normal 0 / If test then 1' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_display_update' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='number_of_channel' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='13' setinit='13' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='get_cmd' type='u8' description='get the command from USB or BT' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rec_on' type='u8' description='rec is running' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_loop_strg' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BT_sen_strg' type='T8' description='set for sending string to BT' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</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='last_key' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='stat_no_change' type='u8' description='no key accept' isconst='1' isHidden='0' isinit='1' usrinit='4' setinit='4' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SHT_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='file_nr' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='stop_code' type='u8' description='reason to stop recording' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='lsm1_ok' type='u8' description='if connected' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='who_am_i_2' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Ad_result' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='1000' setinit='1000' />
				</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='who_am_i_1' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='on' type='u8' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SHT_float' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_por' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_float' type='f32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0.0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='filename_extension' type='T8' description='for a standard extension' isconst='0' isHidden='0' isinit='1' usrinit='&quot;.csv&quot;' setinit='&quot;.csv&quot;' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_strg_BT_USB' type='T8' description='general ret strg, multi used' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='40' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_key_time' type='u32' description='not used' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='accu_byte' type='u8' description='0-100' isconst='0' isHidden='0' isinit='1' usrinit='100' setinit='100' />
				</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='stat_sleep' type='u8' description='status sleep' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='termo_ok' type='u8' description='if connected' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Bt_install' description='config menuconfig with commands for ESP-IF' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='C:\FcM510\24\L24\L24_1\menuconfig.bat' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='CD C:\FcM510\24\L24\L24_1 &amp; idf.py menuconfig' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='CD C:\FcM510\24\L24\L24_1 &amp; idf.py menuconfig
or use first 
CD C:\FcM510\Logger\Sparkfun_loggerBT1
Then run (type) 
idf.py menuconfig

C:\FcM510\24\L24\L24_1

idf.py fullclean
CD C:\FcM510\24\L24\L24_1 &amp; idf.py menuconfig
' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='ADS1115' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='1' type='2' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='ADS111x1' macro='SampleSglVolts' >
							<return exp='ad_value_float' />
							<argument exp='0' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='AD_value_srtg = FloatToString$(ad_value_float)' />
							<exp exp='AD_value_srtg = AD_value_srtg + &quot;\r\n&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1' macro='SendString' >
							<argument exp='AD_value_srtg' />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='ADS111x1' macro='SampleSglRaw' >
							<return exp='ad_value' />
							<argument exp='0' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='AD_value_srtg = ToString$(ad_value)' />
							<exp exp='AD_value_srtg = AD_value_srtg + &quot;\r\n&quot;' />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1' macro='SendString' >
							<argument exp='AD_value_srtg' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='file_close' description='close the file' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CloseFile' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Accu' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='pin33 = 1' />
						</command>
						<command class_type='loop' title='Loop' disable='1' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='1000' >
							<flowline >
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='ret_byte = 1' />
								</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='pin33 = 0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='count_accu &gt; 20' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='count_accu = 0' />
								</command>
								<command class_type='call' title='' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='CellGauge1' macro='ReadStateOfChargeByte' >
									<return exp='accu_byte' />
								</command>
								<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='//accu_byte = 100' />
									<exp exp='apend_strg = apend_strg + ToString$(accu_byte)' />
									<exp exp='apend_strg = apend_strg + &quot;,&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='count_accu = count_accu + 1' />
								</command>
								<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='apend_strg = apend_strg + ToString$(accu_byte)' />
									<exp exp='apend_strg = apend_strg + &quot;,&quot;' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Rec' description='Recording macro' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
							<argument exp='0' />
							<argument exp='150' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='Uninitialise' />
						<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='File_ESP32_SDMode1' macro='Initialise' >
							<return exp='ret_byte' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='file create with the name it need file_lastfile_found b4' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='file_create_name' />
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='display_on = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
									<argument exp='filename' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<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='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_accu = 0' />
							<exp exp='accu_byte = 100' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_loop = 0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='termo_ok = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='AppendStringToFile' >
									<argument exp='&quot;2mm_1,2mm_2,2mm_3,4mm_1,4mm_2,4mm_3,8mm_1,8mm_2,8mm_3,Air,Heat,reserve\r\n&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Most time it&apos;s not connect' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='lsm2_ok = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='AppendStringToFile' >
									<argument exp='&quot;Bot_acc_x,Bot_acc_y,Bot_acc_z,Bot_gyro_y,Bot_gyro_x,Bot_gyro_z,Bot_mag_x,Bot_mag_y,Bot_mag_z,Bot_temp,Top_acc_x,Top_acc_y,Top_acc_z,Top_gyro_y,Top_gyro_x,Top_gyro_z,Top_mag_x,Top_mag_y,Top_mag_z,Top_temp,Timer1,Timer2,Timer3,\r\n&quot;' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='AppendStringToFile' >
									<argument exp='&quot;Bot_acc_x,Bot_acc_y,Bot_acc_z,Bot_gyro_y,Bot_gyro_x,Bot_gyro_z,Bot_mag_x,Bot_mag_y,Bot_mag_z,Bot_temp,Top_acc_x,Top_acc_y,Top_acc_z,Top_gyro_y,Top_gyro_x,Top_gyro_z,Top_mag_x,Top_mag_y,Top_mag_z,Top_temp,Accu,\r\n&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='If not so it&apos;s a temperatur logger' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' totalfolded='1' exp='lsm1_ok = 1' swap='0' >
									<flowline folded='1' totalfolded='1' >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' hiddenFromFold='1' component='File_ESP32_SDMode1' macro='AppendStringToFile' >
											<argument exp='&quot;Bot_acc_x,Bot_acc_y,Bot_acc_z,Bot_gyro_y,Bot_gyro_x,Bot_gyro_z,Bot_mag_x,Bot_mag_y,Bot_mag_z,Bot_temp\r\n&quot;' />
										</command>
									</flowline>
									<flowline folded='1' totalfolded='1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
							<argument exp='0' />
							<argument exp='20' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
						<command class_type='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='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='status = stat_rec //2' />
								</command>
								<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='keypressed' />
								<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='get_command_sw' />
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='rec_sample = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='count_loop = count_loop + 1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='lsm1_ok = 1' swap='0' >
											<flowline >
												<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Imu_data_get_strg1' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='lsm2_ok = 1' swap='0' >
											<flowline >
												<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Imu_data_get_strg2' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='termo_ok = 1' swap='0' >
											<flowline >
												<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Thermocouple_get_strg' >
													<argument exp='number_of_thempsonden' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='pin33 = 1' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='AppendStringToFile' >
											<argument exp='apend_strg' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='pin33 = 0' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='rec_sample = 0' />
										</command>
										<command class_type='call' title='Accu test is in the get data' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='CellGauge1' macro='ReadStateOfChargeByte' >
											<return exp='accu_byte' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='accu_byte &gt; 0' swap='1' >
									<flowline >
										<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='count_down = 200' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='file_close' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='25' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_down = count_down_set' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='status = stat_wait //1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Imu_data_get_strg2' description='date from IMU 2 TOP' 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='lsm2_ok = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='UpdateAccelerometerData' />
								<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='CollectXYZData' >
									<return exp='AG_XYZ[10]' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='CollectXYZData' >
									<return exp='AG_XYZ[11]' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='CollectXYZData' >
									<return exp='AG_XYZ[12]' />
									<argument exp='2' />
								</command>
								<command class_type='comment' title='' comment='Gyro' textarea='798,-12,798,-12' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='UpdateGyroData' />
								<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='CollectXYZData' >
									<return exp='AG_XYZ[13]' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='CollectXYZData' >
									<return exp='AG_XYZ[14]' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='CollectXYZData' >
									<return exp='AG_XYZ[15]' />
									<argument exp='2' />
								</command>
								<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='UpdateCompassData' />
								<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='CollectXYZData' >
									<return exp='AG_XYZ[16]' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='CollectXYZData' >
									<return exp='AG_XYZ[17]' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='CollectXYZData' >
									<return exp='AG_XYZ[18]' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='ReadTemperature' >
									<return exp='AG_XYZ[19]' />
								</command>
								<command class_type='calculation' title='Calculation with float' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='temperatur_float = AG_XYZ[19]' />
									<exp exp='temperatur_float = temperatur_float / 16' />
									<exp exp='temperatur_float = temperatur_float + 25' />
									<exp exp='temperatur_float = temperatur_float * 100' />
									<exp exp='AG_XYZ[19] = temperatur_float' />
									<exp exp='' />
								</command>
								<command class_type='call' title='accubyte used to turn off' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='CellGauge1' macro='ReadStateOfChargeByte' >
									<return exp='accu_byte' />
								</command>
								<command class_type='calculation' title='Calculation with float' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='AG_XYZ[20] = accu_byte' />
									<exp exp='' />
								</command>
								<command class_type='calculation' title='set to 0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='count_loop_strg = 0' />
								</command>
								<command class_type='loop' title='Loop  11 is the Accu' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='11' >
									<flowline >
										<command class_type='call' title='use macro for leading space' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='leading_space' >
											<return exp='lead_strg' />
											<argument exp='&quot; &quot;' />
											<argument exp='AG_XYZ[count_loop_strg+10]' />
											<argument exp='6' />
										</command>
										<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='apend_strg = apend_strg + lead_strg' />
											<exp exp='apend_strg = apend_strg + &quot;,&quot;' />
											<exp exp='count_loop_strg = count_loop_strg + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='apend_strg = apend_strg + &quot;\r\n&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Imu_data_get_strg1' description='date from IMU 1 BOT' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='apend_strg = &quot;&quot;' />
							<exp exp='count_loop_strg = 0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='lsm1_ok = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='UpdateAccelerometerData' />
								<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='CollectXYZData' >
									<return exp='AG_XYZ[0]' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='CollectXYZData' >
									<return exp='AG_XYZ[1]' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='CollectXYZData' >
									<return exp='AG_XYZ[2]' />
									<argument exp='2' />
								</command>
								<command class_type='comment' title='' comment='Gyro' textarea='798,-12,798,-12' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='UpdateGyroData' />
								<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='CollectXYZData' >
									<return exp='AG_XYZ[3]' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='CollectXYZData' >
									<return exp='AG_XYZ[4]' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='CollectXYZData' >
									<return exp='AG_XYZ[5]' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='UpdateCompassData' />
								<command class_type='call' title='X intern' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='CollectXYZData' >
									<return exp='AG_XYZ[6]' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Y' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='CollectXYZData' >
									<return exp='AG_XYZ[7]' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Z' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='CollectXYZData' >
									<return exp='AG_XYZ[8]' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_1' macro='ReadTemperature' >
									<return exp='AG_XYZ[9]' />
								</command>
								<command class_type='calculation' title='Calculation with float' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='temperatur_float = AG_XYZ[9]' />
									<exp exp='temperatur_float = temperatur_float / 16' />
									<exp exp='temperatur_float = temperatur_float + 25' />
									<exp exp='temperatur_float = temperatur_float * 100' />
									<exp exp='AG_XYZ[9] = temperatur_float' />
									<exp exp='' />
								</command>
								<command class_type='calculation' title='ok' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='count_loop_strg = 0' />
								</command>
								<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='call' title='use macro leding_space' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='leading_space' >
											<return exp='lead_strg' />
											<argument exp='&quot; &quot;' />
											<argument exp='AG_XYZ[count_loop_strg]' />
											<argument exp='6' />
										</command>
										<command class_type='calculation' title='working' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='apend_strg = apend_strg + lead_strg' />
											<exp exp='apend_strg = apend_strg + &quot;,&quot;' />
											<exp exp='count_loop_strg = count_loop_strg + 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='lsm2_ok = 1' swap='0' >
							<flowline />
							<flowline >
								<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='apend_strg = apend_strg + &quot;\r\n&quot;' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='keypressed' description='check all the key and set the pressed value' 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='pcb_switch5' macro='ReadState' >
							<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='calculation' title='one key' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='keyset = 4' />
									<exp exp='' />
									<exp exp='' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='last_key = 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' />
												</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' />
												</flowline>
											</case>
											<case exp='3' >
												<flowline />
											</case>
											<case exp='4' >
												<flowline >
													<command class_type='comment' title='' comment='right key' textarea='58,14,58,14' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
													<command class_type='calculation' title='Sleep timer reset' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
														<exp exp='count_down = count_down_set' />
													</command>
													<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='status' >
														<case >
															<flowline />
														</case>
														<case exp='1' >
															<flowline />
														</case>
														<case exp='2' >
															<flowline >
																<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='Funktioniert' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='SendString' >
																	<argument exp='&quot;rec on\r\n&quot;' />
																</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='rec_on = 0' />
																	<exp exp='stop = 1' />
																</command>
																<command class_type='call' title='Funktioniert' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='SendString' >
																	<argument exp='&quot;rec off\r\n&quot;' />
																</command>
															</flowline>
														</case>
													</command>
													<command class_type='comment' title='' comment='REC' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
												</flowline>
											</case>
											<case exp='5' >
												<flowline />
											</case>
											<case exp='6' >
												<flowline />
											</case>
											<case exp='7' >
												<flowline />
											</case>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='last_key = 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='one key' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='count_key_time = count_key_time + 1' />
											<exp exp='' />
											<exp exp='' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='count_key_time &gt;= 100' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
													<exp exp='count_down = 1' />
												</command>
												<command class_type='calculation' title='one key' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
													<exp exp='count_key_time = 0' />
													<exp exp='' />
													<exp exp='' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='one key' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='keyset = 0' />
									<exp exp='' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='last_key = 0' />
								</command>
								<command class_type='calculation' title='one key' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='count_key_time = 0' />
									<exp exp='' />
									<exp exp='' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='keyset = 0' />
							<exp exp='key1 = 0' />
							<exp exp='key2 = 0' />
							<exp exp='key3 = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='USB_interrupt' description='set from USB' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='get_cmd = 2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='swap' description='load  integer to swap=&gt; return the swaped integer
load and return can be the same variable' statediag='0' >
						<return name='Return' type='s16' description='return the swaped int' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='input' type='s16' description='load the integer to swap=&gt; return the swaped integer' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='lsb' type='u8' description='temp lsb' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='msb' type='u8' description='temp msb' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='SINT16' type='s16' description='temp integer' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='.lsb = .input' />
							<exp exp='.msb = .input &gt;&gt; 8' />
							<exp exp='.SINT16 = .SINT16 | .lsb &lt;&lt; 8' />
							<exp exp='.SINT16 = .SINT16 | .msb' />
							<exp exp='.Return = .SINT16' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Imu_data_get_demo_array' description='demo date for test' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='count_data' type='u16' description='to fill the array' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' forvar='.count_data' exp='20' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='AG_XYZ[.count_data] = .count_data' />
									<exp exp='' />
									<exp exp='' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='AG_XYZ[10] = SRSN16_MSB0' />
							<exp exp='AG_XYZ[11] = SRSN16_MSB1' />
							<exp exp='' />
							<exp exp='' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Init_thermo' description='Init thermocouple if used' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='number_of_thermocouple' type='u8' description='number of thermocouple from 1 to 12' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='count_loop' type='u8' description='count for MCP9600 Channel' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ChangeAddress' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ChangeAddress' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ChangeAddress' >
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='.count_loop = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='.number_of_thermocouple' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='.count_loop &gt; 7' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ChangeAddress' >
											<argument exp='1' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ExclusiveChannel' >
											<argument exp='(.count_loop-8)' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MCP960X_Thermocouple1' macro='Initialise' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='DisableAll' />
									</flowline>
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ChangeAddress' >
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ExclusiveChannel' >
											<argument exp='.count_loop' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MCP960X_Thermocouple1' macro='Initialise' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='DisableAll' />
									</flowline>
								</command>
								<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='.count_loop = .count_loop + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Info' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Test with 240Mhz
Sd-card typisch= 0.1mSec max 1.4mSec
2 Imu and Accu read= 4msec
samplerate 20Hz (1200 per minute)
I2C clock 400kHz
loop_count to 1000 =88uSec

wait = 80mA
rec = 90-120mA
standby &lt; 4mA' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='Test with 80Mhz
Sd-card typisch= 0.1mSec max 1.4mSec
2 Imu and Accu read= 4msec
samplerate 20Hz (1200 per minute)
I2C clock 400kHz
loop_count to 1000 =276uSec

wait = 50mA
rec = 60-80mA
standby &lt; 4mA' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='C:\ProgramData\MatrixTSL\FlowcodeV10\Components' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='set_array' 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' forvar='count_array' exp='24' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='AGMT_T[count_array] = 0' />
									<exp exp='AG_XYZ[count_array] = 0' />
									<exp exp='All_Temperatur[count_array] = 0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SHT41' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='init' type='u8' description='1=init;2=read float to SHT_float' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ChangeAddress' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ExclusiveChannel' >
							<argument exp='4' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='.init' >
							<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='Sensirion_SHT41' macro='Initialise' />
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Sensirion_SHT41' macro='GetTemperatureReal' >
										<return exp='SHT_float' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='//SHT_float_round = round(SHT_float)' />
										<exp exp='//SHT_STRG = FloatToString$(SHT_float)' />
										<exp exp='SHT_STRG = FloatToString$(SHT_float,2)' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
										<argument exp='SHT_STRG' />
										<argument exp='0' />
										<argument exp='0' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Sensirion_SHT41' macro='GetTemperatureReal' >
										<return exp='SHT_float' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline />
							</case>
							<case exp='5' >
								<flowline />
							</case>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='DisableAll' />
					</flowline>
				</macro>
				<macro >
					<flowline name='BT_connect_test' description='Test if BT is connected' 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='led_on =  !led_on' />
							<exp exp='count_blue_led = 0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='led_on' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='25' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
							</flowline>
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='CheckConnectionStatus' >
									<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='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='count_down = count_down_set' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='25' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
									</flowline>
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='15' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Display_update' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Test akku' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='CellGauge1' macro='ReadStateOfChargeByte' >
							<return exp='accu_byte' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='accu_byte &gt; 100' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='accu_byte = 100' />
									<exp exp='' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='just clesr and update if value changed' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='accu_byte_display = accu_byte' swap='1' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='accu_byte_display = accu_byte' />
									<exp exp='count_display_update = 0' />
									<exp exp='accu_strg = ToString$(accu_byte)' />
									<exp exp='accu_strg = accu_strg + &quot; %  BAT&quot; // doppelspace' />
									<exp exp='' />
								</command>
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
									<argument exp='accu_byte' />
									<argument exp='0' />
									<argument exp='2' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
									<argument exp='accu_strg' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<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='count_display_update = count_display_update + 1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='count_display_update = 100' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='SetForegroundColour' >
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
											<argument exp='accu_strg' />
											<argument exp='0' />
											<argument exp='0' />
											<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' >
											<exp exp='accu_byte_display = accu_byte' />
											<exp exp='count_display_update = 0' />
											<exp exp='accu_strg = ToString$(accu_byte)' />
											<exp exp='accu_strg = accu_strg + &quot; %  BAT&quot; // doppelspace' />
										</command>
										<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
											<argument exp='accu_byte' />
											<argument exp='0' />
											<argument exp='2' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='SetForegroundColour' >
											<argument exp='1' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
											<argument exp='accu_strg' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
							<argument exp='&quot;HALLO&quot;' />
							<argument exp='1' />
							<argument exp='1' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
							<argument exp='&quot;Klein&quot;' />
							<argument exp='1' />
							<argument exp='18' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='file_create' description='create the file' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CreateFile' >
							<argument exp='&quot;test.csv&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='OpenFile' >
							<argument exp='&quot;test.csv&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Sleep' description='let the recorder sleep' 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='status = stat_sleep' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_down = count_down_set' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='power_enable' macro='TurnOff' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
						<command class_type='comment' title='' comment='https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html#id1' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='native' title='Code' ccode='esp_sleep_enable_gpio_wakeup();      //ok
gpio_wakeup_enable(GPIO_NUM_19, GPIO_INTR_LOW_LEVEL);   //MA NUR EIN bUTTON
' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
						<command class_type='native' title='Code' disable='1' ccode='//esp_deep_sleep_enable_gpio_wakeup();      //ok
//gpio_wakeup_enable(GPIO_NUM_19, GPIO_INTR_HIGH_LEVEL);   //MA NUR EIN bUTTON
gpio_wakeup_enable(ESP_EXT1_WAKEUP_ANY_HIGH);  ' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
						<command class_type='comment' title='' comment='************** ************ *************   before sleep' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='native' title='Code' ccode='esp_light_sleep_start();
//esp_deep_sleep_start();// no wake up' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
						<command class_type='comment' title='' comment='************** ************ *************   after sleep' 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='power_enable' macro='TurnOn' />
						<command class_type='loop' title='After sleep it&apos;s need time to wakeup' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='10' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
									<argument exp='0' />
									<argument exp='25' />
									<argument exp='25' />
									<argument exp='25' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
							<argument exp='display_text' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='termo_ok = 1' swap='1' >
							<flowline >
								<command class_type='call' title='Test if IMU are connected, test also after sleep' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='IMU_test' />
							</flowline>
							<flowline />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='300' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='Uninitialise' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='300' type='1' />
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='sd_card_init' />
						<command class_type='decision' title='Set Samplerate' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='termo_ok = 1' swap='0' >
							<flowline >
								<command class_type='interrupt' title='Interrupt 0.5hz  2x per sec' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='TMR0' call='timer1_irq' >
									<settings timer='1' prescale='-1' postscale='-1' rollover='500' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='500' />
										<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='call' title='test also after sleep' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Init_thermo' >
									<argument exp='number_of_thempsonden' />
								</command>
							</flowline>
							<flowline >
								<command class_type='interrupt' title='Interrupt 20HZ' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='TMR0' call='timer1_irq' >
									<settings timer='1' prescale='-1' postscale='-1' rollover='50' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='50' />
										<option value='1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
									</settings>
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='status = stat_wait //1' />
							<exp exp='accu_byte = 200' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_display_update = 0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_down = count_down_set' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='file_create_name' description='create the filename' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='SetFileIndex' >
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='' />
							<exp exp='filename = filename_prefix + ToString$(file_nr)' />
							<exp exp='filename = filename + filename_extension' />
							<exp exp='file_nr = file_nr + 1' />
							<exp exp='BT_sen_strg = filename + &quot;\r\n&quot;' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='SendString' >
							<argument exp='BT_sen_strg' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' ccode='  // Name: Component Macro, Type: Component Macro: FileSD1::CreateFile(filename)
  FCD_07fa1_FileSD1__CreateFile(FCV_FILENAME, FCVsz_FILENAME);' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CreateFile' >
							<argument exp='filename' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='OpenFile' >
							<argument exp='filename' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='get_command_sw' description='found from whre the IRQ is set' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='count for time to sleep and test BT connected' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_blue_led = count_blue_led + 1' />
							<exp exp='count_down = count_down - 1' />
							<exp exp='' />
						</command>
						<command class_type='switch' title='switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='get_cmd' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='comment' title='' comment='BT' textarea='12,0,487,300' 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='get_cmd = 0' />
										<exp exp='BT_USB = 1' />
										<exp exp='stop_code = 2' />
									</command>
									<command class_type='call' title='MaxBytes=2 Timeout=100' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='ReceiveString' >
										<return exp='ret_strg_BT_USB' />
										<argument exp='4' />
										<argument exp='50' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='SendString' >
										<argument exp='ret_strg_BT_USB' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,487,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
									<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='get_command' >
										<argument exp='ret_strg_BT_USB' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
										<exp exp='ret_strg_BT_USB = ToString$(send_enable)' />
										<exp exp='ret_strg_BT_USB = ret_strg_BT_USB + &quot;\r\n&quot;' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='SendString' >
										<argument exp='ret_strg_BT_USB' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='comment' title='' comment='USB' textarea='12,0,487,300' 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='get_cmd = 0' />
										<exp exp='BT_USB = 2' />
										<exp exp='stop_code = 3' />
									</command>
									<command class_type='call' title='Timeout=100 NumBytes=2 ' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1' macro='ReceiveString' >
										<return exp='ret_strg_BT_USB' />
										<argument exp='50' />
										<argument exp='4' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,487,300' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
									<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='get_command' >
										<argument exp='ret_strg_BT_USB' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
								</flowline>
							</case>
							<case exp='3' >
								<flowline />
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='get_command' description='get the command from the received string USB or BT' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='cmd_strg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</param>
						<local name='ret_strg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</local>
						<command class_type='comment' title='' comment='A1/A2 Rec stop/Rec start/Rec
B1/B2 BT  stop/Btsend start/Btsend
L1....L16    LED
M1....M16    MPU wenn vorhanden
' 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='.ret_strg = .cmd_strg' />
						</command>
						<command class_type='decision' title='Record Stop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;a1&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_ad = 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='rec_on = 0' />
									<exp exp='stop = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Record start' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;a2&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_ad = 2' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='rec_on = 1' />
									<exp exp='stop = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;a1\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_ad = 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='rec_on = 0' />
									<exp exp='stop = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;a2\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_ad = 2' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='rec_on = 1' />
									<exp exp='stop = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='Send data Bluetooth' textarea='1098,-8,1098,-8' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;b1&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_enable = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;b2&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_enable = 2' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;b1\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_enable = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;b2\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_enable = 2' />
								</command>
							</flowline>
							<flowline />
						</command>
						<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='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;t1&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_enable = 3' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;t1\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_enable = 3' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;t2&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_enable = 4' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='Compare$(.ret_strg,&quot;t2\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='send_enable = 4' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='IRQ_set' description='Set IRQ if used' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='mode' type='u8' description='0= turn off /  1=turn on' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='ESP32:
Only pins that support both
input &amp; output have integrated
pull-up and pull-down resistors.
Input-only GPIOs 34-39 do not' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='.mode = 1' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='not for record' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
								<command class_type='interrupt' title='Interrupt Button5       falling edge' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='GPIO19' call='key3_int' >
									<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='2' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
									</settings>
								</command>
							</flowline>
							<flowline >
								<command class_type='interrupt' title='Interrupt Button5 ' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='0' name='GPIO19' >
									<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='2' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
									</settings>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='file_last_file_found' description='found the last used file' statediag='0' >
						<return name='Return' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='filename_prefix' type='T8' description='maximal 5 char' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='30' />
						</param>
						<param name='filename_extension' type='T8' description='include the dot  &quot;.csv&quot;    or &quot;.txt&quot;' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='last_file_found' type='u16' description='nummer for filename' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='file_nr' type='u16' description='counter for nummer' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='ret_file_open' type='u8' description='ret_byte' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='filename' type='T8' description='filename to try to open' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='30' />
						</local>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='0' exp='.last_file_found = 0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='.file_nr = .file_nr + 1' />
									<exp exp='.filename = .filename_prefix + ToString$(.file_nr)' />
									<exp exp='.filename = .filename + .filename_extension' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='OpenFile' >
									<return exp='.ret_file_open' />
									<argument exp='.filename' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='.ret_file_open = 0' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='CloseFile' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='.last_file_found = 1' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='.return = .file_nr' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Init' description='Init all the components' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='Code' ccode='// Enter C code below this comment
gpio_set_pull_mode(GPIO_NUM_19, GPIO_PULLUP_ONLY); // on board 10KOhm
' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
						<command class_type='call' title='hardware on' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='power_enable' macro='TurnOn' />
						<command class_type='call' title='reset LED' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
						<command class_type='call' title='Set blue led on' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_Mono_blue' macro='TurnOn' />
						<command class_type='call' title='For test only' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Testpoint1' macro='TurnOff' />
						<command class_type='call' title='For test only' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Testpoint4' macro='TurnOff' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='CellGauge1' macro='Initialise' >
							<return exp='ret_byte' />
						</command>
						<command class_type='delay' title='Delay' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='CellGauge1' macro='SetPowerMode' >
							<argument exp='0' />
						</command>
						<command class_type='loop' title='Loop' disable='1' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='20' >
							<flowline >
								<command class_type='comment' title='' comment='show a restart' textarea='12,0,12,0' disable='1' 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='LED_WS2811' macro='SetLEDColour' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='50' />
								</command>
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_Mono_blue' macro='TurnOff' />
								<command class_type='delay' title='Delay' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_Mono_blue' macro='TurnOn' />
								<command class_type='delay' title='Delay' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_Mono_blue' macro='TurnOff' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='Initialise' />
					</flowline>
				</macro>
				<macro >
					<flowline name='BT_interrupt' description='received an IRQ from BT' 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='IMU_test' description='test if IMU are connect' 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='LSM9_1' macro='Initialise' >
							<return exp='ret_byte' />
						</command>
						<command class_type='decision' title='test if IMU Sensor1 is connected' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='ret_byte = 0' swap='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='lsm1_ok = 1' />
									<exp exp='' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='50' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='lsm1_ok = 0' />
									<exp exp='' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='3' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='50' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
										<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
										<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LSM9_2' macro='Initialise' >
							<return exp='ret_byte' />
						</command>
						<command class_type='decision' title='test if IMU Sensor2  is connected' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='ret_byte = 0' swap='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='lsm2_ok = 1' />
									<exp exp='' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='50' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='lsm2_ok = 0' />
									<exp exp='' />
								</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='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='50' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
										<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
										<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' disable='1' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='lsm1_ok = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='termo_ok = 0' />
									<exp exp='' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='termo_ok = 1' />
									<exp exp='' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='leading_space' description='Set leading char to a number' statediag='0' >
						<return name='Return' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='2000' />
						</return>
						<param name='lead_char' type='T8' description='&quot;0&quot; or &quot; &quot;' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='1' />
						</param>
						<param name='value' type='s32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='number_of_char' type='u8' description='How many char  (3)Byte, (5)uinteger (6)sinteger (10)ulong (11)slong' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp_str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</local>
						<local name='str_len' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp_str2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</local>
						<local name='count_leading' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='.temp_str2 = &quot;&quot;' />
							<exp exp='.temp_str = ToString$ (.value)' />
							<exp exp='.str_len = Length$ (.temp_str)' />
							<exp exp='.count_leading = .number_of_char - .str_len' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='.count_leading' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='.temp_str2 = .temp_str2 + .lead_char' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='.Return = .temp_str2 + .temp_str' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Thermocouple_get_strg' description='get data from the thermocouple' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='number_of_thermocouple' type='u8' description='1-12' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='count_loop' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='calculation' title='Funktioniert' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='apend_strg = &quot;&quot;' />
							<exp exp='.count_loop = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='.number_of_thermocouple' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='.count_loop &gt; 7' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ChangeAddress' >
											<argument exp='1' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ExclusiveChannel' >
											<argument exp='.count_loop-8' />
										</command>
										<command class_type='call' title='sample all values' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MCP960X_Thermocouple1' macro='Sample' >
											<return exp='ret_byte' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='DisableAll' />
									</flowline>
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ChangeAddress' >
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ExclusiveChannel' >
											<argument exp='.count_loop' />
										</command>
										<command class_type='call' title='sample all values' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MCP960X_Thermocouple1' macro='Sample' >
											<return exp='ret_byte' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='DisableAll' />
									</flowline>
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MCP960X_Thermocouple1' macro='ReadThermocouple_Float' >
									<return exp='temp_Float' />
								</command>
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MCP960X_Thermocouple1' macro='ReadReference_Float' >
									<return exp='temp_Float' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='temp_16B = temp_Float * 100 //  change float to Integer and multiplay with 100' />
									<exp exp='All_Temperatur[.count_loop] = temp_16B //   add to array remove it later!!!' />
									<exp exp='.count_loop = .count_loop + 1 //   next value' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='It&apos;s to slow to do every sample' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='SHT41' >
							<argument exp='3' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='temp_16B = SHT_float * 100 //  change float to Integer and multiplay with 100' />
							<exp exp='All_Temperatur[.count_loop] = temp_16B //   add to array remove it later!!!' />
							<exp exp='.count_loop = .count_loop + 1 //   next value' />
						</command>
						<command class_type='call' title='accubyte used to turn off' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='CellGauge1' macro='ReadStateOfChargeByte' >
							<return exp='accu_byte' />
						</command>
						<command class_type='calculation' title='Calculation with float' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='All_Temperatur[number_of_thempsonden + 1] = accu_byte' />
							<exp exp='' />
						</command>
						<command class_type='comment' title='' comment='just used for File on SD-card' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='ok' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_loop_strg = 0' />
						</command>
						<command class_type='loop' title='Loop' disable='1' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='number_of_thempsonden + 1' >
							<flowline >
								<command class_type='call' title='use macro leding_space' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='leading_space' >
									<return exp='lead_strg' />
									<argument exp='&quot; &quot;' />
									<argument exp='AG_XYZ[count_loop_strg]' />
									<argument exp='6' />
								</command>
								<command class_type='calculation' title='working' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='apend_strg = apend_strg + lead_strg' />
									<exp exp='apend_strg = apend_strg + &quot;,&quot;' />
									<exp exp='count_loop_strg = count_loop_strg + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Funktioniert' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='apend_strg = apend_strg + &quot;\r\n&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='sd_card_init' description='Init the sd-card and set green led or flash red Led' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='ret_byte = 1' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='power_enable' macro='TurnOn' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='1' exp='ret_byte = 0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='File_ESP32_SDMode1' macro='Initialise' >
									<return exp='ret_byte' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='ret_byte = 0' swap='0' >
									<flowline >
										<command class_type='call' title='green' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='50' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
											<argument exp='&quot;SD-card OK&quot;' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='red' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='255' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
											<argument exp='&quot;Card&quot;' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='200' type='1' />
										<command class_type='call' title='green' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='25' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
											<argument exp='&quot;                   &quot;' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
										<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='200' type='1' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='MCP960x_setup' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='choose one of two multiplexer board' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ChangeAddress' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='choose the channel on the multiplexer' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ExclusiveChannel' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Set the register 5 to value 6' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MCP960X_Thermocouple1' macro='Write_Register' >
							<argument exp='5' />
							<argument exp='6' />
						</command>
						<command class_type='call' title='choose one of two multiplexer board' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ChangeAddress' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='choose the channel on the multiplexer' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='I2C_TCA9548A1' macro='ExclusiveChannel' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='read the register 5' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MCP960X_Thermocouple1' macro='Read_Register' >
							<return exp='ret_byte' />
							<argument exp='5' />
						</command>
						<command class_type='call' title='send the value from register 5 to USB C' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1' macro='SendNumber' >
							<argument exp='ret_byte' />
						</command>
						<command class_type='call' title='Add a new line to USB C' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1' macro='SendString' >
							<argument exp='&quot;\r\n&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='timer1_irq' description='set to get a new sample' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='rec_sample = 1' />
							<exp exp='//testpin =  !testpin' />
							<exp exp='//pin33 = testpin' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='key3_int' description='IRQ from key' 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' />
							<exp exp='count_down = count_down_set' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Init_IRQ' description='Init IRQ if used' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<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='Send_Data' description='send data to USB or BT' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='SHT41' >
							<argument exp='2' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='0' exp='send_enable &gt;= 2' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='keypressed' />
								<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='get_command_sw' />
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='rec_sample = 1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='lsm1_ok = 1' swap='0' >
											<flowline >
												<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Imu_data_get_strg1' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='lsm2_ok = 1' swap='0' >
											<flowline >
												<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Imu_data_get_strg2' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='termo_ok = 1' swap='0' >
											<flowline >
												<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Thermocouple_get_strg' >
													<argument exp='number_of_thempsonden' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='cr/lf' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='All_Temperatur[23] = SRSN16_MSB0' />
										</command>
										<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='BT_USB' >
											<case >
												<flowline />
											</case>
											<case exp='1' >
												<flowline >
													<command class_type='comment' title='' comment='BT' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
													<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='termo_ok = 1' swap='0' >
														<flowline >
															<command class_type='call' title='Funtioniert' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='SendINTArray' >
																<argument exp='All_Temperatur' />
																<argument exp='24' />
																<argument exp='0' />
															</command>
														</flowline>
														<flowline >
															<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='SendINTArray' >
																<argument exp='AGMT_T' />
																<argument exp='24' />
																<argument exp='0' />
															</command>
															<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='SendINTArray' >
																<argument exp='AG_XYZ' />
																<argument exp='number_of_channel' />
																<argument exp='0' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='ok bad not used for test Temp or IMU ok' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='SendString' >
														<argument exp='apend_strg' />
													</command>
												</flowline>
											</case>
											<case exp='2' >
												<flowline >
													<command class_type='comment' title='' comment='USB' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
													<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='termo_ok = 1' swap='0' >
														<flowline >
															<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1' macro='SendINTArray' >
																<argument exp='All_Temperatur' />
																<argument exp='24' />
																<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='count_data = 0' />
															</command>
															<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='2' exp='13' >
																<flowline >
																	<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
																		<exp exp='AGMT_T[count_data] = AG_XYZ[count_data + 9]' />
																	</command>
																	<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
																		<exp exp='count_data = count_data + 1' />
																	</command>
																</flowline>
															</command>
															<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1' macro='SendINTArray' >
																<argument exp='AGMT_T' />
																<argument exp='24' />
																<argument exp='0' />
															</command>
														</flowline>
													</command>
												</flowline>
											</case>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='rec_sample = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='link' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='NTC' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='https://www.eaton.com/content/dam/eaton/products/electronic-components/resources/data-sheet/eaton-nrne-epoxy-sealed-radial-lead-ntc-thermistor-data-sheet-elx1226.pdf' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='https://f.hubspotusercontent40.net/hubfs/9035299/Documents/AAS-913-318C-Temperature-resistance-curves-071816-web.pdf' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='Main part' 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='ADS111x1' macro='Initialise' />
						<command class_type='calculation' title='Detail description' comment='Macro IMU_test set variable termo_ok to 0 if no IMU connected
If always IMU then activate last line in macro IMU_test this
before you complie

For IMU  set LSM9DS 1+2 set by hand to 400khz
For Temp set LSM9DS 1+2 set by hand to 100khz' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='//read in detail description' />
							<exp exp='//Set to 80Mhz in config and project options' />
							<exp exp='//If IMU Brux used set it to 1' />
							<exp exp='//MCP960X IMU-Brux=software' />
							<exp exp='//MCP960X ITrepan_Heat=channel1' />
						</command>
						<command class_type='calculation' title='choose to compile for' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='IMU_BRUX = 1' />
							<exp exp='display_on = 1 //temp langsam' />
						</command>
						<command class_type='decision' title='1= IMU Brux used / 0 Trepan_Heat used' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='IMU_Brux = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='termo_ok = 0' />
									<exp exp='display_text = &quot;IMU-Brux&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='termo_ok = 1' />
									<exp exp='display_text = &quot;Trepan Heat&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='turn on hardware' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='power_enable' macro='TurnOn' />
						<command class_type='call' title='Need to be here, Init WS2811, is not working if in Macro ' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Initialise' />
						<command class_type='call' title='reset LED' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='SHT41' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='set_array' />
						<command class_type='call' title='Init all components' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Init' />
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='ADS111x1' macro='Initialise' >
							<return exp='ret_byte' />
						</command>
						<command class_type='loop' title='Loop' disable='1' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='delay' title='Delay' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='ADS111x1' macro='SampleSglRaw' >
									<return exp='ad_value' />
									<argument exp='3' />
									<argument exp='1' />
									<argument exp='0' />
								</command>
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='AD_value_srtg = ToString$(ad_value)' />
									<exp exp='AD_value_srtg = AD_value_srtg + &quot;\r\n&quot;' />
								</command>
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1' macro='SendString' >
									<argument exp='AD_value_srtg' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='working just in main' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='display_on = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Initialise' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ControlContrast' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
									<argument exp='display_text' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
									<argument exp='display_text' />
									<argument exp='0' />
									<argument exp='16' />
									<argument exp='1' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
									<argument exp='&quot;Power_on&quot;' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<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='termo_ok = 1' swap='1' >
							<flowline >
								<command class_type='call' title='Test if IMU are connected, test also after sleep' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='IMU_test' />
								<command class_type='decision' title='working just in main' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='display_on = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='lsm1_ok = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
													<argument exp='&quot;Power on&quot;' />
													<argument exp='0' />
													<argument exp='0' />
													<argument exp='0' />
													<argument exp='0' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='lsm2_ok = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
															<argument exp='&quot;IMU OK&quot;' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
															<argument exp='0' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
										<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
											<argument exp='&quot;IMU error&quot;' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
							</flowline>
						</command>
						<command class_type='call' title='Set led to green if sd-card ok-flash red if not' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='sd_card_init' />
						<command class_type='call' title='Check recordings on sd-card' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='file_last_file_found' >
							<return exp='file_nr' />
							<argument exp='filename_prefix' />
							<argument exp='filename_extension' />
						</command>
						<command class_type='decision' title='Set Samplerate' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='termo_ok = 1' swap='0' >
							<flowline >
								<command class_type='interrupt' title='Interrupt 0.5hz  2x per sec' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='TMR0' call='timer1_irq' >
									<settings timer='1' prescale='-1' postscale='-1' rollover='500' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='500' />
										<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 1hz  1x per sec' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='TMR0' call='timer1_irq' >
									<settings timer='1' prescale='-1' postscale='-1' rollover='1000' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='1000' />
										<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='call' title='test also after sleep' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Init_thermo' >
									<argument exp='number_of_thempsonden' />
								</command>
							</flowline>
							<flowline >
								<command class_type='interrupt' title='Interrupt 20HZ' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='TMR0' call='timer1_irq' >
									<settings timer='1' prescale='-1' postscale='-1' rollover='50' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='50' />
										<option value='1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
									</settings>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='USB IRQ' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Init_IRQ' />
						<command class_type='calculation' title='status=stat_sleep      status=stat_wait     status=stat_rec' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='status = stat_wait' />
						</command>
						<command class_type='calculation' title='Set sleeptime' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='count_down = count_down_set' />
							<exp exp='count_blue_led = 0' />
							<exp exp='count_display_main = 0' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='SHT41' >
							<argument exp='2' />
						</command>
						<command class_type='loop' title='Loop always run' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='100' type='1' />
								<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='termo_ok = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
											<exp exp='count_display_main = count_display_main + 1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='count_display_main = 15' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
													<exp exp='count_display_main = 0' />
												</command>
												<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='SHT41' >
													<argument exp='2' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' disable='1' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='display_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='Display_update' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Test if a command fro USB or BT is received' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='get_command_sw' />
								<command class_type='call' title='Test if the key is pressed' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='keypressed' />
								<command class_type='decision' title='send data' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='send_enable = 2' swap='0' >
									<flowline >
										<command class_type='call' title='Send to USB OR BT Data' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Send_Data' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='rec data' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='rec_on = 1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='display_on = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
												<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
													<argument exp='&quot;RECORD&quot;' />
													<argument exp='0' />
													<argument exp='0' />
													<argument exp='0' />
													<argument exp='0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='Record Data to sc-card' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Rec' />
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='display_on = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
												<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='gLCD_SSD1306_i2c1' macro='Print' >
													<argument exp='&quot;Stop&quot;' />
													<argument exp='0' />
													<argument exp='0' />
													<argument exp='0' />
													<argument exp='0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='check BT connect' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='count_blue_led &gt;= 5' swap='0' >
									<flowline >
										<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='BT_connect_test' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Sleep (standby Recorder)' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='count_down = 0' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='termo_ok = 1' swap='1' >
											<flowline >
												<command class_type='call' title='Set the recorder to sleep mode to save power in standby' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='Sleep' />
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='LED_Mono_blue' panelId='0' x='247' y='-35' z='1' xsz='82.7586' ysz='31.8182' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='002' />
					<value target='Pin' data='$PORTA.25' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='LED_Mono_blue' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='ESP' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='65408' />
					<value target='OffColour' data='21802' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  1' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='a61211f1-3718-4d37-b4a4-c6193646ccfd' vmin='7' vmaj='2' codename='File_ESP32_SDMode1' panelId='0' x='120.244' y='-415.131' z='2' xsz='25.1778' ysz='25.1392' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Frequency' data='400' />
					<value target='FileCount' data='5' />
					<value target='SDMode' data='004' />
					<value target='BufferSize' data='512' />
					<value target='BufferSize_1' data='32' />
					<value target='CLK_PIN' data='$PORTA.14' />
					<value target='CMD_PIN' data='$PORTA.15' />
					<value target='D0_PIN' data='$PORTA.2' />
					<value target='D1_PIN' data='$PORTA.4' />
					<value target='D2_PIN' data='$PORTA.12' />
					<value target='D3_PIN' data='$PORTA.13' />
					<value target='Remap' data='0' />
					<value target='SimRootFolder' data='$(srcdir)' />
					<value target='IsSim' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='UART1' panelId='0' x='406.495' y='-417' z='3' xsz='25.1778' ysz='25.9127' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='000' />
					<value target='cal_uart::BAUD' data='921600' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTA.1' />
					<value target='cal_uart::OutputPins' data='023' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTA.3' />
					<value target='cal_uart::InputPins' data='028' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
					<value target='cal_uart::APIUseDDR' data='' />
					<value target='cal_uart::APIDDRPin' data='' />
					<value target='cal_uart::APIDDRRXState' data='' />
					<value target='cal_uart::APIUseFC' data='' />
					<value target='cal_uart::APICTSPin' data='' />
					<value target='cal_uart::APIRTSPin' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d977c3ef-c7dc-4683-a1be-76e17e6ba12b' vmin='5' vmaj='1' codename='LED_WS2811' panelId='-1' x='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 >
					<value target='LED_Controller' data='001' />
					<value target='DataOrder' data='1' />
					<value target='Reset_Time' data='50.000000' />
					<value target='T0H' data='0.350000' />
					<value target='T0L' data='0.800000' />
					<value target='T1H' data='0.700000' />
					<value target='T1L' data='0.600000' />
					<value target='T0HNops' data='78' />
					<value target='T0LNops' data='192' />
					<value target='T1HNops' data='168' />
					<value target='T1LNops' data='144' />
					<value target='DeviceFamily' data='ESP' />
					<value target='InstRate' data='180000000' />
					<value target='Direct' data='0' />
					<value target='T0HN' data='350.000000' />
					<value target='T0LN' data='800.000000' />
					<value target='T1HN' data='700.000000' />
					<value target='T1LN' data='600.000000' />
					<value target='LED_Arrangement' data='000' />
					<value target='LED_Count' data='2' />
					<value target='sequence' data='000' />
					<value target='LED_Cols' data='1' />
					<value target='x_spacing' data='10.000000' />
					<value target='LED_Rows' data='1' />
					<value target='y_spacing' data='10.000000' />
					<value target='LED_Layers' data='1' />
					<value target='z_spacing' data='10.000000' />
					<value target='FlipX' data='0' />
					<value target='FlipY' data='' />
					<value target='FlipZ' data='0' />
					<value target='MOSI' data='$PORTA.26' />
					<value target='InvertData' data='0' />
					<value target='Instance' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='power_enable' panelId='0' x='92' y='-29.5' z='4' xsz='72.4138' ysz='26.8182' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='002' />
					<value target='Pin' data='$PORTB.0' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='power_enable' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='ESP' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='65408' />
					<value target='OffColour' data='21802' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  1' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text3' panelId='0' x='455' y='-315' z='5' xsz='96.875' ysz='18.75' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='8' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='S1/B7/io39     S2/B4/io36     S3/B3/io35' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  0' />
					<value target='nVerticalAlignment' data='2' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<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='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='8be2ce64-4860-468a-aa8a-eac443274da3' vmin='0' vmaj='1' codename='Bluetooth_SPP_ESP32' panelId='0' x='256.5' y='-415' z='6' xsz='25.18' 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='DevName' data='KFS-IMU-tis_REC' />
					<value target='ReceiveBuffer' data='100' />
					<value target='DataRxInt' data='1' />
					<value target='DataRxMacro' data='BT_interrupt' />
					<value target='Verbose' data='000' />
					<value target='COMPort1::COM_port' data='025' />
					<value target='COMPort1::Refresh' data='0' />
					<value target='COMPort1::baud_rate' data='9600' />
					<value target='COMPort1::ConsoleData' data='1' />
					<value target='FirstRun' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='Testpoint1' panelId='0' x='91.5' y='-179' z='7' xsz='73.2759' ysz='27.2727' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='002' />
					<value target='Pin' data='$PORTB.1' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='Testpoint1' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='ESP' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='65408' />
					<value target='OffColour' data='21802' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  1' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ce086f9b-c365-4471-b6e4-1760a53a7bfb' vmin='0' vmaj='1' codename='Testpoint4' panelId='0' x='92' y='-279' z='8' xsz='74.1379' ysz='27.2727' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='FlowcodeType' data='0' />
					<value target='Type' data='002' />
					<value target='Pin' data='$PORTA.18' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='0' />
					<value target='ComponentLabel' data='000' />
					<value target='GdiText2::sText' data='Testpoint4' />
					<value target='Polarity' data='001' />
					<value target='Enabled' data='1' />
					<value target='Product' data='ESP' />
					<value target='AutoColourOff' data='1' />
					<value target='OnColour' data='65408' />
					<value target='OffColour' data='21802' />
					<value target='GdiShape1::colFillGradient' data='16777215' />
					<value target='GdiShape1::nGradientStyle' data='  0' />
					<value target='GdiShape1::fThickness' data='3.000000' />
					<value target='GdiShape1::colOutline' data='0' />
					<value target='GdiShape1::colOutlineGradient' data='0' />
					<value target='GdiShape1::nOutlineStyle' data='0' />
					<value target='GdiImage1::nImageIdx' data='  1' />
					<value target='GdiImage1::sFilename' data='' />
					<value target='GdiImage2::nImageIdx' data='  0' />
					<value target='GdiImage2::sFilename' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text4' panelId='0' x='210' y='-180' z='9' xsz='37.5' ysz='37.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='Testpoint1
33' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  0' />
					<value target='nVerticalAlignment' data='  0' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<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='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text7' panelId='0' x='210' y='-280' z='10' xsz='37.5' ysz='37.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='Testpoint4
18
sck' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  0' />
					<value target='nVerticalAlignment' data='  0' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<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='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch5' panelId='0' x='418' y='-166.5' z='12' xsz='3.15789' ysz='2.75' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.19' />
					<value target='polarity' data='001' />
					<value target='debounce' data='0' />
					<value target='operation' data='000' />
					<value target='color' data='17151' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text10' panelId='0' x='450' y='-215' z='11' xsz='31.25' ysz='18.75' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='8' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='S5/A19/io19' />
					<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='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<value target='bBold' data='0' />
					<value target='bItalic' data='0' />
					<value target='bUnderline' data='0' />
					<value target='bStrikethrough' data='0' />
					<value target='colTextColour' data='4325631' />
					<value target='colTextGradient' data='9868950' />
					<value target='nGradient' data='0' />
					<value target='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiShape' codename='Shape1' panelId='0' x='425' y='-175' z='0' xsz='15.625' ysz='15.625' 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='nType' data='5' />
					<value target='iSubStyle' data='0' />
					<value target='iRounding' data='25' />
					<value target='colFill' data='17151' />
					<value target='colFillGradient' data='16777215' />
					<value target='nGradientStyle' data='0' />
					<value target='nFillOpacity' data='0.4' />
					<value target='nStyle' data='0' />
					<value target='bFixedScale' data='0' />
					<value target='fThickness' data='1.00000' />
					<value target='iOutlineSize' data='1' />
					<value target='colOutline' data='255' />
					<value target='colOutlineGradient' data='0' />
					<value target='nOutlineStyle' data='0' />
					<value target='nOutlineOpacity' data='1.0' />
					<value target='bTooltipEnable' data='0' />
					<value target='sTooltipText' data='' />
					<value target='sTooltipDesc' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text5' panelId='0' x='510' y='-180' z='13' xsz='37.5' ysz='37.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='Single key
On Rec Stop' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  0' />
					<value target='nVerticalAlignment' data='  0' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<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='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</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='456.5' y='-56' z='14' 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='ntp11.metas.ch' />
					<value target='GMTOff' data='0' />
					<value target='NumRetries' data='10' />
					<value target='Sim' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='60de8264-7faf-4f77-904e-69bb19909ba8' vmin='0' vmaj='6' codename='MCP960X_Thermocouple1' panelId='1' x='101' y='-150.5' z='0' xsz='28.8255' ysz='27.7307' 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='ThermocoupleType' data='000' />
					<value target='FilterCoef' data='003' />
					<value target='Unit' data='000' />
					<value target='Address' data='96' />
					<value target='cal_i2c1::CHANNEL' data='001' />
					<value target='cal_i2c1::SDA' data='$PORTA.21' />
					<value target='cal_i2c1::SDAPins' data='021' />
					<value target='cal_i2c1::SCL' data='$PORTA.22' />
					<value target='cal_i2c1::SCLPins' data='022' />
					<value target='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='GdiText' codename='Text6' panelId='1' x='260' y='-100' z='1' xsz='37.5' ysz='125' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='8' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='SoftwareMode_! if IMU
CH1
sda=a21
scl=a22
(100kHz)' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  0' />
					<value target='nVerticalAlignment' data='  0' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<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='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='17c77397-9882-41a7-9aa8-05850854417e' vmin='0' vmaj='1' codename='I2C_TCA9548A1' panelId='1' x='462.746' y='-61' z='2' xsz='25.1796' ysz='25.3491' 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='I2C_Master1::cal_i2c::CHANNEL' data='001' />
					<value target='Address' data='000' />
					<value target='I2C_Master1::cal_i2c::BAUD_LIST' data='002' />
					<value target='I2C_Master1::cal_i2c::BAUD' data='400000' />
					<value target='I2C_Master1::cal_i2c::SDA' data='$PORTA.21' />
					<value target='I2C_Master1::cal_i2c::SDAPins' data='021' />
					<value target='I2C_Master1::cal_i2c::SCL' data='$PORTA.22' />
					<value target='I2C_Master1::cal_i2c::SCLPins' data='022' />
					<value target='I2C_Master1::cal_i2c::ScopeTraces' data='0' />
					<value target='I2C_Master1::cal_i2c::ConsoleData' data='1' />
					<value target='I2C_Master1::cal_i2c::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text11' panelId='1' x='610' y='-75' z='3' xsz='37.5' ysz='93.75' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='8' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='
CH1 (I2C)
0X70 Adress 0
sda=a21
scl=a22
400kHz' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  0' />
					<value target='nVerticalAlignment' data='  0' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<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='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='20699a0c-0925-40c4-8aa1-35f294e225e6' vmin='1' vmaj='1' codename='LSM9_1' panelId='2' x='275' y='-110.5' z='0' xsz='20.2446' ysz='20.3604' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='accel_ad0_pin' data='001' />
					<value target='mag_ad0_pin' data='001' />
					<value target='cal_i2c::CHANNEL' data='001' />
					<value target='cal_i2c::BAUD_LIST' data='002' />
					<value target='cal_i2c::BAUD' data='400000' />
					<value target='cal_i2c::StopDel' data='0' />
					<value target='cal_i2c::SDA' data='$PORTA.21' />
					<value target='cal_i2c::SDAPins' data='021' />
					<value target='cal_i2c::SCL' data='$PORTA.22' />
					<value target='cal_i2c::SCLPins' data='022' />
					<value target='accel_scale' data='003' />
					<value target='accel_data_rate' data='006' />
					<value target='gyro_scale' data='000' />
					<value target='gyro_data_rate' data='005' />
					<value target='compass_scale' data='003' />
					<value target='comp_data_rate' data='007' />
					<value target='SimType' data='000' />
					<value target='cal_i2c::ScopeTraces' data='1' />
					<value target='cal_i2c::ConsoleData' data='1' />
					<value target='cal_i2c::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='20699a0c-0925-40c4-8aa1-35f294e225e6' vmin='1' vmaj='1' codename='LSM9_2' panelId='2' x='275' y='-361' z='1' xsz='20.2446' ysz='20.4525' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='accel_ad0_pin' data='000' />
					<value target='mag_ad0_pin' data='000' />
					<value target='cal_i2c::CHANNEL' data='001' />
					<value target='cal_i2c::BAUD_LIST' data='002' />
					<value target='cal_i2c::BAUD' data='400000' />
					<value target='cal_i2c::StopDel' data='0' />
					<value target='cal_i2c::SDA' data='$PORTA.21' />
					<value target='cal_i2c::SDAPins' data='021' />
					<value target='cal_i2c::SCL' data='$PORTA.22' />
					<value target='cal_i2c::SCLPins' data='022' />
					<value target='accel_scale' data='003' />
					<value target='accel_data_rate' data='006' />
					<value target='gyro_scale' data='000' />
					<value target='gyro_data_rate' data='005' />
					<value target='compass_scale' data='003' />
					<value target='comp_data_rate' data='007' />
					<value target='SimType' data='000' />
					<value target='cal_i2c::ScopeTraces' data='1' />
					<value target='cal_i2c::ConsoleData' data='1' />
					<value target='cal_i2c::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text2' panelId='2' x='610' y='-100' z='2' xsz='37.5' ysz='125' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='8' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='LSM9DS1
+VCC 
+VCC 
CH1
sda=a21
scl=a22
400KHz max/1Mhz ok?' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  0' />
					<value target='nVerticalAlignment' data='  0' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<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='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='GdiText' codename='Text8' panelId='2' x='610' y='-350' z='3' xsz='37.5' ysz='125' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='8' comp2dType='46' >
				<resources />
				<properties />
				<values >
					<value target='sText' data='LSM9DS1
GND
GND 
CH1
sda=a21
scl=a22
400KHz max/1Mhz ok?' />
					<value target='bWordWrap' data='0' />
					<value target='nHorizontalAlignment' data='  0' />
					<value target='nVerticalAlignment' data='  0' />
					<value target='nAngle' data='0' />
					<value target='fntFamily' data='Calibri' />
					<value target='bFixedScale' data='0' />
					<value target='dScale' data='1.00000' />
					<value target='bScaleWidth' data='0' />
					<value target='iFontSize' data='12' />
					<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='nTextOpacity' data='1.0' />
					<value target='colBackgroundColour' data='-1' />
					<value target='colBackgroundGradient' data='-1' />
					<value target='nBackgroundGradient' data='0' />
					<value target='nBackgroundOpacity' data='1.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d5f0360d-ba69-4cc4-af4a-c2621fd2d77d' vmin='0' vmaj='1' codename='CellGauge1' panelId='0' x='620' y='-135' z='15' xsz='18.2801' ysz='24.9078' 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='CellCount' data='000' />
					<value target='VoltagePerBit' data='0.001250' />
					<value target='AlertThreshold' data='031' />
					<value target='I2C_Master1::cal_i2c::CHANNEL' data='001' />
					<value target='I2C_Master1::cal_i2c::BAUD_LIST' data='002' />
					<value target='I2C_Master1::cal_i2c::BAUD' data='400000' />
					<value target='I2C_Master1::cal_i2c::SDA' data='$PORTA.21' />
					<value target='I2C_Master1::cal_i2c::SDAPins' data='021' />
					<value target='I2C_Master1::cal_i2c::SCL' data='$PORTA.22' />
					<value target='I2C_Master1::cal_i2c::SCLPins' data='022' />
					<value target='SimComms' data='0' />
					<value target='I2C_Master1::cal_i2c::ScopeTraces' data='0' />
					<value target='I2C_Master1::cal_i2c::ConsoleData' data='1' />
					<value target='I2C_Master1::cal_i2c::Injector' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label1' panelId='-1' x='0' y='10' z='-2.298' xsz='8' ysz='8' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Multi-color LED' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f6ab6074-68ba-4cd4-9274-f973102f8518' vmin='9' vmaj='1' codename='gLCD_SSD1306_i2c1' panelId='0' x='326' y='-224' z='16' xsz='32.9171' ysz='27.1267' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_width' data='128' />
					<value target='pixel_height' data='32' />
					<value target='Interlaced' data='0' />
					<value target='OffsetX' data='0' />
					<value target='OffsetY' data='0' />
					<value target='monochrome' data='1' />
					<value target='foreground_colour' data='16777215' />
					<value target='background_colour' data='0' />
					<value target='colour_bit_depth' data='1' />
					<value target='red_bit_depth' data='0' />
					<value target='green_bit_depth' data='0' />
					<value target='blue_bit_depth' data='0' />
					<value target='Address' data='120' />
					<value target='cal_i2c1::CHANNEL' data='001' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::SDA' data='$PORTA.21' />
					<value target='cal_i2c1::SDAPins' data='021' />
					<value target='cal_i2c1::SCL' data='$PORTA.22' />
					<value target='cal_i2c1::SCLPins' data='022' />
					<value target='Base_GLCD::FontCount' data='004' />
					<value target='Base_GLCD::gLCD_Font1::Font' data='016' />
					<value target='Base_GLCD::gLCD_Font1::CustomFontFile' data='' />
					<value target='Base_GLCD::gLCD_Font1::FontSpace' data='000' />
					<value target='Base_GLCD::gLCD_Font1::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font2::Font' data='007' />
					<value target='Base_GLCD::gLCD_Font2::CustomFontFile' data='' />
					<value target='Base_GLCD::gLCD_Font2::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font2::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font3::Font' data='014' />
					<value target='Base_GLCD::gLCD_Font3::CustomFontFile' data='' />
					<value target='Base_GLCD::gLCD_Font3::FontSpace' data='004' />
					<value target='Base_GLCD::gLCD_Font3::SpaceWidth' data='004' />
					<value target='Base_GLCD::gLCD_Font4::Font' data='020' />
					<value target='Base_GLCD::gLCD_Font4::CustomFontFile' data='' />
					<value target='Base_GLCD::gLCD_Font4::FontSpace' data='001' />
					<value target='Base_GLCD::gLCD_Font4::SpaceWidth' data='004' />
					<value target='DisplayMethod' data='000' />
					<value target='Base_GLCD::PhysicalOrientation' data='000' />
					<value target='SimComms' data='0' />
					<value target='cal_i2c1::ConsoleData' data='0' />
					<value target='cal_i2c1::ScopeTraces' data='0' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='bf86fab9-0b25-48ae-af79-bcee45f7db31' vmin='0' vmaj='2' codename='Sensirion_SHT41' panelId='1' x='788' y='-136' z='4' xsz='25.1153' ysz='25.059' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Addr' data='068' />
					<value target='cal_i2c1::CHANNEL' data='001' />
					<value target='cal_i2c1::SDA' data='$PORTA.21' />
					<value target='cal_i2c1::SCL' data='$PORTA.22' />
					<value target='cal_i2c1::SDAPins' data='021' />
					<value target='cal_i2c1::SCLPins' data='022' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='SimComms' data='0' />
					<value target='cal_i2c1::ScopeTraces' data='1' />
					<value target='cal_i2c1::ConsoleData' data='1' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f788c9e7-2e69-4be9-b41e-5fdced777c2e' vmin='0' vmaj='1' codename='ADS111x1' panelId='1' x='322.5' y='-487.502' z='5' xsz='25.1482' ysz='25.1511' 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='AddressPins' data='000' />
					<value target='cal_i2c1::CHANNEL' data='001' />
					<value target='cal_i2c1::SDA' data='$PORTA.21' />
					<value target='cal_i2c1::SDAPins' data='021' />
					<value target='cal_i2c1::SCL' data='$PORTA.22' />
					<value target='cal_i2c1::SCLPins' data='022' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::BAUD_LIST' data='001' />
					<value target='cal_i2c1::BAUD' data='100000' />
					<value target='RdyAlert' data='$PORTA.19' />
					<value target='SamplesPerSec' data='000' />
					<value target='GainA0' data='000' />
					<value target='GainA1' data='000' />
					<value target='GainA2' data='000' />
					<value target='GainA3' data='000' />
					<value target='SimComms' data='0' />
					<value target='cal_i2c1::ScopeTraces' data='1' />
					<value target='cal_i2c1::ConsoleData' data='1' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='93ab1895-66cf-4fd8-a04f-79f09acc19e6' vmin='0' vmaj='2' codename='Thermistor1' panelId='1' x='456.5' y='-385.5' z='6' xsz='25.18' ysz='25.1511' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Thermistor_base1::ADCConfig' data='001' />
					<value target='Thermistor_base1::adc_base1::channel' data='13' />
					<value target='Thermistor_base1::ADC_BITS' data='16' />
					<value target='Thermistor_base1::adc_base1::vrefop' data='000' />
					<value target='Thermistor_base1::adc_base1::convspd' data='003' />
					<value target='Thermistor_base1::adc_base1::actime' data='40' />
					<value target='Thermistor_base1::Wiring' data='000' />
					<value target='Thermistor_base1::RESISTOR' data='1000' />
					<value target='Thermistor_base1::M25' data='127960' />
					<value target='Thermistor_base1::P0' data='32660' />
					<value target='Thermistor_base1::P25' data='10000' />
					<value target='Thermistor_base1::P50' data='3590' />
					<value target='Thermistor_base1::P75' data='1480' />
					<value target='Thermistor_base1::P100' data='682' />
					<value target='Thermistor_base1::P125' data='3479' />
					<value target='label' data='Temperature' />
					<value target='min_temp' data='-25.000000' />
					<value target='max_temp' data='125' />
					<value target='scale_divisions' data='5' />
					<value target='temperature' data='26.036816' />
				</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='8.07118' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='509' dy='1615' zoom='7630.73' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='16777215' />
		<winpos ID='7005' RectRecentFloat='2381,513,3645,1572' RectRecentDocked='0,0,509,1644' 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='6.48547' ye='-1.58924' ze='91.8234' xt='6.48547' yt='-1.58924' 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='3841,404,4480,1045' RectRecentDocked='1989,183,2620,1827' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='3' >
		<panel2d_0 id='0' name='2D Panel' >
			<winpos ID='1171' RectRecentFloat='3890,814,5106,1781' RectRecentDocked='1441,183,1983,1827' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='50' gridbrush='71776119075099603' snaptogrid='1' />
		</panel2d_0>
		<panel2d_1 id='1' name='Thermo_Sensor' >
			<winpos ID='1172' RectRecentFloat='4769,109,5735,823' RectRecentDocked='1441,183,1983,1827' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='50' gridbrush='71776119075691740' snaptogrid='1' />
		</panel2d_1>
		<panel2d_2 id='2' name='IMU' >
			<winpos ID='1173' RectRecentFloat='4274,86,4669,682' RectRecentDocked='1441,183,1983,1827' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='1' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='1' />
			<background fill='288230376151053813' showgrid='1' gridstyle='1' gridsize='50' gridbrush='71776119075099603' snaptogrid='1' />
		</panel2d_2>
	</panels2d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='180' scrollx='0' scrolly='2352' flags='0' />
		<view type='0' name='Init' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='135' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Init_thermo' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='170' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Rec' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='220' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Send_Data' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='150' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Sleep' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='160' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Imu_data_get_strg1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='180' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Imu_data_get_strg2' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='160' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Thermocouple_get_strg' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='180' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SHT41' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='180' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='MCP960x_setup' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Display_update' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='set_array' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='260' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='get_command_sw' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='170' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ADS1115' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='260' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='link' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8QMAAOUEAAA' zoom='190' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
