<root>
<document scada='0' schema='102' license='10,66718025,6XBAK2' title='' description='' fcversion='590336' target='ESP.ESP32.ESP32' >
	<config data='' clkspd='240000000' simspd='0' usewdt='0' constif='0' commport='9' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='1' head='#include &quot;soc/rtc_wdt.h&quot;


#include &quot;C:\Users\Kfs-Forschung\Desktop\esp-idf\components\bt\include\esp32\include\esp_bt.h&quot;' body='' />
	<debug >
		<watch expr='con_status' />
	</debug>
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='1' />
			<data name='CalculatedCommsDelay' value='1' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='0' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='920175dd-ace8-49e2-9208-ec548563c9c0' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='Real Time Clock (ESP32)' description='Allows an ESP32 device to act as a RTC with NTP type server synchronisation.
Requires a WIFI network connection with internet access to synchronise.
Provides simulation using local PC system time.' category='Storage' category2='' category3='' bIs2dOnly='1' catenable='1' author='Matrix TSL' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='..\OneDrive - MATRIX TECHNOLOGY SOLUTIONS\FC9\Components\icons\components\Timer.png' />
		<gdiopts FullContainer='1' FullTransparency='1' ShowGdi='1' ShowOpengl='1' />
		<component class_type='root' codename='RTC_ESP32_NTP' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties />
			<values />
			<events >
				<event class='Simulation' event='Stop' target='Ev_SimStop' />
				<event class='Simulation' event='Start' target='Ev_SimStart' />
				<event class='Compile' event='Start' target='Ev_CompileStart' />
			</events>
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='ret_strg_bt' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='40' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_mpu' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_strg_recorder' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='40' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ACCE_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='hh' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_a' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='HX_long' type='s32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_btn' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Bt_send_array' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='3' />
						<array size='6000' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_strg_usb' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='40' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_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='Bt_send_array_byte' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='50' />
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='bt_strg_len' type='u8' 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='ss' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</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='bt_count' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_byte' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='led_on' type='u8' description='' 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='send_mpu' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AD_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='mpu' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Send_all_stg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='50' />
					</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='res_str_2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='40' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='mm' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='res_str_1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='40' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AZ' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='mpu_strg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='200' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_d_value2' type='s16' description='verschoben um 150' isconst='0' isHidden='0' isinit='1' usrinit='150' setinit='150' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='step2' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='10' setinit='10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AY' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Bt_send_array_int' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' >
						<array size='50' />
						<array size='2' />
					</def>
				</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='count_d_value1' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='step1' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='10' setinit='10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AX' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='con_status' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Bt_send_array1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='33000' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Bt_send_array_strg' type='T8' description='For demo data' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='50' />
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='delay_time' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='500' setinit='500' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='get_cmd' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_str_bt' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='200' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_sendhx' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_DS' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='esp_err_t' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='HX_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='ret_strg_BT_USB' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='40' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IP_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='connect_ok' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='USB_interrupt' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='get_cmd = 2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='send_hx_data' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='Bluetooth_SPP_ESP32' macro='SendString' >
							<argument exp='Send_all_stg' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='get_command' description='' 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='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='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' 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>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;h1&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_hx = 1' />
								</command>
							</flowline>
							<flowline />
						</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='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;h2&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_hx = 2' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;h3&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_hx = 3' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;h4&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_hx = 4' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;h5&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_hx = 5' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;h6&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_hx = 6' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;h7&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_hx = 7' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;h8&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_hx = 8' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;m1&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_mpu = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword info' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='Compare$ (.ret_strg,&quot;s1&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='S_send_ok = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='send_mpu_data' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='SampleDevice' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='GetAccelReading' >
							<return exp='mpu[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='MPU6886' macro='GetAccelReading' >
							<return exp='mpu[1]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='GetAccelReading' >
							<return exp='mpu[2]' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='GetGyroReadng' >
							<return exp='mpu[3]' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='GetGyroReadng' >
							<return exp='mpu[4]' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='GetGyroReadng' >
							<return exp='mpu[5]' />
							<argument exp='2' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='mpu_strg = &quot;&quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='2' forvar='count_mpu' exp='6' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='leading_space' >
									<return exp='temp_strg' />
									<argument exp='&quot; &quot;' />
									<argument exp='mpu[count_mpu]' />
									<argument exp='6' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='mpu_strg = mpu_strg + temp_strg' />
								</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='SendString' >
									<argument exp='temp_strg' />
								</command>
							</flowline>
						</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='mpu_strg' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='BT_interrupt' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='ret_strg' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='get_cmd = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='leading_space' description='' 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='s16' 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='20' />
						</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='20' />
						</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='0' 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='set_demodata' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='count_array' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='2' forvar='bt_count' exp='33000' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='Bt_send_array1[bt_count] = 48 //all 0' />
									<exp exp='' />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='2' forvar='bt_count' exp='6000' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
									<exp exp='' />
									<exp exp='Bt_send_array[0][bt_count] = 48 //all 0' />
									<exp exp='Bt_send_array[1][bt_count] = 49 //all 1' />
									<exp exp='Bt_send_array[2][bt_count] = 50 //all 2' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='Fill the array with demoddata' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='calculation' title='Fill array with data' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Bt_send_array_strg[0] = &quot;0001,0001&quot;' />
							<exp exp='Bt_send_array_strg[1] = &quot;0002,00-2&quot;' />
							<exp exp='Bt_send_array_strg[2] = &quot;0002,0-14&quot;' />
							<exp exp='Bt_send_array_strg[3] = &quot;0016,0-34&quot;' />
							<exp exp='Bt_send_array_strg[4] = &quot;0045,0-35&quot;' />
							<exp exp='Bt_send_array_strg[5] = &quot;0059,00-6&quot;' />
							<exp exp='Bt_send_array_strg[6] = &quot;0045,0020&quot;' />
							<exp exp='Bt_send_array_strg[7] = &quot;0029,0030&quot;' />
							<exp exp='Bt_send_array_strg[8] = &quot;0016,0029&quot;' />
							<exp exp='Bt_send_array_strg[9] = &quot;0009,0016&quot;' />
							<exp exp='Bt_send_array_strg[10] = &quot;0004,0008&quot;' />
							<exp exp='Bt_send_array_strg[11] = &quot;0001,0004&quot;' />
						</command>
						<command class_type='calculation' title='Fill array with data 4Byte no komma' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Bt_send_array_strg[0] = &quot;00010001&quot;' />
							<exp exp='Bt_send_array_strg[1] = &quot;000200-2&quot;' />
							<exp exp='Bt_send_array_strg[2] = &quot;00020-14&quot;' />
							<exp exp='Bt_send_array_strg[3] = &quot;00160-34&quot;' />
							<exp exp='Bt_send_array_strg[4] = &quot;00450-35&quot;' />
							<exp exp='Bt_send_array_strg[5] = &quot;005900-6&quot;' />
							<exp exp='Bt_send_array_strg[6] = &quot;00450020&quot;' />
							<exp exp='Bt_send_array_strg[7] = &quot;00290030&quot;' />
							<exp exp='Bt_send_array_strg[8] = &quot;00160029&quot;' />
							<exp exp='Bt_send_array_strg[9] = &quot;00090016&quot;' />
							<exp exp='Bt_send_array_strg[10] = &quot;00040008&quot;' />
							<exp exp='Bt_send_array_strg[11] = &quot;00010004&quot;' />
						</command>
						<command class_type='calculation' title='Fill array with data_3Byte and komma' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Bt_send_array_strg[0] = &quot;001,001&quot;' />
							<exp exp='Bt_send_array_strg[1] = &quot;002,0-2&quot;' />
							<exp exp='Bt_send_array_strg[2] = &quot;002,-14&quot;' />
							<exp exp='Bt_send_array_strg[3] = &quot;016,-34&quot;' />
							<exp exp='Bt_send_array_strg[4] = &quot;045,-35&quot;' />
							<exp exp='Bt_send_array_strg[5] = &quot;059,0-6&quot;' />
							<exp exp='Bt_send_array_strg[6] = &quot;045,020&quot;' />
							<exp exp='Bt_send_array_strg[7] = &quot;029,030&quot;' />
							<exp exp='Bt_send_array_strg[8] = &quot;016,029&quot;' />
							<exp exp='Bt_send_array_strg[9] = &quot;009,016&quot;' />
							<exp exp='Bt_send_array_strg[10] = &quot;004,008&quot;' />
							<exp exp='Bt_send_array_strg[11] = &quot;001,004&quot;' />
						</command>
						<command class_type='calculation' title='Fill array with data_3Byte and komma' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='Bt_send_array_strg[0] = &quot;001001&quot;' />
							<exp exp='Bt_send_array_strg[1] = &quot;002 -2&quot;' />
							<exp exp='Bt_send_array_strg[2] = &quot;002-14&quot;' />
							<exp exp='Bt_send_array_strg[3] = &quot;016-34&quot;' />
							<exp exp='Bt_send_array_strg[4] = &quot;045-35&quot;' />
							<exp exp='Bt_send_array_strg[5] = &quot;059 -6&quot;' />
							<exp exp='Bt_send_array_strg[6] = &quot;045020&quot;' />
							<exp exp='Bt_send_array_strg[7] = &quot;029030&quot;' />
							<exp exp='Bt_send_array_strg[8] = &quot;016029&quot;' />
							<exp exp='Bt_send_array_strg[9] = &quot;009016&quot;' />
							<exp exp='Bt_send_array_strg[10] = &quot;004008&quot;' />
							<exp exp='Bt_send_array_strg[11] = &quot;001004&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='Num' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='hour' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='oldhour' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='99' setinit='99' />
						<command class_type='comment' title='' comment='NEW hx711 
v7' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='#include &quot;components/bt/include/esp32/include/esp_bt.h&quot;' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<command class_type='comment' title='' comment='ATOM MATRIX

MPU HAS SAME PIN AS EXTERN PIN !!!!!
IO21 and IO25

ATOM Lite
HAS NO MPU

MPU clock data
HX1 clock data 
HX2 clock data

M5 HX711 clock and data reversed to grove' 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:\FcM5\UH\Demodata\Demodata_ESP32_v2
Then run (type) idf.py menuconfig' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
						<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='LED_WS2811' macro='Initialise' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetAllLEDColour' >
							<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='SetLEDColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='20' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='Refresh' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='Initialise' />
						<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='set_demodata' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1_usb' macro='Initialise' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='Initialise' />
						<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='500' type='1' />
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='LED_WS2811' macro='SetLEDColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='20' />
							<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='Bluetooth_SPP_ESP32' macro='Initialise' />
						<command class_type='interrupt' title='Interrupt' 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' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='calculation' title='Calculation' ccode='// Name: Calculation, Type: Calculation:
// delay_time = 500
// esp_err_t = 0
FCV_DELAY_TIME = 500;
FCV_ESP_ERR_T = 0;
' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
							<exp exp='delay_time = 500' />
							<exp exp='esp_err_t = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='native' title='C Code' ccode='TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed=1;
TIMERG0.wdt_wprotect=0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
								<command class_type='comment' title='' comment='esp_bredr_tx_power_set(esp_power_level_tmin_power_level, esp_power_level_tmax_power_level)' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
								<command class_type='native' title='C Code' disable='1' ccode='/*
  Enter C code below this comment
*/
esp_bredr_tx_power_set(ESP_PWR_LVL_N3, ESP_PWR_LVL_N0)' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
								<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='1' type='1' />
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='get_cmd' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='get_cmd = 0' />
												<exp exp='BT_USB = 0' />
											</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='ReceiveString' >
												<return exp='ret_strg_BT_USB' />
												<argument exp='2' />
												<argument exp='100' />
											</command>
											<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>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='get_cmd = 0' />
												<exp exp='BT_USB = 1' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='UART1_usb' macro='ReceiveString' >
												<return exp='ret_strg_BT_USB' />
												<argument exp='100' />
												<argument exp='2' />
											</command>
											<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>
										</flowline>
									</case>
									<case exp='3' >
										<flowline />
									</case>
								</command>
								<command class_type='switch' title='Switch for h command' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='send_hx' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='send_hx = 0' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='SetChannelAndGain' >
												<argument exp='0' />
												<argument exp='64' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
												<return exp='HX_long' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
												<return exp='HX_long' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='HX_strg = ToString$ (HX_long)' />
												<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
														<argument exp='HX_strg' />
													</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='SendString' >
														<argument exp='HX_strg' />
													</command>
												</flowline>
											</command>
										</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='send_hx = 0' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='SetChannelAndGain' >
												<argument exp='1' />
												<argument exp='32' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
												<return exp='HX_long' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
												<return exp='HX_long' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='HX_strg = ToString$ (HX_long)' />
												<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
														<argument exp='HX_strg' />
													</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='SendString' >
														<argument exp='HX_strg' />
													</command>
												</flowline>
											</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='send_hx = 0' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_2' macro='SetChannelAndGain' >
												<argument exp='0' />
												<argument exp='64' />
											</command>
											<command class_type='delay' title='Delay' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_2' macro='RawSample' >
												<return exp='HX_long' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='HX_strg = ToString$ (HX_long)' />
												<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
														<argument exp='HX_strg' />
													</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='SendString' >
														<argument exp='HX_strg' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='send_hx = 0' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='SetChannelAndGain' >
												<argument exp='0' />
												<argument exp='64' />
											</command>
											<command class_type='delay' title='Delay' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
												<return exp='HX_long' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='HX_strg = ToString$ (HX_long)' />
												<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
														<argument exp='HX_strg' />
													</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='SendString' >
														<argument exp='HX_strg' />
													</command>
												</flowline>
											</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='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='send_hx = 0' />
											</command>
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_2' macro='SetChannelAndGain' >
												<argument exp='0' />
												<argument exp='64' />
											</command>
											<command class_type='delay' title='Delay' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
											<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_2' macro='RawSample' >
												<return exp='HX_long' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='HX_strg = ToString$ (HX_long)' />
												<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
														<argument exp='HX_strg' />
													</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='SendString' >
														<argument exp='HX_strg' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='send_hx = 0' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='2' exp='10' >
												<flowline >
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='SetChannelAndGain' >
														<argument exp='0' />
														<argument exp='64' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
														<return exp='HX_long' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
														<exp exp='HX_strg = ToString$ (HX_long)' />
														<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
													</command>
													<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
																<argument exp='HX_strg' />
															</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='SendString' >
																<argument exp='HX_strg' />
															</command>
														</flowline>
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='send_hx = 0' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='2' exp='10' >
												<flowline >
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='SetChannelAndGain' >
														<argument exp='1' />
														<argument exp='32' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
														<return exp='HX_long' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
														<exp exp='HX_strg = ToString$ (HX_long)' />
														<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
													</command>
													<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
																<argument exp='HX_strg' />
															</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='SendString' >
																<argument exp='HX_strg' />
															</command>
														</flowline>
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='send_hx = 0' />
												<exp exp='' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' 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='HX711_1' macro='SetChannelAndGain' >
														<argument exp='0' />
														<argument exp='64' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
														<return exp='HX_long' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
														<exp exp='HX_strg = ToString$ (HX_long) + &quot;A&quot;' />
														<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
													</command>
													<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
																<argument exp='HX_strg' />
															</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='SendString' >
																<argument exp='HX_strg' />
															</command>
														</flowline>
													</command>
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='SetChannelAndGain' >
														<argument exp='1' />
														<argument exp='32' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
														<return exp='HX_long' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
														<exp exp='HX_strg = ToString$ (HX_long) + &quot;B&quot;' />
														<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
													</command>
													<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
																<argument exp='HX_strg' />
															</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='SendString' >
																<argument exp='HX_strg' />
															</command>
														</flowline>
													</command>
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='send_hx = 0' />
												<exp exp='' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' 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='HX711_1' macro='SetChannelAndGain' >
														<argument exp='1' />
														<argument exp='32' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
														<return exp='HX_long' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
														<exp exp='HX_strg = ToString$ (HX_long) + &quot;B&quot;' />
														<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
													</command>
													<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
																<argument exp='HX_strg' />
															</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='SendString' >
																<argument exp='HX_strg' />
															</command>
														</flowline>
													</command>
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='SetChannelAndGain' >
														<argument exp='0' />
														<argument exp='64' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
													<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='HX711_1' macro='RawSample' >
														<return exp='HX_long' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
														<exp exp='HX_strg = ToString$ (HX_long) + &quot;A&quot;' />
														<exp exp='HX_strg = HX_strg + &quot;\r\n&quot;' />
													</command>
													<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
																<argument exp='HX_strg' />
															</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='SendString' >
																<argument exp='HX_strg' />
															</command>
														</flowline>
													</command>
													<command class_type='delay' title='Delay' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='delay_time' type='1' />
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='9' >
										<flowline />
									</case>
									<case exp='10' >
										<flowline />
									</case>
								</command>
								<command class_type='switch' title='Switch for m command' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='send_mpu' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='send_mpu = 0' />
											</command>
											<command class_type='comment' title='' comment='not usefull yet' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' />
											<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='SampleDevice' />
											<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='GetAccelReading' >
												<return exp='AX' />
												<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='MPU6886' macro='GetAccelReading' >
												<return exp='AX' />
												<argument exp='2' />
											</command>
											<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='GetGyroReadng' >
												<return exp='AX' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='User Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='leading_space' >
												<return exp='ACCE_STRG' />
												<argument exp='&quot; &quot;' />
												<argument exp='AX' />
												<argument exp='6' />
											</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='SendString' >
												<argument exp='ACCE_STRG' />
											</command>
											<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='GetGyroReadng' >
												<return exp='AX' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='User Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='leading_space' >
												<return exp='ACCE_STRG' />
												<argument exp='&quot; &quot;' />
												<argument exp='AX' />
												<argument exp='6' />
											</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='SendString' >
												<argument exp='ACCE_STRG' />
											</command>
											<command class_type='call' title='Component Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='MPU6886' macro='GetGyroReadng' >
												<return exp='AX' />
												<argument exp='2' />
											</command>
											<command class_type='call' title='User Macro' disable='1' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='leading_space' >
												<return exp='ACCE_STRG' />
												<argument exp='&quot; &quot;' />
												<argument exp='AX' />
												<argument exp='6' />
											</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='SendString' >
												<argument exp='ACCE_STRG' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' exp='BT_USB = 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_usb' macro='SendString' >
														<argument exp='HX_strg' />
													</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='SendString' >
														<argument exp='HX_strg' />
													</command>
												</flowline>
											</command>
										</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='send_mpu = 0' />
											</command>
											<command class_type='call' title='User Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='send_mpu_data' />
										</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='send_mpu = 0' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' >
												<exp exp='send_mpu = 0' />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='UART1_usb' x='-51' y='40' z='0' xsz='25' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='009' />
					<value target='cal_uart::BAUD' data='115200' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTA.1' />
					<value target='cal_uart::OutputPins' data='007' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTA.3' />
					<value target='cal_uart::InputPins' data='013' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
					<value target='cal_uart::APIUseDDR' data='' />
					<value target='cal_uart::APIDDRPin' data='' />
					<value target='cal_uart::APIDDRRXState' data='' />
					<value target='cal_uart::APIUseFC' data='' />
					<value target='cal_uart::APICTSPin' data='' />
					<value target='cal_uart::APIRTSPin' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='8be2ce64-4860-468a-aa8a-eac443274da3' vmin='0' vmaj='1' codename='Bluetooth_SPP_ESP32' x='50' y='40' z='0.25' xsz='25' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='DevName' data='FC_UH2_Matrix' />
					<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' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d977c3ef-c7dc-4683-a1be-76e17e6ba12b' vmin='5' vmaj='1' codename='LED_WS2811' x='-10' y='110' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='LED_Controller' data='001' />
					<value target='DataOrder' data='1' />
					<value target='Reset_Time' data='50.000000' />
					<value target='T0H' data='0.350000' />
					<value target='T0L' data='0.800000' />
					<value target='T1H' data='0.700000' />
					<value target='T1L' data='0.600000' />
					<value target='T0HNops' data='78' />
					<value target='T0LNops' data='192' />
					<value target='T1HNops' data='168' />
					<value target='T1LNops' data='144' />
					<value target='DeviceFamily' data='ESP' />
					<value target='InstRate' data='180000000' />
					<value target='Direct' data='0' />
					<value target='T0HN' data='350.000000' />
					<value target='T0LN' data='800.000000' />
					<value target='T1HN' data='700.000000' />
					<value target='T1LN' data='600.000000' />
					<value target='LED_Arrangement' data='002' />
					<value target='LED_Count' data='26' />
					<value target='sequence' data='000' />
					<value target='LED_Cols' data='5' />
					<value target='x_spacing' data='10.000000' />
					<value target='LED_Rows' data='5' />
					<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.27' />
					<value target='Instance' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl1' x='-40' y='200' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$pin39' />
					<value target='polarity' data='001' />
					<value target='debounce' data='10' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d950cf7c-f9fc-49ba-a486-0d45b6afd1aa' vmin='1' vmaj='2' codename='MPU6886' x='70' y='260' z='0' xsz='25' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='AddressBit' data='0' />
					<value target='GyroRange' data='000' />
					<value target='AccelRange' data='000' />
					<value target='cal_i2c1::CHANNEL' data='000' />
					<value target='cal_i2c1::SDA' data='$PORTA.25' />
					<value target='cal_i2c1::SDAPins' data='006' />
					<value target='cal_i2c1::SCL' data='$PORTA.21' />
					<value target='cal_i2c1::SCLPins' data='027' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::BAUD_LIST' data='003' />
					<value target='cal_i2c1::BAUD' data='1000000' />
					<value target='SimulateComms' data='1' />
					<value target='cal_i2c1::ScopeTraces' data='1' />
					<value target='cal_i2c1::ConsoleData' data='1' />
					<value target='cal_i2c1::Injector' data='000' />
					<value target='AccelMult' data='16383.500000' />
					<value target='GyroMult' data='131.067993' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8ec17bd-a898-44d2-83af-968c96826948' vmin='0' vmaj='2' codename='HX711_1' x='-110' y='440' z='0' xsz='25' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='InputChannel' data='000' />
					<value target='InputGain' data='064' />
					<value target='Data' data='$pin23' />
					<value target='Clock' data='$pin33' />
					<value target='ClockDelay' data='1' />
					<value target='UseMedian' data='0' />
					<value target='MedianSamples' data='5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8ec17bd-a898-44d2-83af-968c96826948' vmin='0' vmaj='2' codename='HX711_2' x='-10' y='440' z='0' xsz='25' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='InputChannel' data='000' />
					<value target='InputGain' data='064' />
					<value target='Data' data='$pin19' />
					<value target='Clock' data='$pin22' />
					<value target='ClockDelay' data='1' />
					<value target='UseMedian' data='0' />
					<value target='MedianSamples' data='5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='15793151' img='' style='0' />
		<camera xe='-42.0573' ye='241.754' ze='254.902' xt='-42.0573' yt='241.754' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='431' dy='1438' zoom='204.592' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='781.66' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAXAYAAPwFAAA' zoom='90' scrollx='0' scrolly='1670' flags='0' />
		<view type='0' name='BT_interrupt' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAXAYAAPwFAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='USB_interrupt' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAXAYAAPwFAAA' zoom='120' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='leading_space' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAXAYAAPwFAAA' zoom='150' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='send_hx_data' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAXAYAAPwFAAA' zoom='125' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='set_demodata' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAXAYAAPwFAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='send_mpu_data' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAXAYAAPwFAAA' zoom='105' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='get_command' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAXAYAAPwFAAA' zoom='120' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
