<root>
<document scada='0' schema='102' license='1,stefan.erni,N5FW40' title='' description='' fcversion='524800' target='PIC32.32MZ.32MZ2048EFG100' >
	<config data='!0,0!20,0!40,0!60,0!80,0!a0,0!c0,2!e0,1!100,0!120,18!140,1!160,0!180,1!1a0,0!1c0,0!1e0,0!200,0!220,1!240,3!260,6!280,1!2a0,0!2c0,0!2e0,0!300,0!320,0!340,3!360,0!380,0!3a0,0!3c0,1!3e0,0!400,0!420,0!440,0!460,0!480,0!4a0,0!4c0,0!4e0,0!500,1%0,0%20,0%40,0%60,0%80,0%a0,0%c0,2%e0,1%100,0%120,18%140,1%160,0%180,1%1a0,0%1c0,0%1e0,0%200,0%220,1%240,3%260,6%280,1%2a0,0%2c0,0%2e0,0%300,0%320,0%340,3%360,0%380,0%3a0,0%3c0,1%3e0,0%400,0%420,0%440,0%460,0%480,0%4a0,0%4c0,0%4e0,0%500,1' clkspd='100000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='
' body='' />
	<debug />
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='1' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='2' />
			<data name='CalculatedCommsDelay' value='2' />
			<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='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='13430e25-c2b0-40d7-8d78-cb8e6811ebf9' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='Misc' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties >
				<property name='SDA Remap Pin' target='serial_eeprom1::cal_i2c1::SDAPins' typeid='16' hidden='0' locked='0' info='' filter='000$PORTC.0
001$PORTC.1
002$PORTC.2
003$PORTC.3
004$PORTC.4
005$PORTC.5
006$PORTC.6
007$PORTC.7
008$PORTB.0
009$PORTB.1
010$PORTB.2
011$PORTB.3
012$PORTB.4
013$PORTB.5
014$PORTB.6
015$PORTB.7' />
			</properties>
			<values >
				<value target='serial_eeprom1::cal_i2c1::SDAPins' data='000' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='init_ret' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='key_pressed' type='u8' description='no switch=0; switch 1=1;  switch 2 =2; both=3;' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='del_count' type='u8' description='' isconst='0' isinit='1' usrinit='18' setinit='18' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_str' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='1024' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='mpu_accel_z' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='REG' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='buffer_sd' type='u8' description='64512' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='2' />
						<array size='64512' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='buffer_sd_index' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='mpu_accel_y' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='accespoint_name' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;EMGcontrol&quot;' setinit='&quot;EMGcontrol&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rtcc_uart_str' type='T8' description='&quot;yyyy_MM_dd__HH_mm_ss&quot;' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='35' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='max_value_h_ch' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='8' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in' type='s16' description='DSP' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='value_graph' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='master' type='b1' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='mpu_accel_x' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='wav_header' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='256' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='channel_text' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='8' />
						<array size='8' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_data_byte1' type='u8' description='' isconst='0' isinit='1' usrinit='100' setinit='100' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LSB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temperatur_str' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Config_graf_on' type='u8' description='setzt den Graf ein oder aus' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rtcc_year' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='wifi_count' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Config_ads_bit' type='u8' description='16= 16bit=&gt;12Channel*2Byte ;  24=24bit=&gt;  8Channel*3Byte' isconst='0' isinit='1' usrinit='16' setinit='16' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='akku_value' type='u16' description='16 Bit Akku Spannung' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='buffer_sd_name' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SINT32' type='s32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sound' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='textstring' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='display_off_counter' type='u32' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='auto_id_dt' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='delay_init' type='s16' description='500 ok;100 ok;10ok;1ok' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='register_value_8' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_16Bit_integer' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='max14_in' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='send_scaler' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='loop_checkit' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Config_samplerate' type='u8' description='1=500;2=2000' isconst='0' isinit='1' usrinit='2' setinit='2' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='accespoint_pw' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;123456789&quot;' setinit='&quot;123456789&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='timer_string' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='filename_gen_display' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;012345678&quot;' setinit='&quot;012345678&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Force_strL' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='m0_standby' type='s16' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='l_p' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_byte' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='data' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='statebyte' type='u8' description='0=off;1=Anzeige;2=Record' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Config_gain' type='u8' description='1=1x;24=24x' isconst='0' isinit='1' usrinit='24' setinit='24' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='bufready' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sw2_pressed' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='retval' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rtccs_dt' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MSB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sw_delay' type='u16' description='' isconst='0' isinit='1' usrinit='2000' setinit='2000' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_data_byte' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='m1_wait' type='s16' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='regdisplay' type='u32' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ok_wifi' type='u8' description='wird 1 wenn init ok sonst 0' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='backlight_counter' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='read_rtcc' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sample_data_a' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='256' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='m4_record' type='s16' description='' isconst='1' isinit='1' usrinit='4' setinit='4' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ser_ret_str' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='35' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rtccs_2' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='2' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='scale_div400' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='value_graph_gl' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Config_offset' type='s16' description='addiert eine wert zum resultat// Achtung Offset temparatur abhaengig' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='7' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='max_value_l_ch' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='8' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='display_off_counter_limit' type='u32' description='7.6 für ca 1 Sek /2400 for 5Min / 4800 for 10min' isconst='0' isinit='1' usrinit='2400' setinit='2400' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Config_ads_digital_gain' type='u8' description='50=&gt;1mV to 0.185Audas;28=&gt;1mV to 0.105 Audas; 27 not ok-Nur 16 Bit' isconst='0' isinit='1' usrinit='28' setinit='28' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sample_data_anew' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='m3_settings' type='s16' description='' isconst='1' isinit='1' usrinit='3' setinit='3' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='auto_id_tm' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='data_wlan' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='channel_to_display' type='u8' description='' isconst='0' isinit='1' usrinit='6' setinit='6' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sw2_delay' type='u16' description='' isconst='0' isinit='1' usrinit='1000' setinit='1000' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sendinfo_strg' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sample_data_int' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='120' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='bufferfull' type='u32' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='file_fat_time' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='max_value_aktuel_ch' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='8' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='wait_for_stop_taste' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sw1_pressed' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rtcc_day' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rtcc_sec' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='max_value_ch2' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ads_channel' type='u8' description='Wie viele channel einlesen' isconst='0' isinit='1' usrinit='6' setinit='6' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='value_graph_temp_2' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rtcc_hour' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='value_graph_temp_1' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sw1_delay' type='u16' description='higher number is low soundfreq.' isconst='0' isinit='1' usrinit='2000' setinit='2000' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='buffersize' type='s16' description='mehrfaches  3*512 Beispiel 3x512=1536  64512--129024' isconst='1' isinit='1' usrinit='15360' setinit='15360' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='index_count' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='auto_id_buildnr' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='m2_display' type='s16' description='' isconst='1' isinit='1' usrinit='2' setinit='2' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='NSB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='REGISTER32' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Logfile_Recorder_id' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='filename_gen' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;sig24bg8.raw&quot;' setinit='&quot;sig24bg8.raw&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rtccs_tm' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='REGISTERVALUE' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ser_ret' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='y_value' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='akku_value_float' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='bufferB' type='s16' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='scale_div2000' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='scale_div10' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='on_wifi' type='u8' description='wifi muss eingeschalten werden mit Stoptaste 10sekunden' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='bufferA' type='s16' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Force_str' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='out' type='s16' description='DSP' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='on_ads_test' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rtcc_month' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='scale_div200' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Config_datamode' type='u8' description='Schaltet Uart auf binaer' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='read_eeprom1' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sector_counter' type='u32' description='zaehlt die geschriebenen sectoren' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='index1_sample' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='max14_16Bit' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temperatur_read' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='file_fat_date' type='u16' description='' isconst='0' isinit='1' usrinit='18978' setinit='0x4A22' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='akkustr' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='y_valuelimit' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='max_value_m_ch' type='s16' description='Mittelwert uebr zeit' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='8' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ret_cal' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='i' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rtcc_min' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='key_pressed' description='' >
						<return name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ret_state' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='pcb_switch on board
pext_switch on Dsub
1 stop
2 rec

sollte Pin C14 für pext1 sein geht aber noch nicht' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pcb_switch1' macro='ReadState' >
							<return exp='sw1_pressed' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = 0' />
						</command>
						<command class_type='decision' title='black switch (1)' cmdcolor='12615680' cmdcolor_sec='15376912' exp='sw1_pressed = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='sw_delay = sw1_delay' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.Return = 1' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.Return = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pext_switch1' macro='ReadState' >
							<return exp='sw1_pressed' />
						</command>
						<command class_type='comment' title='' comment='Comment' textarea='598,11,598,11' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='decision' title='black switch (1)' cmdcolor='12615680' cmdcolor_sec='15376912' exp='sw1_pressed = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='sw_delay = sw1_delay' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.Return = 1' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.Return = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='Comment' textarea='1859,12,1859,12' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pcb_switch2' macro='ReadState' >
							<return exp='sw2_pressed' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='sw2_pressed = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pcb_switch1' macro='ReadState' >
									<return exp='sw1_pressed' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='sw1_pressed = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='sw_delay = sw1_delay' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.Return = 3' />
										</command>
										<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='sw_delay = sw2_delay' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.Return = 2' />
										</command>
										<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pext_switch2' macro='ReadState' >
							<return exp='sw2_pressed' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='sw2_pressed = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pcb_switch1' macro='ReadState' >
									<return exp='sw1_pressed' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='sw1_pressed = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='sw_delay = sw1_delay' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.Return = 3' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='sw_delay = sw2_delay' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.Return = 2' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='testpart' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='1= clockregister,2UartBRG' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='x_val' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='begin_long' type='s32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='resultat_long' type='s32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='y_pos' type='u8' description='' isconst='0' isinit='1' usrinit='10' setinit='10' />
						<local name='line_nr' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='display_stg' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='comment' title='' comment='Analog for akku is C1 (pin6)= AN22
Alternative Stopschalter G15 = AN23 benutzen

' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.init_read' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='native' title='C Code for Divider clock' disable='1' ccode='//show  register on display

//_SFR_BIT_SET(&amp;PB3DIV, 4);
FCI_DELAYBYTE_MS(1);

//FCV_REGDISPLAY  = &amp;PB3DIV;	      //Copy to variable

//FCV_REGDISPLAY  = &amp;DEVCFG2;
//FCV_REGDISPLAY  = &amp;DEVCFG1;
//_SFR_BIT_SET(&amp;PB3DIV, 4);

//PB3DIVbits.4 = 0;
//FCV_REGDISPLAY  = PB3DIV;

//ADCCON3bits.3 = 1;

/*
  Enter C code below this comment
*/
//Unlock Combination
_SFR_WRITE(&amp;SYSKEY, 0xAA996655);
_SFR_WRITE(&amp;SYSKEY, 0x556699AA);



//_SFR_BIT_SET(&amp;PB3DIV, 1);

// now lock again PB3DIC
//_SFR_BIT_CLEAR(&amp;PB3DIV, 11);

//_SFR_BIT_SET(&amp;PB2DIV, 1);
//_SFR_BIT_SET(&amp;PB2DIV, 4);

FCV_REGDISPLAY  = PB2DIV;
// now lock again
_SFR_WRITE(&amp;SYSKEY, 0x0);





FCD_08221_LCD_SSD1351__ClearDisplay();
FCD_08221_LCD_SSD1351__PrintNumber(FCV_REGDISPLAY, 50, 50, 0, 0);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='native' title='C Code for Divider clock IC2' disable='1' ccode='//show  register on display



//FCV_REGDISPLAY  = PB2DIV;
FCV_REGDISPLAY  = I2C5BRG;
// now lock again


FCD_08221_LCD_SSD1351__ClearDisplay();
FCD_08221_LCD_SSD1351__PrintNumber(FCV_REGDISPLAY, 50, 50, 0, 0);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									<command class_type='call' title='Call Component Macro' disable='1' ccode='// Name: Call Component Macro, Type: Call Component Macro: akku_value_float=slider_plastic1::GetVoltage()
FCV_AKKU_VALUE_FLOAT = FCD_0d101_slider_plastic1__GetVoltage();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='slider_plastic1' macro='GetVoltage' >
										<return exp='akku_value_float' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='loop' title='Loop' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
										<flowline >
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendChar' >
												<argument exp='85' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_status_ext' macro='TurnOff' />
											<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_status_ext' macro='TurnOn' />
											<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
										</flowline>
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='native' title='C Code' disable='1' ccode='trisb = 0;			          //Set all of port B to output
portb = FCV_VAR1;             //Output the value of Var1 to portB

trisa = 1;	                  //Convert port A bit 0 to input

if (test_bit(porta, 0))	      //Check to see if A0 is high
{
	portb = FCV_VAR1+FCV_ADD; //If so, portb = 2+3=5 (0101 in binary)
}
else
{
	portb = FCV_VAR1;			//Otherwise portb = 2
}' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									<command class_type='native' title='C Code' disable='1' ccode='/*
  Enter C code below this comment
*/
//Unlock Combination
_SFR_WRITE(&amp;SYSKEY, 0xAA996655);
_SFR_WRITE(&amp;SYSKEY, 0x556699AA);

//Unlock
_SFR_BIT_SET(&amp;PB3DIV, 11);

//_SFR_BIT_SET(&amp;PB3DIV, 1);
_SFR_BIT_CLEAR(&amp;PB3DIV, 1);
// now lock again PB3DIC
_SFR_BIT_CLEAR(&amp;PB3DIV, 11);
// now lock again


_SFR_WRITE(&amp;SYSKEY, 0x0);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									<command class_type='native' title='C Code' disable='1' ccode='/*
  Enter C code below this comment
*/
U4BRG=216;  // setzt uart 4 auf 115200

I2C5BRG=55;  // setzt I2C Nr5 auf 1 Mega' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									<command class_type='native' title='C Code' disable='1' ccode='/*
  Enter C code below this comment SE
*/
_SFR_BIT_SET(&amp;ANSELG, 15);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='native' title='C Code' disable='1' ccode='// Name: C Code, Type: C Code:
/*
  Enter C code below this comment
*/
//Unlock Combination
_SFR_WRITE(&amp;SYSKEY, 0xAA996655);
_SFR_WRITE(&amp;SYSKEY, 0x556699AA);

//Unlock
_SFR_BIT_SET(&amp;PB3DIV, 11);

//_SFR_BIT_SET(&amp;PB3DIV, 1);
_SFR_BIT_CLEAR(&amp;PB3DIV, 1);
// now lock again PB3DIC
_SFR_BIT_CLEAR(&amp;PB3DIV, 11);
// now lock again


_SFR_WRITE(&amp;SYSKEY, 0x0);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									<command class_type='native' title='C Code' disable='1' ccode='//Convert port A bit 0 to input

if (test_bit(WDTPS, 0))	      //Check 
{
	//portb = FCV_VAR1+FCV_ADD; //If so, portb = 2+3=5 (0101 in binary)
}
else
{
	// portb = FCV_VAR1;			//Otherwise portb = 2
}' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									<command class_type='delay' title='Delay' disable='1' ccode='// Name: Delay, Type: Delay: 1 ms
FCI_DELAYBYTE_MS(1);
' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='native' title='C Code' disable='1' ccode='//Convert port A bit 0 to input

if (WDTPS= 0)	      //Check 
{
	//portb = FCV_VAR1+FCV_ADD; //If so, portb = 2+3=5 (0101 in binary)
}
else
{
	// portb = FCV_VAR1;			//Otherwise portb = 2
}' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									<command class_type='native' title='Demo for OSCTUNE' disable='1' ccode='//show  register on display

//_SFR_BIT_SET(&amp;PB3DIV, 4);
FCI_DELAYBYTE_MS(1);

//FCV_REGDISPLAY  = &amp;PB3DIV;	      //Copy to variable

//FCV_REGDISPLAY  = &amp;DEVCFG2;
//FCV_REGDISPLAY  = &amp;DEVCFG1;
//_SFR_BIT_SET(&amp;PB3DIV, 4);

//PB3DIVbits.4 = 0;
//FCV_REGDISPLAY  = PB3DIV;

//ADCCON3bits.3 = 1;

/*
  Enter C code below this comment
*/
//Unlock Combination
_SFR_WRITE(&amp;SYSKEY, 0xAA996655);
_SFR_WRITE(&amp;SYSKEY, 0x556699AA);



//_SFR_BIT_SET(&amp;PB3DIV, 1);
//_SFR_BIT_CLEAR(&amp;PB3DIV, 1);
// now lock again PB3DIC
//_SFR_BIT_CLEAR(&amp;PB3DIV, 11);


_SFR_BIT_SET(&amp;OSCTUN, 3);

FCV_REGDISPLAY  = OSCTUN;
// now lock again
_SFR_WRITE(&amp;SYSKEY, 0x0);



FCD_08221_LCD_SSD1351__ClearDisplay();
FCD_08221_LCD_SSD1351__PrintNumber(FCV_REGDISPLAY, 50, 50, 0, 0);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									<command class_type='native' title='C Code for Divider clock' disable='1' ccode='//show  register on display

//_SFR_BIT_SET(&amp;PB3DIV, 4);
FCI_DELAYBYTE_MS(1);

//FCV_REGDISPLAY  = &amp;PB3DIV;	      //Copy to variable

//FCV_REGDISPLAY  = &amp;DEVCFG2;
//FCV_REGDISPLAY  = &amp;DEVCFG1;
//_SFR_BIT_SET(&amp;PB3DIV, 4);

//PB3DIVbits.4 = 0;
//FCV_REGDISPLAY  = PB3DIV;

//ADCCON3bits.3 = 1;

/*
  Enter C code below this comment
*/
//Unlock Combination
_SFR_WRITE(&amp;SYSKEY, 0xAA996655);
_SFR_WRITE(&amp;SYSKEY, 0x556699AA);



//_SFR_BIT_SET(&amp;PB3DIV, 1);

// now lock again PB3DIC
//_SFR_BIT_CLEAR(&amp;PB3DIV, 11);

//_SFR_BIT_SET(&amp;PB2DIV, 1);
//_SFR_BIT_SET(&amp;PB2DIV, 4);

FCV_REGDISPLAY  = PB2DIV;
// now lock again
_SFR_WRITE(&amp;SYSKEY, 0x0);

//FCV_REGDISPLAY  = U4BRG;
U4BRG=216;
//_SFR_BIT_CLEAR(&amp;U4MODE, 3);   //make it slow
_SFR_BIT_SET(&amp;U4MODE, 3);     //make it fast
//FCV_REGDISPLAY  = U4BRG;

FCD_08221_LCD_SSD1351__ClearDisplay();
FCD_08221_LCD_SSD1351__PrintNumber(FCV_REGDISPLAY, 50, 50, 0, 0);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								</flowline>
							</case>
						</command>
						<command class_type='loop' title='Loop' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' disable='1' ccode='// Name: Call Component Macro, Type: Call Component Macro: LCD_SSD1351::ClearDisplay()
FCD_08221_LCD_SSD1351__ClearDisplay();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='255' />
								</command>
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.y_pos = 10' />
								</command>
								<command class_type='loop' title='Loop' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.line_nr' exp='10' >
									<flowline >
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.y_pos = .y_pos + 10' />
											<exp exp='.display_stg = ToString$ (.line_nr)' />
										</command>
										<command class_type='call' title='Call Component Macro' disable='1' ccode='// Name: Call Component Macro, Type: Call Component Macro: LCD_SSD1351::ClearDisplay()
FCD_08221_LCD_SSD1351__ClearDisplay();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
										<command class_type='call' title='green' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
											<argument exp='.display_stg' />
											<argument exp='50' />
											<argument exp='50' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='2' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Oled' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='1=screen;2show sensor;3filename; 5bargraf;6--;7 infos' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='zero_line' type='s16' description='' isconst='1' isinit='1' usrinit='110' setinit='110' />
						<local name='space' type='u8' description='' isconst='0' isinit='1' usrinit='5' setinit='5' />
						<local name='start' type='u8' description='' isconst='0' isinit='1' usrinit='32' setinit='32' />
						<local name='place' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='ch_display' type='u8' description='Welcher Channel berechnet wird 1-6 oder 7? Bargraph' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='limit' type='u8' description='Wo ist der helle Bereich' isconst='0' isinit='1' usrinit='5' setinit='5' />
						<local name='text_place_x' type='u8' description='' isconst='0' isinit='1' usrinit='70' setinit='70' />
						<local name='x_val' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='text_place_y' type='u8' description='' isconst='0' isinit='1' usrinit='98' setinit='98' />
						<local name='switch_div' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='filter_on' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='comment' title='' comment='Channel1
Fosc/8  //=&gt; /6 can give pixelproblem
Mosi= D3
Miso= D2
Chipselect= D12
Reg select= E3
reset= E2
LCD_rw= E4
LCD_en= E1' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='comment' title='' comment='0DB anzeige  bei 4.00mV Neutrik =&gt; 0.4Audas; =&gt; 84 Segment
Vollauschlag bei 5.00mV Neutrik =&gt; 0.4Audas; =&gt; maximal Segment
wuerde aber bis 10mVolt Neutrik gehen' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='comment' title='' comment='X Werte von 32 bis 127  !' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='comment' title='' comment='https://www.rapidtables.com/web/color/RGB_Color.html' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='' macro='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.init_read' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='comment' title='' comment='Text fuer Display' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='' />
										<exp exp='channel_text[1] = &quot;EMG 1 TR&quot;' />
										<exp exp='channel_text[2] = &quot;EMG 2 MR&quot;' />
										<exp exp='channel_text[3] = &quot;EMG 3 TL&quot;' />
										<exp exp='channel_text[4] = &quot;EMG 4 ML&quot;' />
										<exp exp='channel_text[5] = &quot;EMG 5 SY&quot;' />
										<exp exp='channel_text[6] = &quot;EMG 6 EC&quot;' />
										<exp exp='channel_text[7] = &quot;FORCE SE&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='255' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='rot' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='channel_text[1]' />
										<argument exp='.text_place_x' />
										<argument exp='20' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='0' />
										<argument exp='255' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='green' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='channel_text[2]' />
										<argument exp='.text_place_x' />
										<argument exp='30' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='0' />
										<argument exp='0' />
										<argument exp='255' />
									</command>
									<command class_type='call' title='blue' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='channel_text[3]' />
										<argument exp='.text_place_x' />
										<argument exp='40' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='yellow' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='100' />
										<argument exp='255' />
										<argument exp='50' />
									</command>
									<command class_type='call' title='yellow' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='channel_text[4]' />
										<argument exp='.text_place_x' />
										<argument exp='50' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='orange' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='200' />
										<argument exp='140' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='orange' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='channel_text[5]' />
										<argument exp='.text_place_x' />
										<argument exp='60' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='255' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='channel_text[6]' />
										<argument exp='.text_place_x' />
										<argument exp='70' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='255' />
										<argument exp='255' />
										<argument exp='255' />
									</command>
									<command class_type='call' title='white' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='channel_text[7]' />
										<argument exp='.text_place_x' />
										<argument exp='80' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='255' />
										<argument exp='255' />
										<argument exp='255' />
									</command>
									<command class_type='call' title='white' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='&quot;N&quot;' />
										<argument exp='.text_place_x + 40' />
										<argument exp='90' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='comment' title='' comment='Anzeige fuer FORCE' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='y_valuelimit = max14_16Bit / 100' />
										<exp exp='//y_valuelimit = 50' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='y_value' exp='128' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_valuelimit &gt; y_value' swap='0' >
												<flowline >
													<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_value &gt; 84' swap='0' >
														<flowline >
															<command class_type='call' title='weiss' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																<argument exp='255' />
																<argument exp='255' />
																<argument exp='255' />
															</command>
														</flowline>
														<flowline >
															<command class_type='call' title='grau' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																<argument exp='100' />
																<argument exp='100' />
																<argument exp='100' />
															</command>
														</flowline>
													</command>
												</flowline>
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
														<argument exp='0' />
														<argument exp='0' />
														<argument exp='0' />
													</command>
												</flowline>
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawLine' >
												<argument exp='110' />
												<argument exp='.zero_line-y_value' />
												<argument exp='115' />
												<argument exp='.zero_line-y_value' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawLine' >
												<argument exp='120' />
												<argument exp='.zero_line-y_value' />
												<argument exp='125' />
												<argument exp='.zero_line-y_value' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawLine' >
												<argument exp='126' />
												<argument exp='.zero_line-y_value' />
												<argument exp='130' />
												<argument exp='.zero_line-y_value' />
											</command>
										</flowline>
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='//Force_str = ToString$ (max14_16Bit / 100)' />
										<exp exp='Force_str = ToString$ (max14_16Bit / 22)' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='255' />
										<argument exp='255' />
										<argument exp='255' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='Force_strL = Length$ (Force_str)' />
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Force_strL' >
										<case >
											<flowline />
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='calculation' title='5  leer' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Force_str = &quot;     &quot; + Force_str' />
												</command>
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='calculation' title='4 leer' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Force_str = &quot;    &quot; + Force_str' />
												</command>
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='calculation' title='3 leer' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Force_str = &quot;   &quot; + Force_str' />
												</command>
											</flowline>
										</case>
										<case exp='4' >
											<flowline >
												<command class_type='calculation' title='2 leer' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Force_str = &quot;  &quot; + Force_str' />
												</command>
											</flowline>
										</case>
										<case exp='5' >
											<flowline >
												<command class_type='calculation' title='1 leer' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Force_str = &quot; &quot; + Force_str' />
												</command>
											</flowline>
										</case>
										<case exp='6' >
											<flowline />
										</case>
									</command>
									<command class_type='call' title='white' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='Force_str' />
										<argument exp='.text_place_x' />
										<argument exp='90' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='white' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='channel_text[7]' />
										<argument exp='.text_place_x' />
										<argument exp='80' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='y_valuelimit = max_value_ch2 / 100' />
										<exp exp='//y_valuelimit = 50' />
									</command>
									<command class_type='loop' title='Loop' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='y_value' exp='128' >
										<flowline >
											<command class_type='decision' title='Decision' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_valuelimit &gt; y_value' swap='0' >
												<flowline >
													<command class_type='decision' title='Decision' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_value &gt; 80' swap='0' >
														<flowline >
															<command class_type='call' title='weiss' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																<argument exp='255' />
																<argument exp='255' />
																<argument exp='255' />
															</command>
														</flowline>
														<flowline >
															<command class_type='call' title='grau' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																<argument exp='100' />
																<argument exp='100' />
																<argument exp='100' />
															</command>
														</flowline>
													</command>
												</flowline>
												<flowline >
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
														<argument exp='0' />
														<argument exp='0' />
														<argument exp='0' />
													</command>
												</flowline>
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawLine' >
												<argument exp='50' />
												<argument exp='y_value' />
												<argument exp='55' />
												<argument exp='y_value' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='0' />
										<argument exp='0' />
										<argument exp='255' />
									</command>
									<command class_type='call' title='white' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='filename_gen_display' />
										<argument exp='.text_place_x' />
										<argument exp='100' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='comment' title='' comment='Am Besten mit
Position x=&gt; 34
Position y=&gt; 16
Width y=&gt; 96
Height y=&gt; 96
Number of plotsy =&gt;1
Number of points y=88
Scrolling y =&gt;Yes
Graph styley =&gt;Line
Min Value =&gt; 0
Max Valu =&gt; 88
show border =&gt; yes
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='Initialise' />
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.x_val = 0' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='20' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.x_val = 0' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.x_val' exp='98' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
														<argument exp='.x_val' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
														<argument exp='10' />
														<argument exp='1' />
													</command>
												</flowline>
											</command>
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
										</flowline>
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='comment' title='' comment='Display Mode' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.place = .start' />
										<exp exp='.ch_display = 0' />
										<exp exp='' />
									</command>
									<command class_type='comment' title='' comment='32 ist das erste sichbare Pixel' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.ch_display = .ch_display + 1' />
												<exp exp='' />
												<exp exp='y_valuelimit = (max_value_m_ch[.ch_display] / 320)' />
												<exp exp='' />
												<exp exp='' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='y_value' exp='128' >
												<flowline >
													<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_valuelimit &gt; y_value' swap='0' >
														<flowline >
															<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.ch_display' >
																<case >
																	<flowline />
																</case>
																<case exp='1' >
																	<flowline >
																		<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																		<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_value &gt; .limit' swap='0' >
																			<flowline >
																				<command class_type='call' title='rot' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='255' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='call' title='rot' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='200' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																		</command>
																		<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																	</flowline>
																</case>
																<case exp='2' >
																	<flowline >
																		<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																		<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_value &gt; .limit' swap='0' >
																			<flowline >
																				<command class_type='call' title='green' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='0' />
																					<argument exp='255' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='call' title='green' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='0' />
																					<argument exp='200' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</case>
																<case exp='3' >
																	<flowline >
																		<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																		<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_value &gt; .limit' swap='0' >
																			<flowline >
																				<command class_type='call' title='blue' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='0' />
																					<argument exp='0' />
																					<argument exp='255' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='call' title='blue' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='0' />
																					<argument exp='0' />
																					<argument exp='200' />
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</case>
																<case exp='4' >
																	<flowline >
																		<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																		<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_value &gt; .limit' swap='0' >
																			<flowline >
																				<command class_type='call' title='yellow' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='255' />
																					<argument exp='255' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='call' title='yellow' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='200' />
																					<argument exp='200' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</case>
																<case exp='5' >
																	<flowline >
																		<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																		<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_value &gt; .limit' swap='0' >
																			<flowline >
																				<command class_type='call' title='orange' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='200' />
																					<argument exp='165' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='call' title='orange' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='200' />
																					<argument exp='165' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</case>
																<case exp='6' >
																	<flowline >
																		<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																		<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='y_value &gt; .limit' swap='0' >
																			<flowline >
																				<command class_type='call' title='rot' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='255' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='call' title='rot' textshow='0' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='200' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</case>
																<case exp='7' >
																	<flowline >
																		<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																	</flowline>
																</case>
															</command>
														</flowline>
														<flowline >
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																<argument exp='0' />
																<argument exp='0' />
																<argument exp='0' />
															</command>
														</flowline>
													</command>
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawLine' >
														<argument exp='40' />
														<argument exp='.zero_line-y_value' />
														<argument exp='41' />
														<argument exp='.zero_line-y_value' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Plot' >
														<argument exp='.place +.space' />
														<argument exp='.zero_line-y_value' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Plot' >
														<argument exp='.place +.space+1' />
														<argument exp='.zero_line-y_value' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Plot' >
														<argument exp='.place +.space+2' />
														<argument exp='.zero_line-y_value' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Plot' >
														<argument exp='.place +.space+3' />
														<argument exp='.zero_line-y_value' />
													</command>
												</flowline>
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.place = .place + .space' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='comment' title='' comment='EMG1' textarea='230,27,230,27' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='255' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='white' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='&quot;FILE&quot;' />
										<argument exp='.text_place_x' />
										<argument exp='40' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='white' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='filename_gen_display' />
										<argument exp='.text_place_x' />
										<argument exp='100' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='rtccs_tm' />
										<argument exp='50' />
										<argument exp='50' />
										<argument exp='0' />
										<argument exp='1' />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='comment' title='' comment='Bei schwarzer Taste =&gt; slideshow' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOn' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetDate' >
										<return exp='auto_id_dt' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetTime' >
										<return exp='auto_id_tm' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetBuildNumber' >
										<return exp='auto_id_buildnr' />
									</command>
									<command class_type='call' title='grau' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='255' />
										<argument exp='0' />
										<argument exp='255' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='&quot;VERSION&quot;' />
										<argument exp='40' />
										<argument exp='30' />
										<argument exp='0' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='auto_id_dt' />
										<argument exp='40' />
										<argument exp='40' />
										<argument exp='0' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='auto_id_tm' />
										<argument exp='40' />
										<argument exp='50' />
										<argument exp='0' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='PrintNumber' >
										<argument exp='auto_id_buildnr' />
										<argument exp='40' />
										<argument exp='60' />
										<argument exp='0' />
										<argument exp='1' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
										<return exp='key_pressed' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='key_pressed &gt; 0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
												<return exp='key_pressed' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='5' type='2' />
										</flowline>
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='key_pressed' >
										<case >
											<flowline />
										</case>
										<case exp='1' >
											<flowline />
										</case>
										<case exp='2' >
											<flowline />
										</case>
										<case exp='3' >
											<flowline />
										</case>
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetDateString' >
										<return exp='rtccs_dt' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetTimeString' >
										<return exp='rtccs_tm' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='grau' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='0' />
										<argument exp='255' />
										<argument exp='255' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='&quot;TIME&quot;' />
										<argument exp='40' />
										<argument exp='30' />
										<argument exp='0' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='rtccs_dt' />
										<argument exp='40' />
										<argument exp='40' />
										<argument exp='0' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='rtccs_tm' />
										<argument exp='40' />
										<argument exp='50' />
										<argument exp='0' />
										<argument exp='1' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
										<return exp='key_pressed' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='key_pressed &gt; 0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
												<return exp='key_pressed' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='5' type='2' />
										</flowline>
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='255' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='channel_text[6]' />
										<argument exp='.text_place_x' />
										<argument exp='.text_place_y' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='wait_for_stop_taste = 0' />
										<exp exp='channel_to_display = 6' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.switch_div = 0' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='wait_for_stop_taste = 0' >
										<flowline >
											<command class_type='comment' title='' comment='1' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOn' />
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='' />
												<exp exp='' />
												<exp exp='value_graph_temp_1 = max_value_aktuel_ch[channel_to_display]' />
												<exp exp='' />
												<exp exp='value_graph_temp_2 = (value_graph_temp_1 / 2)' />
												<exp exp='' />
												<exp exp='value_graph = value_graph_temp_2' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.filter_on = 1' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.filter_on = 1' swap='0' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='DSPInput1' macro='AddAsSINTTick' >
														<argument exp='value_graph' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='DSPFilter1' macro='FilterTick' />
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='DSPOutput1' macro='ReadAsSINTTick' >
														<return exp='out' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
														<argument exp='out' />
														<argument exp='channel_to_display-1' />
													</command>
												</flowline>
												<flowline >
													<command class_type='call' title='not filtert signal' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
														<argument exp='value_graph' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Zero Base Line' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
														<argument exp='0' />
														<argument exp='2' />
													</command>
												</flowline>
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOff' />
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.switch_div = .switch_div + 1' />
											</command>
											<command class_type='switch' title='Switch 120uSec 50Hz; 10mSec EKG (10x10hz)' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='channel_to_display' >
												<case >
													<flowline />
												</case>
												<case exp='1' >
													<flowline >
														<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='120' type='0' />
													</flowline>
												</case>
												<case exp='2' >
													<flowline >
														<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='120' type='0' />
													</flowline>
												</case>
												<case exp='3' >
													<flowline >
														<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='120' type='0' />
													</flowline>
												</case>
												<case exp='4' >
													<flowline >
														<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='120' type='0' />
													</flowline>
												</case>
												<case exp='5' >
													<flowline >
														<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='120' type='0' />
													</flowline>
												</case>
												<case exp='6' >
													<flowline >
														<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='10' type='1' />
													</flowline>
												</case>
												<case exp='7' >
													<flowline />
												</case>
											</command>
											<command class_type='decision' title='Decision 10mSec for EKG' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='channel_to_display = 6' swap='0' >
												<flowline >
													<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='10' type='1' />
												</flowline>
												<flowline >
													<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='70' type='0' />
												</flowline>
											</command>
											<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.switch_div' >
												<case >
													<flowline />
												</case>
												<case exp='1' >
													<flowline />
												</case>
												<case exp='2' >
													<flowline />
												</case>
												<case exp='3' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
															<return exp='key_pressed' />
														</command>
														<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='key_pressed' >
															<case >
																<flowline />
															</case>
															<case exp='0' >
																<flowline />
															</case>
															<case exp='1' >
																<flowline >
																	<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
																		<exp exp='wait_for_stop_taste = 1' />
																	</command>
																</flowline>
															</case>
															<case exp='2' >
																<flowline >
																	<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
																	<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																		<exp exp='channel_to_display = channel_to_display + 1' />
																	</command>
																	<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='channel_to_display = 7' swap='0' >
																		<flowline >
																			<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																				<exp exp='channel_to_display = 1' />
																			</command>
																		</flowline>
																		<flowline />
																	</command>
																	<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='channel_to_display' >
																		<case >
																			<flowline />
																		</case>
																		<case exp='1' >
																			<flowline >
																				<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='255' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																				<command class_type='call' title='rot' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
																					<argument exp='channel_text[1]' />
																					<argument exp='.text_place_x' />
																					<argument exp='.text_place_y' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																				<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																			</flowline>
																		</case>
																		<case exp='2' >
																			<flowline >
																				<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='0' />
																					<argument exp='255' />
																					<argument exp='0' />
																				</command>
																				<command class_type='call' title='green' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
																					<argument exp='channel_text[2]' />
																					<argument exp='.text_place_x' />
																					<argument exp='.text_place_y' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																		</case>
																		<case exp='3' >
																			<flowline >
																				<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='0' />
																					<argument exp='0' />
																					<argument exp='255' />
																				</command>
																				<command class_type='call' title='blue' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
																					<argument exp='channel_text[3]' />
																					<argument exp='.text_place_x' />
																					<argument exp='.text_place_y' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																				<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
																			</flowline>
																		</case>
																		<case exp='4' >
																			<flowline >
																				<command class_type='call' title='yellow' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='255' />
																					<argument exp='255' />
																					<argument exp='57' />
																				</command>
																				<command class_type='call' title='yellow' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
																					<argument exp='channel_text[4]' />
																					<argument exp='.text_place_x' />
																					<argument exp='.text_place_y' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																		</case>
																		<case exp='5' >
																			<flowline >
																				<command class_type='call' title='orange' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='200' />
																					<argument exp='140' />
																					<argument exp='0' />
																				</command>
																				<command class_type='call' title='orange' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
																					<argument exp='channel_text[5]' />
																					<argument exp='.text_place_x' />
																					<argument exp='.text_place_y' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																				<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
																			</flowline>
																		</case>
																		<case exp='6' >
																			<flowline >
																				<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='255' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																				<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
																					<argument exp='channel_text[6]' />
																					<argument exp='.text_place_x' />
																					<argument exp='.text_place_y' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																			</flowline>
																		</case>
																		<case exp='7' >
																			<flowline >
																				<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
																					<argument exp='255' />
																					<argument exp='255' />
																					<argument exp='255' />
																				</command>
																				<command class_type='call' title='white' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
																					<argument exp='channel_text[7]' />
																					<argument exp='.text_place_x' />
																					<argument exp='.text_place_y' />
																					<argument exp='0' />
																					<argument exp='0' />
																				</command>
																				<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																					<exp exp='channel_to_display = 1' />
																				</command>
																			</flowline>
																		</case>
																	</command>
																	<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
																	<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
																		<exp exp='sw_delay = sw1_delay' />
																	</command>
																</flowline>
															</case>
															<case exp='3' >
																<flowline />
															</case>
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.switch_div = 0' />
														</command>
													</flowline>
												</case>
											</command>
										</flowline>
									</command>
									<command class_type='delay' title='Delay Need time to relaes the key' cmdcolor='12632064' cmdcolor_sec='16769676' exp='500' type='1' />
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
								</flowline>
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
								</flowline>
							</case>
							<case exp='9' >
								<flowline >
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='decision' title='Blau on Top' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max14_16Bit &gt; 10000' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
											<command class_type='call' title='weiss' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='255' />
												<argument exp='255' />
												<argument exp='255' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='60' />
												<argument exp='100' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='40' />
												<argument exp='100' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='60' />
												<argument exp='100' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='40' />
												<argument exp='100' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
									<command class_type='decision' title='Blau on Top' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max14_16Bit &gt; 8000' swap='0' >
										<flowline >
											<command class_type='call' title='red' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='255' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='100' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='100' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
									<command class_type='decision' title='Blau on Top' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max14_16Bit &gt; 7000' swap='0' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='255' />
												<argument exp='0' />
												<argument exp='255' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='90' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='90' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
									<command class_type='decision' title='Blau on Top' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max14_16Bit &gt; 6000' swap='0' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='255' />
												<argument exp='0' />
												<argument exp='255' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='80' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='80' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
									<command class_type='decision' title='Blau on Top' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max14_16Bit &gt; 5000' swap='0' >
										<flowline >
											<command class_type='call' title='blue' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='255' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='70' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='70' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
									<command class_type='decision' title='Blau on Top' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max14_16Bit &gt; 4000' swap='0' >
										<flowline >
											<command class_type='call' title='blue' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='255' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='60' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='60' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
									<command class_type='decision' title='Blau on Top' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max14_16Bit &gt; 3000' swap='0' >
										<flowline >
											<command class_type='call' title='orange' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='255' />
												<argument exp='255' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='50' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='50' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
									<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max14_16Bit &gt; 2000' swap='0' >
										<flowline >
											<command class_type='call' title='orange' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='255' />
												<argument exp='255' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='40' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='40' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
									<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max14_16Bit &gt; 1000' swap='0' >
										<flowline >
											<command class_type='call' title='green' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='255' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='30' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='30' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
										</flowline>
									</command>
									<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max14_16Bit &gt; 500' swap='0' >
										<flowline >
											<command class_type='call' title='green' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='255' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='20' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOn' />
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='DrawCircle' >
												<argument exp='50' />
												<argument exp='20' />
												<argument exp='5' />
												<argument exp='0' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOff' />
										</flowline>
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Set_IRQ_ADS' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='0=off;1=on' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.init_read' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='INT2' call='irq_DRDY' >
										<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='2' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
											<option value='1' />
											<option value='11' />
											<option value='0' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
										</settings>
									</command>
									<command class_type='interrupt' title='Interrupt' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='IOCC' call='irq_DRDY' >
										<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='-----------pD-------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='-----------pD-------------------------------------------------------------------------------------------------------------------------------------------------------------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>
									<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='TMR3' call='irq_DRDY' >
										<settings timer='1' prescale='4' postscale='-1' rollover='1000' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
											<option value='0' />
											<option value='2' />
											<option value='1000' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
										</settings>
									</command>
								</flowline>
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='17151' cmdcolor_sec='355583' enable='0' name='INT2' >
										<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
											<option value='0' />
											<option value='11' />
											<option value='0' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
										</settings>
									</command>
									<command class_type='interrupt' title='Interrupt' cmdcolor='17151' cmdcolor_sec='355583' enable='0' name='IOCC' >
										<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='-----------pD-------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='-----------pD-------------------------------------------------------------------------------------------------------------------------------------------------------------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>
									<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='17151' cmdcolor_sec='355583' enable='0' name='TMR3' >
										<settings timer='1' prescale='32' postscale='-1' rollover='782' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
											<option value='0' />
											<option value='5' />
											<option value='782' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
											<option value='-1' />
										</settings>
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='pip_on' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Set IRQ ADS Off' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
							<argument exp='0' />
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='TMR8' call='int_sound' >
							<settings timer='1' prescale='1' postscale='-1' rollover='65536' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='65536' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='100' >
							<flowline >
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='sw_delay' type='0' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='PIP' macro='TurnOn' />
								<command class_type='call' title='Call Component Macro' disable='1' ccode='// Name: Call Component Macro, Type: Call Component Macro: led11::TurnOn()
FCD_0e741_led11__TurnOn();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='led12_red' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='sw_delay' type='0' />
								<command class_type='call' title='Call Component Macro' disable='1' ccode='// Name: Call Component Macro, Type: Call Component Macro: led11::TurnOn()
FCD_0e741_led11__TurnOn();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='led12_red' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='PIP' macro='TurnOff' />
							</flowline>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='17151' cmdcolor_sec='355583' enable='0' name='TMR8' >
							<settings timer='1' prescale='1' postscale='-1' rollover='65536' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='65536' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='call' title='Set IRQ ADS Off' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='PIP' macro='TurnOff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='record' description='startet aufnahme and write a file ' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='idx_local' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='filename_local' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='filestring_local' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='3' />
						</local>
						<local name='idx_buffer' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='idx_local_FB' type='u16' description='for fill the buffer' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='rec_led_counter' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='backlight_counter' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='sector_counter' type='u32' description='zaehlt die geschriebenen sectoren' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='retval' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='retloop' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='statebyte' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='m4_aufname' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='buf2write12' type='s16' description='' isconst='1' isinit='1' usrinit='2' setinit='2' />
						<local name='buf2write34' type='s16' description='' isconst='1' isinit='1' usrinit='3' setinit='3' />
						<local name='index_count' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='fileSize_byte' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='http://www.matrixtsl.com/mmforums/viewtopic.php?f=72&amp;t=18741&amp;hilit=fat+time' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='comment' title='' comment='Einstellen der Fat Time aufnahme Zeit' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='comment' title='' comment='122mSek Extrem Pro Sandisk Brack 605557  Fr.15.50
136mSek Kingston Canvas react Brack 732663 Fr.13.45
154mSek Evo Basic Brack 605487 Fr 10.50
290mSek PNY Brack 297463 langsam!! Fr 20.75
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;record-Macro\r\n&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
						<command class_type='call' title='Started slave mit &quot;rec\r\n&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;rec\r\n&quot;' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='master = 1' swap='0' >
							<flowline >
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='400' type='1' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='master = 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='display_off_counter = 0' />
						</command>
						<command class_type='comment' title='' comment='wird später wieder eingeschalten
feb 2019 disabled icon' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Set IRQ ADS Off' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
							<argument exp='0' />
						</command>
						<command class_type='comment' title='' comment='EMG015_2017_12_08__14_23_42
E20171208142342
08142342' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='shows the time' cmdcolor='1879295' cmdcolor_sec='5751039' macro='rtcc' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
						<command class_type='call' title='show filename' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
							<argument exp='3' />
						</command>
						<command class_type='calculation' title='Assign filename and data' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='' />
							<exp exp='' />
							<exp exp='.filename_local = filename_gen' />
						</command>
						<command class_type='calculation' title='Initialise Return Value' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.rec_led_counter = 0' />
							<exp exp='.backlight_counter = 0' />
							<exp exp='.sector_counter = 0' />
							<exp exp='.retval = 1' />
							<exp exp='.retloop = 0' />
						</command>
						<command class_type='loop' title='Wait for card to start up' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='.retval = 0 OR .retloop &gt; 20' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOn' />
								<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: retval=FAT1::Initialise()
FCV_RETVAL = FCD_07fa1_FAT1__Initialise();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='Initialise' >
									<return exp='.retval' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOff' />
								<command class_type='comment' title='' comment='bufwrite??' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.idx_local = 0' />
									<exp exp='.retloop = .retloop + 1' />
									<exp exp='buffer_sd_name = bufferA' />
								</command>
								<command class_type='delay' title='Delay neu Aug2019 2ms statt200ms' cmdcolor='12632064' cmdcolor_sec='16769676' exp='2' type='1' />
								<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='sw_delay = 5000' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.retval = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='SetTimeAndDate' >
									<argument exp='file_fat_time' />
									<argument exp='file_fat_date' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOn' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='SetFileIndex' >
									<argument exp='1' />
								</command>
								<command class_type='calculation' title='Calculation Wave haeder' textshow='0' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='wav_header[0] = 0x52 //R' />
									<exp exp='wav_header[1] = 0x49 //I' />
									<exp exp='wav_header[2] = 0x46 //F' />
									<exp exp='wav_header[3] = 0x46 //F' />
									<exp exp='' />
									<exp exp='wav_header[4] = (.fileSize_byte) &amp; 0x000000FF //Update file size' />
									<exp exp='wav_header[5] = (.fileSize_byte &gt;&gt; 8) &amp; 0x000000FF' />
									<exp exp='wav_header[6] = (.fileSize_byte &gt;&gt; 16) &amp; 0x000000FF' />
									<exp exp='wav_header[7] = (.fileSize_byte &gt;&gt; 24) &amp; 0x000000FF' />
									<exp exp='' />
									<exp exp='wav_header[8] = 0x57 //W' />
									<exp exp='wav_header[9] = 0x41 //A' />
									<exp exp='wav_header[10] = 0x56 //V' />
									<exp exp='wav_header[11] = 0x45 //E' />
									<exp exp='' />
									<exp exp='wav_header[12] = 0x66 //f' />
									<exp exp='wav_header[13] = 0x6d //m' />
									<exp exp='wav_header[14] = 0x74 //t' />
									<exp exp='wav_header[15] = 0x20 //(leer Zeichen)' />
									<exp exp='wav_header[16] = 0x10 //length fmt (16Byte)' />
									<exp exp='wav_header[17] = 0x00' />
									<exp exp='wav_header[18] = 0x00' />
									<exp exp='wav_header[19] = 0x00' />
									<exp exp='' />
									<exp exp='wav_header[20] = 0x01 //Format(PCM)' />
									<exp exp='wav_header[21] = 0x00 //Format(.)' />
									<exp exp='wav_header[22] = 0x06 //NumChannels(6)' />
									<exp exp='wav_header[23] = 0x00 //NumChannels(.)' />
									<exp exp='wav_header[24] = 0xd0 //Samplerate(2000)' />
									<exp exp='wav_header[25] = 0x07 //Samplerate(...)' />
									<exp exp='wav_header[26] = 0x00 //Samplerate(..)' />
									<exp exp='wav_header[27] = 0x00 //Samplerate(.)' />
									<exp exp='' />
									<exp exp='wav_header[28] = 0x40 //Byte per second (8000)' />
									<exp exp='wav_header[29] = 0x1F' />
									<exp exp='wav_header[30] = 0x00' />
									<exp exp='wav_header[31] = 0x00 //' />
									<exp exp='' />
									<exp exp='wav_header[32] = 0x04 //Block Align 4' />
									<exp exp='wav_header[33] = 0x00 //Block Align (.)' />
									<exp exp='wav_header[34] = 0x10 //Bites per sample (16)' />
									<exp exp='wav_header[35] = 0x00 //Bites per sample (.)' />
									<exp exp='' />
									<exp exp='wav_header[36] = 0x64 //d' />
									<exp exp='wav_header[37] = 0x61 //a' />
									<exp exp='wav_header[38] = 0x74 //t' />
									<exp exp='wav_header[39] = 0x61 //a' />
									<exp exp='' />
									<exp exp='.fileSize_byte = .fileSize_byte - 44' />
									<exp exp='wav_header[40] = (.fileSize_byte) &amp; 0x000000FF //data size' />
									<exp exp='wav_header[41] = (.fileSize_byte &gt;&gt; 8) &amp; 0x000000FF' />
									<exp exp='wav_header[42] = (.fileSize_byte &gt;&gt; 16) &amp; 0x000000FF' />
									<exp exp='wav_header[43] = (.fileSize_byte &gt;&gt; 24) &amp; 0x000000FF' />
									<exp exp='' />
									<exp exp='wav_header[44] = 0x00' />
									<exp exp='wav_header[45] = 0x00' />
									<exp exp='wav_header[46] = 0x00' />
									<exp exp='wav_header[47] = 0x00' />
									<exp exp='wav_header[48] = 0x00' />
									<exp exp='wav_header[49] = 0x00' />
									<exp exp='' />
									<exp exp='wav_header[50] = 0x00' />
									<exp exp='wav_header[51] = 0x00' />
									<exp exp='wav_header[52] = 0x00' />
									<exp exp='wav_header[53] = 0x00' />
									<exp exp='wav_header[54] = 0x00' />
									<exp exp='wav_header[55] = 0x00' />
									<exp exp='wav_header[56] = 0x00' />
									<exp exp='wav_header[57] = 0x00' />
									<exp exp='wav_header[58] = 0x00' />
									<exp exp='wav_header[59] = 0x00' />
								</command>
								<command class_type='call' title='Create File' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='CreateFile' >
									<argument exp='.filename_local' />
								</command>
								<command class_type='call' title='Open the file' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='OpenFile' >
									<argument exp='.filename_local' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='&quot;FAT OK \r\n&quot;' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='bufready = 0' />
									<exp exp='//.idx_buffer = 0' />
									<exp exp='.idx_local_FB = 0' />
									<exp exp='.idx_local = 0' />
									<exp exp='' />
									<exp exp='index1_sample = 0' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.index_count' exp='512' >
									<flowline >
										<command class_type='call' title='Call Component Macro' disable='1' ccode='// Call Component Macro
// Call Component Macro: FAT1::WriteByteToBuffer(0, 65)
FCD_07fa1_FAT1__WriteByteToBuffer(0, 65);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='WriteByteToBuffer' >
											<argument exp='.index_count' />
											<argument exp='wav_header[.index_count]' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Set IRQ ADS On' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
									<argument exp='1' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='statebyte = m4_record' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='bufready = 1' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='here to do some thing to chose to buffer to write' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='bufready = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//.idx_buffer = 0' />
												</command>
												<command class_type='comment' title='' comment='here to do some thing to chose to buffer to write' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='.idx_local_FB = 0' />
													<exp exp='.idx_local = 0' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='buffersize' >
													<flowline >
														<command class_type='comment' title='' comment='Messdaten' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
														<command class_type='comment' title='' comment='der buffer mit buffersname wird gefüllt, der andere auf die SD geschrieben' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
														<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='buffer_sd_name' >
															<case >
																<flowline />
															</case>
															<case exp='bufferA' >
																<flowline >
																	<command class_type='comment' title='' comment='schreibe buffer1+2' textarea='69,-6,69,-6' cmdcolor='10944511' cmdcolor_sec='11465458' />
																	<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: FAT1::WriteByteToBuffer(.idx_local, buf1[.idx_local])
FCD_07fa1_FAT1__WriteByteToBuffer(FCL_IDX_LOCAL, FCV_BUF1[FCL_IDX_LOCAL]);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='WriteByteToBuffer' >
																		<argument exp='.idx_local_FB' />
																		<argument exp='buffer_sd[bufferB][.idx_local]' />
																	</command>
																	<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																		<exp exp='.idx_local_FB = .idx_local_FB + 1' />
																	</command>
																</flowline>
															</case>
															<case exp='bufferB' >
																<flowline >
																	<command class_type='comment' title='' comment='schreibe buffer3+4' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																	<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: FAT1::WriteByteToBuffer(.idx_local, buf1[.idx_local])
FCD_07fa1_FAT1__WriteByteToBuffer(FCL_IDX_LOCAL, FCV_BUF1[FCL_IDX_LOCAL]);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='WriteByteToBuffer' >
																		<argument exp='.idx_local_FB' />
																		<argument exp='buffer_sd[bufferA][.idx_local]' />
																	</command>
																	<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																		<exp exp='.idx_local_FB = .idx_local_FB + 1' />
																	</command>
																</flowline>
															</case>
														</command>
														<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.idx_local_FB' >
															<case >
																<flowline />
															</case>
															<case exp='512' >
																<flowline >
																	<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																		<exp exp='.idx_local_FB = 0' />
																		<exp exp='.sector_counter = .sector_counter + 1' />
																	</command>
																	<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led12_red' macro='TurnOn' />
																	<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='WriteFileSector' />
																	<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led12_red' macro='TurnOff' />
																	<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.sector_counter = 64' swap='0' >
																		<flowline >
																			<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOn' />
																			<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																				<exp exp='.idx_local_FB = 0' />
																				<exp exp='.sector_counter = 0' />
																			</command>
																			<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOff' />
																		</flowline>
																		<flowline />
																	</command>
																	<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led12_red' macro='TurnOn' />
																	<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='MoveToNextFileSector' >
																		<argument exp='1' />
																	</command>
																	<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led12_red' macro='TurnOff' />
																</flowline>
															</case>
															<case exp='600' >
																<flowline />
															</case>
															<case exp='700' >
																<flowline />
															</case>
															<case exp='800' >
																<flowline />
															</case>
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.idx_local = .idx_local + 1' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOn' />
										<command class_type='call' title='Drucksensor' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
											<argument exp='2' />
										</command>
										<command class_type='call' title='Balken aber nicht bei record' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
											<argument exp='5' />
										</command>
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOff' />
										<command class_type='comment' title='' comment='Akku messen nicht am  2019 08' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
										<command class_type='decision' title='Decision' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='akku_value * 0.06 &lt; 35' swap='0' >
											<flowline >
												<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
												<command class_type='call' title='Set IRQ ADS Off' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
													<argument exp='0' />
												</command>
												<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='statebyte = m0_standby' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='Display led ein/aus' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='mpu9250' >
											<argument exp='2' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='display_off_counter = display_off_counter + 1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='display_off_counter &gt; display_off_counter_limit' swap='0' >
											<flowline >
												<command class_type='call' title='Display brauch ca 10mA (Enable low turned it off)' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_en' macro='TurnOff' />
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='update page wlan ' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='esp_wlan' >
											<argument exp='4' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
											<return exp='key_pressed' />
										</command>
										<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='key_pressed' >
											<case >
												<flowline />
											</case>
											<case exp='0' >
												<flowline />
											</case>
											<case exp='1' >
												<flowline >
													<command class_type='comment' title='' comment='Stop' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
													<command class_type='comment' title='' comment='Schreibt den Buffer noch nicht fertig 2019 08' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
													<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='sw_delay = sw1_delay' />
													</command>
													<command class_type='call' title='Set IRQ ADS Off' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
														<argument exp='0' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='statebyte = m2_display' />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
													<command class_type='call' title='Display brauch ca 10mA (Enable low turned it off)' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_en' macro='TurnOn' />
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='display_off_counter = 0' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_status_ext' macro='TurnOff' />
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
														<argument exp='&quot;stop\r\n&quot;' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='500' type='1' />
													<command class_type='call' title='Stopt slave' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
														<argument exp='&quot;stop&quot;' />
													</command>
												</flowline>
											</case>
											<case exp='2' >
												<flowline >
													<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='sw_delay = sw1_delay' />
													</command>
													<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='statebyte = m4_record' />
													</command>
													<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
													<command class_type='call' title='Display brauch ca 10mA (Enable low turned it off)' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_en' macro='TurnOn' />
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='display_off_counter = 0' />
													</command>
												</flowline>
											</case>
											<case exp='3' >
												<flowline />
											</case>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='card not ok' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='sw_delay = 3000' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='5' >
									<flowline >
										<command class_type='comment' title='' comment='pip' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
										<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='500' type='1' />
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='statebyte = m2_display' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='mit dem Macro timeread wird ein filename erstellt' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
					</flowline>
				</macro>
				<macro >
					<flowline name='display' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='count_displaysecond' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='value_graph' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='value_graph_temp_1' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='value_graph_temp_2' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;display-Macro\r\n&quot;' />
						</command>
						<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='sw_delay = 5000' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
						<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='500' type='1' />
						<command class_type='call' title='here is the best time to start the ads' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ads99' >
							<argument exp='4' />
						</command>
						<command class_type='call' title='Set IRQ ADS On' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
						<command class_type='call' title='shows the time' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='rtcc' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;display-Macro\r\n&quot;' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.count_displaysecond = 0' />
						</command>
						<command class_type='comment' title='' comment='nur fuer test ausgeschalten' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='DSPSystem1' macro='Initialise' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='wait_for_stop_taste = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='statebyte = m2_display' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.count_displaysecond = .count_displaysecond + 1' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.count_displaysecond' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline />
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
												<argument exp='2' />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='call' title='Loop Version' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
												<argument exp='5' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline />
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='//.value_graph = max_value_aktuel_ch[6] // 320' />
												<exp exp='' />
												<exp exp='.value_graph_temp_1 = max_value_aktuel_ch[6]' />
												<exp exp='' />
												<exp exp='.value_graph_temp_2 = (.value_graph_temp_1 / 2)' />
												<exp exp='' />
												<exp exp='.value_graph = .value_graph_temp_2' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
											</command>
											<command class_type='comment' title='' comment='Display hat keine Zeitproblem, muss aber nicht immer refresh machen' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
												<argument exp='.value_graph' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='pot_color_cap1' macro='GetByte' >
												<return exp='in' />
											</command>
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='//.value_graph = max_value_aktuel_ch[6] // 320' />
												<exp exp='' />
												<exp exp='.value_graph_temp_1 = max_value_aktuel_ch[6]' />
												<exp exp='' />
												<exp exp='.value_graph_temp_2 = (.value_graph_temp_1 / 2)' />
												<exp exp='' />
												<exp exp='.value_graph = .value_graph_temp_2' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
											</command>
											<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.value_graph = -5000' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
												<argument exp='.value_graph' />
												<argument exp='0' />
											</command>
											<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.value_graph = 0' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
												<argument exp='.value_graph' />
												<argument exp='1' />
											</command>
											<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.value_graph = 5000' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
												<argument exp='.value_graph' />
												<argument exp='2' />
											</command>
											<command class_type='decision' title='Decision' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.value_graph_temp_2 &gt; 1' swap='0' >
												<flowline >
													<command class_type='decision' title='Decision' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.value_graph_temp_2 &lt; 90' swap='0' >
														<flowline >
															<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
																<argument exp='.value_graph_temp_2' />
																<argument exp='0' />
															</command>
														</flowline>
														<flowline >
															<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
																<argument exp='90' />
																<argument exp='0' />
															</command>
														</flowline>
													</command>
												</flowline>
												<flowline >
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='AddPoint' >
														<argument exp='1' />
														<argument exp='0' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline />
									</case>
									<case exp='8' >
										<flowline />
									</case>
									<case exp='9' >
										<flowline />
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.count_displaysecond = 0' />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='decision' title='nur zur kontrolle' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.count_displaysecond &gt; 20' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.count_displaysecond = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Delay von 10mSec ist refresh 100mSec' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='10' type='1' />
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
									<return exp='key_pressed' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='key_pressed' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='comment' title='' comment='Stoptaste' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='start slide show' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
												<argument exp='7' />
											</command>
											<command class_type='call' title='set the screen' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
												<argument exp='1' />
											</command>
											<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='sw_delay = sw1_delay' />
											</command>
											<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='statebyte = m2_display' />
											</command>
											<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
											<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
											<command class_type='comment' title='' comment='eher nicht machen 2019 08' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='Init ADS1299' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ads99' >
												<argument exp='1' />
											</command>
											<command class_type='call' title='Init ADS1299' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ads99' >
												<argument exp='4' />
											</command>
											<command class_type='call' title='Set IRQ ADS On' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
												<argument exp='1' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='sw_delay = sw1_delay' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='statebyte = m4_record' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;record\r\n&quot;' />
											</command>
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_status_ext' macro='TurnOn' />
										</flowline>
									</case>
									<case exp='3' >
										<flowline />
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='irq_wlan_off' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='irq_DRDY' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='It&apos;s working..dont need a pullup=&gt;  read the state for both side' cmdcolor='1879295' cmdcolor_sec='5751039' component='DRDY_ADS1' macro='ReadState' >
							<return exp='ret_data_byte' />
						</command>
						<command class_type='input' title='Input' cmdcolor='4664832' cmdcolor_sec='4470784' mode='1' port='1048578' mask='8' exp='ret_data_byte1' />
						<command class_type='decision' title=' IRQ on both side =&gt; test if a low on IRQ =&gt; the it&apos;s one' cmdcolor='12615680' cmdcolor_sec='15376912' exp='ret_data_byte1 = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOn' />
								<command class_type='call' title='get 2Khz sample  data (EMG) from ADS' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ads99' >
									<argument exp='2' />
								</command>
								<command class_type='call' title='get  and organize lower sample data' cmdcolor='1879295' cmdcolor_sec='5751039' macro='scaler' >
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOff' />
							</flowline>
							<flowline >
								<command class_type='comment' title='' comment='dont&apos;t care' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='standby' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;stanby-Macro\r\n&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
						<command class_type='call' title='Set IRQ ADS Off' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
						<command class_type='native' title='C Code' disable='1' ccode='/*
  Enter C code below this comment
*/
Sleep();' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Setup_Port' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='C Code Hardware Setup 200Mega' disable='1' ccode='/*
  Enter C code below this comment
*/

U1BRG=216;  // setzt uart 1 auf 115200

U4BRG=216;  // setzt uart 4 auf 115200

I2C5BRG=100;  // setzt I2C Nr5 auf 1 Mega' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='native' title='C Code Hardware Setup 100Mega' disable='1' ccode='/*
  Enter C code below this comment
*/

U1BRG=108;  // setzt uart 1 auf 115200

U4BRG=108;  // setzt uart 4 auf 115200

I2C5BRG=50;  // setzt I2C Nr5 auf 1 Mega' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
					</flowline>
				</macro>
				<macro >
					<flowline name='init' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='1=Pin Port;2component;3component; 4macros' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='retval' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='retloop' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idx_local' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='USB einschalten' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.init_read' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='comment' title='' comment='Set Pin initial' textarea='112,12,112,12' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Display brauch ca 10mA (Enable low turned it off)' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_en' macro='TurnOn' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_rw' macro='TurnOff' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Initialise' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetDisplayOrientation' >
										<argument exp='3' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='0' />
										<argument exp='255' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
										<argument exp='1' />
									</command>
									<command class_type='call' title='rot' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='&quot;EMG-EKG 2CH&quot;' />
										<argument exp='35' />
										<argument exp='40' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol_rts' macro='TurnOn' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RESET_ADS1' macro='TurnOn' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RESET_42' macro='TurnOn' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RESET_42' macro='TurnOff' />
									<command class_type='comment' title='' comment='When PWDN is pulled low, all on-chip circuitry is powered down.' textarea='36,11,36,11' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='PWDN_ADS1' macro='TurnOn' />
									<command class_type='call' title='turn off means wlan off' cmdcolor='1879295' cmdcolor_sec='5751039' component='pwdn_esp1' macro='TurnOff' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RESET_ESP1' macro='TurnOff' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='START_ADS1' macro='TurnOff' />
									<command class_type='comment' title='' comment='no probmlem here....just pin&apos;s' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Led' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
									<command class_type='call' title='Led' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
									<command class_type='call' title='Led' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
									<command class_type='call' title='Led' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOff' />
									<command class_type='call' title='Led' cmdcolor='1879295' cmdcolor_sec='5751039' component='led12_red' macro='TurnOff' />
									<command class_type='call' title='Led' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOff' />
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='comment' title='' comment='Hardware init' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='run normal115200Bd(8.6uSec), max921KBd achtung x2 rechnen' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='Initialise' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_RN42' macro='Initialise' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='I2C_Intern1' macro='Initialise' />
									<command class_type='call' title='nur die SPI schnittstelle' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Init' >
										<return exp='ret_cal' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='Initialise' />
									<command class_type='comment' title='' comment='show blue for hardware ok' textarea='36,2,36,2' cmdcolor='10944511' cmdcolor_sec='11465458' />
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='comment' title='' comment='Component   init' textarea='133,31,133,31' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='comment' title='' comment='hier auch fat oder karte testen' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;init-component-Macro\r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;try rtcc =&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='Initialise' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot; ok \r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;try MPU =&quot;' />
									</command>
									<command class_type='call' title='AD0 ist VCC' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='Initialise' >
										<return exp='init_ret' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='GraphCreator1' macro='Initialise' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='SetForegroundColour' >
										<argument exp='255' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='rot' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
										<argument exp='&quot;MICRO-SD CARD&quot;' />
										<argument exp='35' />
										<argument exp='20' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot; ok \r\n&quot;' />
									</command>
									<command class_type='comment' title='' comment='show red for component ok' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;red   =&gt; component ok \r\n&quot;' />
									</command>
									<command class_type='calculation' title='Initialise Return Value' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='//.rec_led_counter = 0' />
										<exp exp='//.backlight_counter = 0' />
										<exp exp='//.sector_counter = 0' />
										<exp exp='.retval = 1' />
										<exp exp='.retloop = 0' />
									</command>
									<command class_type='comment' title='' comment='muss vor jeder aufnahme gemacht werden wegen Karte rausnehmen' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='loop' title='Wait for card to start up' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='.retval = 0 OR .retloop &gt; 6' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOn' />
											<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: retval=FAT1::Initialise()
FCV_RETVAL = FCD_07fa1_FAT1__Initialise();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='Initialise' >
												<return exp='.retval' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOff' />
											<command class_type='comment' title='' comment='bufwrite??' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.idx_local = 0' />
												<exp exp='.retloop = .retloop + 1' />
												<exp exp='buffer_sd_name = bufferA' />
											</command>
											<command class_type='delay' title='Delay neu Aug2019 2ms statt200ms' cmdcolor='12632064' cmdcolor_sec='16769676' exp='2' type='1' />
											<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='sw_delay = 5000' />
											</command>
											<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
										</flowline>
									</command>
									<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.retval = 0' swap='0' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
										</flowline>
										<flowline >
											<command class_type='call' title='rot' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
												<argument exp='&quot;MICRO-SD CARD&quot;' />
												<argument exp='36' />
												<argument exp='20' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='loop' title='Wait for card to start up' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='.retval = 0 OR .retloop &gt; 20' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOn' />
													<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: retval=FAT1::Initialise()
FCV_RETVAL = FCD_07fa1_FAT1__Initialise();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='Initialise' >
														<return exp='.retval' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOff' />
													<command class_type='comment' title='' comment='bufwrite??' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='.idx_local = 0' />
														<exp exp='.retloop = .retloop + 1' />
														<exp exp='buffer_sd_name = bufferA' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='20' type='1' />
													<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='sw_delay = 5000' />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
												</flowline>
											</command>
											<command class_type='decision' title='retval neu Aug2019 mit bedingung wo geht' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.retval = 0' swap='0' >
												<flowline >
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
												</flowline>
												<flowline >
													<command class_type='call' title='rot' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='Print' >
														<argument exp='&quot;INSERT MICRO-SD CARD&quot;' />
														<argument exp='36' />
														<argument exp='30' />
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='5' type='2' />
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_SSD1351' macro='ClearDisplay' />
												</flowline>
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='comment' title='' comment='Macros (Erni) init' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Init ADS1299' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ads99' >
										<argument exp='1' />
									</command>
									<command class_type='call' title='Init ADS1299' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ads99' >
										<argument exp='5' />
									</command>
									<command class_type='call' title='Init ADS1299' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ads99' >
										<argument exp='3' />
									</command>
									<command class_type='call' title=' init Max1415' cmdcolor='1879295' cmdcolor_sec='5751039' macro='max14' >
										<argument exp='1' />
									</command>
									<command class_type='comment' title='' comment='eventeull nur für settings' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='interrupt' title='Interrupt need MIP32. do not turn off this Int(all turn off?)' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='RXINT3' call='int_deb' >
										<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' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='Config_offset[0] = 0' />
										<exp exp='Config_offset[1] = -2000' />
										<exp exp='Config_offset[2] = 0' />
										<exp exp='Config_offset[3] = 0' />
										<exp exp='Config_offset[4] = 0' />
										<exp exp='Config_offset[5] = 0' />
										<exp exp='Config_offset[6] = 0' />
									</command>
									<command class_type='call' title='Led3 blue on' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOn' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;green  =&gt; Macros (Erni) ok \r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;   =&gt; macros ok \r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;version = \r\n&quot;' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetDate' >
										<return exp='auto_id_dt' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetTime' >
										<return exp='auto_id_tm' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetBuildNumber' >
										<return exp='auto_id_buildnr' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='auto_id_dt' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='auto_id_tm' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;start up \r\n&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='comment' title='' comment='Memory locations 0x1FC54020 and 0x1FC54024 contain a unique device serial number (see Section 34.0 “Special Features”).

NR1.
DEVSN0 = ec8744b8
DEVSN1 = efeb5410

NR2
DEVSN0 = ec872e39
DEVSN1 = 01b45410

NR3
DEVSN0 = ec87462d
DEVSN1 = 4a3d5410

Nr4
DEVSN0 = ec874635
DEVSN1 = 96d85410

Nr5
DEVSN0 = ec874630
DEVSN1 = b1c95410


' textarea='36,36,36,36' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='native' title='C Code Read PIC32 Device ID' disable='1' ccode='/*
  Enter C code below this comment
*/

Logfile_Recorder_id=Memory locations 0x1FC54020 and 0x1FC54024' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_RN42' macro='SendNumber' >
										<argument exp='Logfile_Recorder_id' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='rtcc' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='1=init; 2=read_time; 3set time;4=read_Ram ; 5 set Ram; 6 set ver' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Byte1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Byte2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Byte3' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='tkhour' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='tkmin' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='tksec' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='tkdate' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='tkmonth' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='tkyear' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
						<command class_type='switch' title='1=init; 2=read_time; 3set time;4=read_Ram ; 5 set Ram; 6 setv7se' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.init_read' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetDateString' >
										<return exp='rtccs_dt' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetMonth' >
										<return exp='read_rtcc' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetYear' >
										<return exp='rtcc_year' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetTimeString' >
										<return exp='rtccs_tm' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='rtccs_tm' />
									</command>
									<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;            &quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='8454143' cmdAuto_color='1' cmdcustom_color='1' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetDateString' >
										<return exp='rtccs_dt' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='rtccs_dt' />
									</command>
									<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;            &quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='8454143' cmdAuto_color='1' cmdcustom_color='1' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='filename_gen[0] = rtccs_dt[0]' />
										<exp exp='filename_gen[1] = rtccs_dt[1]' />
										<exp exp='' />
										<exp exp='filename_gen[2] = rtccs_tm[0]' />
										<exp exp='filename_gen[3] = rtccs_tm[1]' />
										<exp exp='' />
										<exp exp='filename_gen[4] = rtccs_tm[3]' />
										<exp exp='filename_gen[5] = rtccs_tm[4]' />
										<exp exp='' />
										<exp exp='filename_gen[6] = rtccs_tm[6]' />
										<exp exp='filename_gen[7] = rtccs_tm[7]' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='filename_gen_display = Left$ (filename_gen,8)' />
										<exp exp='//filename_gen = filename_gen + &quot;.raw&quot;' />
										<exp exp='' />
										<exp exp='//filename_gen[8] = &quot;.&quot;' />
										<exp exp='//filename_gen[9] = &quot;r&quot;' />
										<exp exp='//filename_gen[10] = &quot;a&quot;' />
										<exp exp='//filename_gen[11] = &quot;w&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='8454143' cmdAuto_color='1' cmdcustom_color='1' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='call' title='' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='filename_gen' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='8454143' cmdAuto_color='1' cmdcustom_color='1' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='calculation' title='Calculation and Filename' textshow='0' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.sl_byte = .tksec AND 0x0f' />
										<exp exp='.sh_bite = .tksec &gt;&gt; 4' />
										<exp exp='.sh_bite = .sh_bite AND 0x07' />
										<exp exp='.tksec_str[1] = .sl_byte + 48' />
										<exp exp='.tksec_str[0] = .sh_bite + 48' />
										<exp exp='' />
										<exp exp='.sl_byte = .tkmin AND 0x0f' />
										<exp exp='.sh_bite = .tkmin &gt;&gt; 4' />
										<exp exp='.tkmin_str[1] = .sl_byte + 48' />
										<exp exp='.tkmin_str[0] = .sh_bite + 48' />
										<exp exp='' />
										<exp exp='.sl_byte = .tkhour AND 0x0f' />
										<exp exp='.sh_bite = .tkhour &gt;&gt; 4' />
										<exp exp='.tkhour_str[1] = .sl_byte + 48' />
										<exp exp='.tkhour_str[0] = .sh_bite + 48' />
										<exp exp='' />
										<exp exp='.sl_byte = .tkdate AND 0x0f' />
										<exp exp='.sh_bite = .tkdate &gt;&gt; 4' />
										<exp exp='.tkdate_str[1] = .sl_byte + 48' />
										<exp exp='.tkdate_str[0] = .sh_bite + 48' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='.sl_byte = .tkmonth AND 0x0f' />
										<exp exp='.sh_bite = .tkmonth &gt;&gt; 4' />
										<exp exp='.tkmonth_str[1] = .sl_byte + 48' />
										<exp exp='.tkmonth_str[0] = .sh_bite + 48' />
										<exp exp='' />
										<exp exp='.sl_byte = .tkyear AND 0x0f' />
										<exp exp='.sh_bite = .tkyear &gt;&gt; 4' />
										<exp exp='.tkyear_str[1] = .sl_byte + 48' />
										<exp exp='.tkyear_str[0] = .sh_bite + 48' />
										<exp exp='' />
										<exp exp='filename_gen = .tkdate_str + .tkhour_str + .tkmin_str + .tksec_str + &quot;.wav&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetYear' >
										<return exp='.tkyear' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetMonth' >
										<return exp='.tkmonth' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetDate' >
										<return exp='.tkdate' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetHours' >
										<return exp='.tkhour' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetMins' >
										<return exp='.tkmin' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetSecs' >
										<return exp='.tksec' />
										<argument exp='0' />
									</command>
									<command class_type='calculation' title='Calculation for FAT Time' textshow='0' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='' />
										<exp exp='//Time' />
										<exp exp='' />
										<exp exp='.Byte1 = (((.tkhour &gt;&gt; 4) * 10) + ((.tkhour AND 0x0f)))' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='.Byte2 = (((.tkmin &gt;&gt; 4) * 10) + ((.tkmin AND 0x0f)))' />
										<exp exp='' />
										<exp exp='.Byte3 = (((.tksec &gt;&gt; 4) * 10) + ((.tksec AND 0x0f)))' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='file_fat_time = (.Byte3 / 2) + (.Byte2 * 32) + (.Byte1 * 2048)' />
										<exp exp='' />
										<exp exp='//Date' />
										<exp exp='.Byte1 = (((.tkdate &gt;&gt; 4) * 10) + ((.tkdate AND 0x0f)))' />
										<exp exp='.Byte2 = (((.tkmonth &gt;&gt; 4) * 10) + ((.tkmonth AND 0x0f)))' />
										<exp exp='//.Byte3 = ((((.tkyear &gt;&gt; 4) * 10) + ((.tkyear AND 0x0f))) + 2000) - 1980' />
										<exp exp='' />
										<exp exp='.Byte3 = ((((.tkyear &gt;&gt; 6) * 10) + ((.tkyear AND 0x3f))) + 2000) - 1980' />
										<exp exp='' />
										<exp exp='//.Byte3 = 39' />
										<exp exp='' />
										<exp exp='file_fat_date = .Byte1 + .Byte2 * 32 + .Byte3 * 512' />
									</command>
									<command class_type='calculation' title='Calculation for FAT Time' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='//Time' />
										<exp exp='.Byte1 = .tkhour' />
										<exp exp='.Byte2 = .tkmin' />
										<exp exp='.Byte3 = .tksec' />
										<exp exp='' />
										<exp exp='file_fat_time = (.Byte3 / 2) + (.Byte2 * 32) + (.Byte1 * 2048)' />
										<exp exp='' />
										<exp exp='//Date' />
										<exp exp='.Byte1 = .tkdate' />
										<exp exp='.Byte2 = .tkmonth' />
										<exp exp='.Byte3 = .tkyear + 20 // time 1 has basis 1980,time 2 has basis 2000,' />
										<exp exp='' />
										<exp exp='file_fat_date = .Byte1 + .Byte2 * 32 + .Byte3 * 512' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='decision' title='setzt datum auf 31.12.18 damit nicht eingestell wird' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (rtccs_dt,&quot;31/12/18&quot;,1) == 0' swap='0' >
										<flowline >
											<command class_type='call' title='Print Creating File' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;Yes&quot;' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetDate' >
												<return exp='rtcc_day' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetHours' >
												<return exp='rtcc_hour' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetMins' >
												<return exp='rtcc_min' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetSecs' >
												<return exp='rtcc_sec' />
												<argument exp='0' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Print Creating File' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;No&quot;' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetDate' >
												<argument exp='31' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMonth' >
												<argument exp='12' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetYear' >
												<argument exp='18' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetHours' >
												<argument exp='0' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMins' >
												<argument exp='0' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetSecs' >
												<argument exp='0' />
												<argument exp='0' />
											</command>
										</flowline>
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='' />
										<exp exp='// &quot;yyyyMMddHHmmss&quot;' />
										<exp exp='// &quot;01234567890123&quot;' />
										<exp exp='' />
										<exp exp='//rtcc_uart_str' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[2]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[3]' />
										<exp exp='rtcc_year = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[4]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[5]' />
										<exp exp='rtcc_month = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[6]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[7]' />
										<exp exp='rtcc_day = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[8]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[9]' />
										<exp exp='rtcc_hour = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[10]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[11]' />
										<exp exp='rtcc_min = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[12]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[13]' />
										<exp exp='rtcc_sec = StringToInt$ (rtccs_2)' />
										<exp exp='' />
									</command>
									<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='' />
										<exp exp='// &quot;yyyy_MM_dd__HH_mm_ss&quot;' />
										<exp exp='// &quot;01234567890123456789&quot;' />
										<exp exp='' />
										<exp exp='//rtcc_uart_str' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[2]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[3]' />
										<exp exp='rtcc_year = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[5]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[6]' />
										<exp exp='rtcc_month = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[8]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[9]' />
										<exp exp='rtcc_day = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[12]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[13]' />
										<exp exp='rtcc_hour = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[15]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[16]' />
										<exp exp='rtcc_min = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = rtcc_uart_str[18]' />
										<exp exp='rtccs_2[1] = rtcc_uart_str[19]' />
										<exp exp='rtcc_sec = StringToInt$ (rtccs_2)' />
										<exp exp='' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetDate' >
										<argument exp='rtcc_day' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMonth' >
										<argument exp='rtcc_month' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetYear' >
										<argument exp='rtcc_year' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetHours' >
										<argument exp='rtcc_hour' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMins' >
										<argument exp='rtcc_min' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetSecs' >
										<argument exp='rtcc_sec' />
										<argument exp='0' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetDate' >
										<return exp='auto_id_dt' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetTime' >
										<return exp='auto_id_tm' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetBuildNumber' >
										<return exp='auto_id_buildnr' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='rtccs_2[0] = auto_id_dt[0]' />
										<exp exp='rtccs_2[1] = auto_id_dt[1]' />
										<exp exp='rtcc_day = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_dt[3]' />
										<exp exp='rtccs_2[1] = auto_id_dt[4]' />
										<exp exp='rtcc_month = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_dt[6]' />
										<exp exp='rtccs_2[1] = auto_id_dt[7]' />
										<exp exp='rtcc_year = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_tm[0]' />
										<exp exp='rtccs_2[1] = auto_id_tm[1]' />
										<exp exp='rtcc_hour = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_tm[3]' />
										<exp exp='rtccs_2[1] = auto_id_tm[4]' />
										<exp exp='rtcc_min = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_tm[6]' />
										<exp exp='rtccs_2[1] = auto_id_tm[7]' />
										<exp exp='rtcc_sec = StringToInt$ (rtccs_2)' />
										<exp exp='' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetDate' >
										<argument exp='rtcc_day' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMonth' >
										<argument exp='rtcc_month' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetYear' >
										<argument exp='rtcc_year' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetHours' >
										<argument exp='rtcc_hour' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMins' >
										<argument exp='rtcc_min' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetSecs' >
										<argument exp='rtcc_sec' />
										<argument exp='0' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetDate' >
										<return exp='auto_id_dt' />
									</command>
									<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='auto_id_dt' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='8454143' cmdAuto_color='1' cmdcustom_color='1' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='AutoVersionID1' macro='GetTime' >
										<return exp='auto_id_tm' />
									</command>
									<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='auto_id_tm' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='8454143' cmdAuto_color='1' cmdcustom_color='1' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='8454143' cmdAuto_color='1' cmdcustom_color='1' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='rtccs_2[0] = auto_id_dt[0]' />
										<exp exp='rtccs_2[1] = auto_id_dt[1]' />
										<exp exp='rtcc_day = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_dt[3]' />
										<exp exp='rtccs_2[1] = auto_id_dt[4]' />
										<exp exp='rtcc_month = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_dt[6]' />
										<exp exp='rtccs_2[1] = auto_id_dt[7]' />
										<exp exp='rtcc_year = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_tm[0]' />
										<exp exp='rtccs_2[1] = auto_id_tm[1]' />
										<exp exp='rtcc_hour = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_tm[3]' />
										<exp exp='rtccs_2[1] = auto_id_tm[4]' />
										<exp exp='rtcc_min = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_tm[6]' />
										<exp exp='rtccs_2[1] = auto_id_tm[7]' />
										<exp exp='rtcc_sec = StringToInt$ (rtccs_2)' />
										<exp exp='' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetDate' >
										<argument exp='rtcc_day' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMonth' >
										<argument exp='rtcc_month' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetYear' >
										<argument exp='rtcc_year' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetHours' >
										<argument exp='rtcc_hour' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMins' >
										<argument exp='rtcc_min' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetSecs' >
										<argument exp='rtcc_sec' />
										<argument exp='0' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetDateString' >
										<return exp='rtccs_tm' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='rtccs_tm' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='8454143' cmdAuto_color='1' cmdcustom_color='1' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetTimeString' >
										<return exp='rtccs_tm' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='rtccs_tm' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='8454143' cmdAuto_color='1' cmdcustom_color='1' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='rtccs_2[0] = auto_id_dt[0]' />
										<exp exp='rtccs_2[1] = auto_id_dt[1]' />
										<exp exp='rtcc_day = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_dt[3]' />
										<exp exp='rtccs_2[1] = auto_id_dt[4]' />
										<exp exp='rtcc_month = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_dt[6]' />
										<exp exp='rtccs_2[1] = auto_id_dt[7]' />
										<exp exp='rtcc_year = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_tm[0]' />
										<exp exp='rtccs_2[1] = auto_id_tm[1]' />
										<exp exp='rtcc_hour = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_tm[3]' />
										<exp exp='rtccs_2[1] = auto_id_tm[4]' />
										<exp exp='rtcc_min = StringToInt$ (rtccs_2)' />
										<exp exp='' />
										<exp exp='rtccs_2[0] = auto_id_tm[6]' />
										<exp exp='rtccs_2[1] = auto_id_tm[7]' />
										<exp exp='rtcc_sec = StringToInt$ (rtccs_2)' />
										<exp exp='' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetDate' >
										<argument exp='rtcc_day' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMonth' >
										<argument exp='rtcc_month' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetYear' >
										<argument exp='rtcc_year' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetHours' >
										<argument exp='rtcc_hour' />
										<argument exp='0' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMins' >
										<argument exp='rtcc_min' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetSecs' >
										<argument exp='rtcc_sec' />
										<argument exp='0' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='comment' title='' comment='Compare$ (rtcc_string_dt,auto_id_dt,1) == 0' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
					</flowline>
				</macro>
				<macro >
					<flowline name='int_deb' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='stop' type='T8' description='' isconst='1' isinit='1' usrinit='&quot;stop\n\r&quot;' setinit='&quot;stop\n\r&quot;' />
						<local name='test' type='T8' description='' isconst='1' isinit='1' usrinit='&quot;test\r\n&quot;' setinit='&quot;test\r\n&quot;' />
						<local name='time' type='T8' description='' isconst='1' isinit='1' usrinit='&quot;time\r\n&quot;' setinit='&quot;time\r\n&quot;' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='ReceiveChar' >
							<return exp='ser_ret' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='statebyte = m0_standby' />
						</command>
						<command class_type='call' title='Set IRQ ADS Off' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Display brauch ca 10mA (Enable low turned it off)' cmdcolor='1879295' cmdcolor_sec='5751039' component='LCD_en' macro='TurnOn' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='display_off_counter = 0' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='ser_ret' >
							<case >
								<flowline />
							</case>
							<case exp='65' >
								<flowline />
							</case>
							<case exp='66' >
								<flowline >
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;received&quot;' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='ReceiveString' >
							<return exp='ser_ret_str' />
							<argument exp='20' />
							<argument exp='15' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='ser_ret_str' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;\r\n&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;EMG-EKG Control Center started&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;\r\n&quot;' />
						</command>
						<command class_type='decision' title='check if first char a &quot;2&quot; dez ascii 50' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='ser_ret_str[0] == 50' swap='0' >
							<flowline >
								<command class_type='call' title='Set IRQ ADS Off' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
									<argument exp='0' />
								</command>
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='rtcc_uart_str = ser_ret_str' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='&quot;time_set\r\n&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='ser_ret_str' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='&quot;\r\n&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='rtcc_uart_str' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='&quot;\r\n&quot;' />
								</command>
								<command class_type='call' title='set time to uart_time' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='rtcc' >
									<argument exp='4' />
								</command>
								<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='rtcc' >
									<argument exp='2' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword rec' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (ser_ret_str,&quot;time\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='call' title='Set IRQ ADS Off' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='ser_ret_str' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='&quot;time_read\r\n&quot;' />
								</command>
								<command class_type='call' title='send time to uart' cmdcolor='1879295' cmdcolor_sec='5751039' macro='rtcc' >
									<argument exp='2' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword rec' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (ser_ret_str, .test,1) == 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='ser_ret_str' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword rec' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (ser_ret_str,&quot;rec\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='statebyte = m4_record' swap='0' >
									<flowline />
									<flowline >
										<command class_type='call' title='Set IRQ ADS Off' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
											<argument exp='0' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='master = 0' />
										</command>
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
											<argument exp='&quot;rec ok&quot;' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='statebyte = m4_record' />
										</command>
										<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword stop' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (ser_ret_str,&quot;stop\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='call' title='Set IRQ ADS Off' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='&quot;stop ok&quot;' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='statebyte = m1_wait' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='&quot;time_set\r\n&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='ser_ret_str' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword display' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (ser_ret_str,&quot;display\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOn' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='&quot;display ok&quot;' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='statebyte = m2_display' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword status' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (ser_ret_str,&quot;status\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOn' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ads99' >
									<argument exp='3' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='&quot; \r\n&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendChar' >
									<argument exp='temperatur_read' />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
									<argument exp='&quot;thats x \r\n&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
						<command class_type='decision' title='Keyword status' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (ser_ret_str,&quot;startgraf\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Config_graf_on = 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Config_datamode = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Keyword status' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (ser_ret_str,&quot;stopgraf\r\n&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Config_graf_on = 0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Config_datamode = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='statebyte = m4_record' swap='0' >
							<flowline />
							<flowline >
								<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='5' type='2' />
							</flowline>
						</command>
						<command class_type='call' title='Set IRQ ADS On' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
							<argument exp='1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='wait' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='idx' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='comment' title='' comment='Wird 2019_08 nicht benutzt' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;wait-Macro\r\n&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='statebyte = m1_wait' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='statebyte = m2_display' />
								</command>
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='statebyte = m3_settings' />
								</command>
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.idx = 0' />
								</command>
								<command class_type='loop' title='Loop' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='.idx = 3' >
									<flowline >
										<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
										<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOn' />
										<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
											<return exp='key_pressed' />
										</command>
										<command class_type='switch' title='Switch' textarea='36,25,36,25' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='key_pressed' >
											<case >
												<flowline />
											</case>
											<case exp='0' >
												<flowline >
													<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
													<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='.idx = .idx + 1' />
													</command>
													<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='statebyte = m2_display' />
													</command>
													<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
													<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
												</flowline>
											</case>
											<case exp='1' >
												<flowline >
													<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='sw_delay = sw1_delay' />
													</command>
													<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='statebyte = m3_settings' />
													</command>
													<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='.idx = 10' />
													</command>
													<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
													<command class_type='loop' title='wait until switch is not pressed anymore' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='key_pressed &gt; 0' >
														<flowline >
															<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
																<return exp='key_pressed' />
															</command>
														</flowline>
													</command>
												</flowline>
											</case>
											<case exp='2' >
												<flowline >
													<command class_type='calculation' title='' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='sw_delay = sw2_delay' />
													</command>
													<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='statebyte = m4_record' />
													</command>
													<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
													<command class_type='loop' title='wait until switch is not pressed anymore' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='key_pressed &gt; 0' >
														<flowline >
															<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
																<return exp='key_pressed' />
															</command>
														</flowline>
													</command>
												</flowline>
											</case>
											<case exp='3' >
												<flowline />
											</case>
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led12_red' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOff' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='scaler' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='1=normal;' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='count_ch' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='scale_div2000 = scale_div2000 + 1 //1sec  green Led' />
							<exp exp='' />
							<exp exp='scale_div400 = scale_div400 + 1 //0.2 sec send Uart' />
							<exp exp='' />
							<exp exp='scale_div200 = scale_div200 + 1 //0.1 sec' />
							<exp exp='' />
							<exp exp='scale_div10 = scale_div10 + 1 // 200Hz sampling' />
						</command>
						<command class_type='comment' title='' comment='__________________________________________________' textarea='36,18,36,18' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.count_ch = 0' />
						</command>
						<command class_type='loop' title='Loop ist fargwürdig while recording' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.count_ch' exp='8' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max_value_aktuel_ch[.count_ch] &gt; max_value_h_ch[.count_ch]' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='max_value_h_ch[.count_ch] = max_value_aktuel_ch[.count_ch]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='max_value_aktuel_ch[.count_ch] &lt; max_value_l_ch[.count_ch]' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='max_value_l_ch[.count_ch] = max_value_aktuel_ch[.count_ch]' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='scale_div2000 &gt; 2000' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='scale_div2000 = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='scale_div400 &gt; 400' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='scale_div400 = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='scale_div200 &gt; 200' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='scale_div200 = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='scale_div10 &gt; 30' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='scale_div10 = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='scale_div2000' >
							<case >
								<flowline />
							</case>
							<case exp='10' >
								<flowline >
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOn' />
								</flowline>
							</case>
							<case exp='11' >
								<flowline >
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOff' />
									<command class_type='comment' title='' comment='nicht noetig, aber schtung milisec delay' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='scale_div10' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='new value from max1415' cmdcolor='1879295' cmdcolor_sec='5751039' macro='max14' >
										<argument exp='4' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
										<argument exp='3' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='mpu9250' >
										<argument exp='2' />
									</command>
									<command class_type='call' title='Accel' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='UpdateAccelerometerData' >
										<return exp='ret_byte' />
									</command>
									<command class_type='call' title='Accel' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
										<return exp='mpu_accel_x' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Accel' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
										<return exp='mpu_accel_y' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='Accel' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
										<return exp='mpu_accel_z' />
										<argument exp='2' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline />
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='comment' title='' comment='zu langsam!' textarea='49,-17,49,-17' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Oled' >
										<argument exp='2' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline />
							</case>
							<case exp='7' >
								<flowline />
							</case>
							<case exp='10' >
								<flowline />
							</case>
						</command>
						<command class_type='switch' title='EMG Sig als Bargraphl' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='scale_div400' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Hier wird gesendet oder nicht- Visualstudio ist zu langsam' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='send_data' >
										<argument exp='7' />
									</command>
								</flowline>
							</case>
							<case exp='398' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.count_ch = 0' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.count_ch' exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='max_value_m_ch[.count_ch] = (max_value_h_ch[.count_ch] + (sqrt (max_value_l_ch[.count_ch] * max_value_l_ch[.count_ch])))' />
												<exp exp='//max_value_h_ch[.count_ch] = 0' />
												<exp exp='//max_value_l_ch[.count_ch] = 0' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
											</command>
										</flowline>
									</command>
									<command class_type='call' title='Hier wird gesendet oder nicht- Visualstudio ist zu langsam' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='send_data' >
										<argument exp='1' />
									</command>
								</flowline>
							</case>
							<case exp='399' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.count_ch = 0' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.count_ch' exp='7' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='//max_value_m_ch[.count_ch] = (max_value_h_ch[.count_ch] + (sqrt (max_value_l_ch[.count_ch] * max_value_l_ch[.count_ch])))' />
												<exp exp='max_value_h_ch[.count_ch] = 0' />
												<exp exp='max_value_l_ch[.count_ch] = 0' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
												<exp exp='' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='200' >
								<flowline />
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='scale_div2000' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='mpu9250' >
										<argument exp='2' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Config_graf_on = 1' swap='0' >
										<flowline >
											<command class_type='call' title='Hier wird gesendet oder nicht- Visualstudio ist zu langsam' cmdcolor='1879295' cmdcolor_sec='5751039' macro='send_data' >
												<argument exp='7' />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='mpu9250' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='1=init, 2=read value, 3=read register,4 read continius' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='accel_x' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='accel_y' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='accel_z' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='compass_x' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='compass_y' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='compass_z' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='gyro_x' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='gyro_y' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='gyro_z' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='temperatur' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;\r\n&quot;' />
						</command>
						<command class_type='switch' title='1=init; 2=read_va; 3=read reg; 4start contius;5stop continius ' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.init_read' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline />
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='ReadTemperature' >
										<return exp='.temperatur' />
									</command>
									<command class_type='comment' title='' comment='Accel
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Accel' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='UpdateAccelerometerData' >
										<return exp='ret_byte' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='ret_byte = 1' swap='0' >
										<flowline >
											<command class_type='call' title='Accel' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
												<return exp='mpu_accel_x' />
												<argument exp='0' />
											</command>
											<command class_type='call' title='Accel' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
												<return exp='mpu_accel_y' />
												<argument exp='1' />
											</command>
											<command class_type='call' title='Accel' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
												<return exp='mpu_accel_z' />
												<argument exp='2' />
											</command>
											<command class_type='comment' title='' comment='Compass
' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='Accel' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='ReadTemperature' >
												<return exp='mpu_accel_z' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
												<argument exp='mpu_accel_x' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;   &quot;' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
												<argument exp='mpu_accel_y' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;   &quot;' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;   &quot;' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
												<argument exp='mpu_accel_z' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;\r\n&quot;' />
											</command>
											<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
										</flowline>
										<flowline >
											<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
												<argument exp='1' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;\r\n&quot;' />
											</command>
										</flowline>
									</command>
									<command class_type='call' title='Compass' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='UpdateCompassData' >
										<return exp='ret_byte' />
									</command>
									<command class_type='call' title='Compass' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
										<return exp='.compass_x' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Compass' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
										<return exp='.compass_y' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='Compass' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
										<return exp='.compass_z' />
										<argument exp='2' />
									</command>
									<command class_type='comment' title='' comment='Gyro' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Gyro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='UpdateGyroData' >
										<return exp='ret_byte' />
									</command>
									<command class_type='call' title='Gyro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
										<return exp='.gyro_x' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Gyro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
										<return exp='.gyro_y' />
										<argument exp='1' />
									</command>
									<command class_type='call' title='Gyro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='MPU9250_AccelGyroMagnet1' macro='CollectXYZData' >
										<return exp='.gyro_z' />
										<argument exp='2' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot; : &quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
										<argument exp='.accel_y' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot; : &quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
										<argument exp='.accel_z' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot; : &quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
										<argument exp='.temperatur' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
										<argument exp='.compass_x' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot; : &quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
										<argument exp='.compass_y' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot; : &quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
										<argument exp='.compass_z' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
										<argument exp='.gyro_x' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot; : &quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
										<argument exp='.gyro_y' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot; : &quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
										<argument exp='.gyro_z' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='temperatur_string = ToString$ (temperatur)' />
										<exp exp='' />
										<exp exp='gyro_string_x = ToString$ (gyro_x)' />
										<exp exp='gyro_string_y = ToString$ (gyro_y)' />
										<exp exp='gyro_string_z = ToString$ (gyro_z)' />
										<exp exp='' />
										<exp exp='accel_string_x = ToString$ (mpu_accel_x)' />
										<exp exp='accel_string_y = ToString$ (mpu_accel_y)' />
										<exp exp='accel_string_z = ToString$ (mpu_accel_z)' />
										<exp exp='' />
										<exp exp='compass_string_x = ToString$ (compass_x)' />
										<exp exp='compass_string_y = ToString$ (compass_y)' />
										<exp exp='compass_string_z = ToString$ (compass_z)' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline />
							</case>
							<case exp='4' >
								<flowline />
							</case>
							<case exp='5' >
								<flowline />
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='wave' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='retloop' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='retval' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='max14' description='maxim max1415' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='1=init, 2=read value, 3=read register,4 read continius' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ret_com' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.init_read' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_MAX1415' macro='TurnOff' />
									<command class_type='delay' title='Delay' disable='1' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='write to communicationregister for clockregister' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0x20' />
									</command>
									<command class_type='call' title='clockregister (value) for 500hz' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0xA7' />
									</command>
									<command class_type='call' title='clockregister (value) for 500hz' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0xA4' />
									</command>
									<command class_type='call' title='clockregister (value) for 200hz ' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0xA2' />
									</command>
									<command class_type='comment' title='' comment='IF 20Hz =&gt;sample rate is 20Hz!' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='clockregister (value) for 20hz sehr gute WERTE' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0xA0' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='write to communicationregister for setup register ' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0x10' />
									</command>
									<command class_type='call' title='communicationregister(value) gain1' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0x44' />
									</command>
									<command class_type='call' title='communicationregister(value)gain2' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0x4C' />
									</command>
									<command class_type='call' title='communicationregister(value)gain4' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0x54' />
									</command>
									<command class_type='call' title='communicationregister(value)gain8' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0x5C' />
									</command>
									<command class_type='call' title='communicationregister(value)' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0x4F' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='4' >
										<flowline >
											<command class_type='call' title='write to communicationregister for clockregister' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
												<argument exp='0xff' />
											</command>
										</flowline>
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_MAX1415' macro='TurnOn' />
									<command class_type='comment' title='' comment='init' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_MAX1415' macro='TurnOff' />
									<command class_type='call' title='write to communicationregister for read the com register' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0x08' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='GetChar' >
										<return exp='.ret_com' />
									</command>
									<command class_type='comment' title='' comment='Verschoben in ADS' textarea='76,48,76,48' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendChar' >
										<argument exp='.ret_com' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='decision' title='testen bit DRDY in register ** evetuell nich noetig ' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.ret_com = 0x88' swap='0' >
										<flowline >
											<command class_type='call' title='write to communicationregister for read the data register' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
												<argument exp='0x38' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='GetChar' >
												<return exp='.ret_com' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendChar' >
												<argument exp='.ret_com' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='GetChar' >
												<return exp='.ret_com' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendChar' >
												<argument exp='.ret_com' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;\r\n&quot;' />
											</command>
										</flowline>
										<flowline />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_MAX1415' macro='TurnOn' />
								</flowline>
							</case>
							<case exp='3' >
								<flowline />
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_MAX1415' macro='TurnOff' />
									<command class_type='call' title='write to communicationregister for read the com register' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
										<argument exp='0x08' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='GetChar' >
										<return exp='.ret_com' />
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='decision' title='testen bit DRDY in register ** evetuell nich noetig ' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.ret_com = 0x88' swap='0' >
										<flowline >
											<command class_type='call' title='write to communicationregister for read the data register' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
												<argument exp='0x38' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='GetChar' >
												<return exp='max14_in[0]' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='GetChar' >
												<return exp='max14_in[1]' />
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='write to communicationregister for read the data register' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='SendChar' >
												<argument exp='0x38' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='GetChar' >
												<return exp='max14_in[0]' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_Max1415' macro='GetChar' >
												<return exp='max14_in[1]' />
											</command>
										</flowline>
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_MAX1415' macro='TurnOn' />
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='max14_16Bit = max14_in[0] &lt;&lt; 8' />
										<exp exp='max14_16Bit = max14_16Bit | max14_in[1]' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='' />
										<exp exp='' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='esp_wlan' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='1=init; 2=set_serve; 3=turn on; 4 check and update;5turn off' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idx' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='firmware_esp' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='50' />
						</local>
						<command class_type='comment' title='' comment='The baud rate commands are now &quot;AT+UART_CUR&quot; and &quot;AT+UART_DEF&quot; which configure the entire UART for the current session or the current and future sessions, respectively. The manual&apos;s prototype for the command is:
AT+UART_DEF=&lt;baudrate&gt;, &lt;databits&gt;, &lt;stopbits&gt;, &lt;parity&gt;, &lt;flow control&gt;
Example:
AT+UART_DEF=115200, 8, 1, 0, 3

' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='switch' title='1=init; 2=set_server; 3=turn on; 4 start contius;5turn off' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.init_read' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='interrupt' title='Interrupt need MIP32. do not turn off this Int(all turn off?)' disable='1' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='TMR9' call='irq_wlan_off' >
										<settings timer='1' prescale='1' postscale='-1' rollover='0' 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='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pwdn_esp1' macro='TurnOn' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RESET_ESP1' macro='TurnOn' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='loop' title='Loop to simulate data, can be high number' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='i' exp='64' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='sample_data_a[i] = i + 100' />
												<exp exp='' />
												<exp exp='' />
											</command>
										</flowline>
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='i = 0' />
										<exp exp='send_str = &quot;&quot;' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='send_str = &quot;[&quot;' />
									</command>
									<command class_type='loop' title='Loop to create a string, not to big! best is 60' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='i' exp='60' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='send_str = send_str + ToString$ (sample_data_a[i])' />
												<exp exp='send_str = send_str + &quot;,&quot;' />
											</command>
										</flowline>
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='send_str = send_str + &quot;]&quot;' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='native' title='Not shure if it&apos;s a good and working' ccode='/*
  Enter C code below this comment
*/
U3BRG=216;  // setzt uart 3 auf 115200' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									<command class_type='call' title='Call Component Macro' ccode='// Name: Call Component Macro, Type: Call Component Macro: init_ret=WLAN_ESP8266::Initialise()
FCV_INIT_RET = FCD_08181_WLAN_ESP8266__Initialise();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='Initialise' >
										<return exp='init_ret' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.idx = 0' />
									</command>
									<command class_type='loop' title='10mal vesuchen bis .idx = 10' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='.idx = 10' start='0' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='init_ret = 1' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='.idx = 10' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
														<argument exp='&quot;ok Init\r\n &quot;' />
													</command>
													<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
														<argument exp='&quot;get firmware = &quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='GetFirmwareVersion' >
														<return exp='.firmware_esp' />
													</command>
													<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
														<argument exp='.firmware_esp' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
														<argument exp='&quot; \r\n &quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' textmode='1' disable='1' ccode='// Call Component Macro
// Call Component Macro: WLAN_ESP8266::SetOutValue(7, &quot;[45,46,47]&quot;)
FCD_08181_WLAN_ESP8266__SetOutValue(7, &quot;[45,46,47]&quot;, 11);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
														<argument exp='7' />
														<argument exp='send_str' />
													</command>
													<command class_type='call' title='Call Component Macro' textmode='1' disable='1' ccode='// Call Component Macro
// Call Component Macro: WLAN_ESP8266::SetOutValue(7, &quot;[45,46,47]&quot;)
FCD_08181_WLAN_ESP8266__SetOutValue(7, &quot;[45,46,47]&quot;, 11);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
														<argument exp='8' />
														<argument exp='send_str' />
													</command>
													<command class_type='call' title='Call Component Macro' textmode='1' disable='1' ccode='// Call Component Macro
// Call Component Macro: WLAN_ESP8266::SetOutValue(7, &quot;[45,46,47]&quot;)
FCD_08181_WLAN_ESP8266__SetOutValue(7, &quot;[45,46,47]&quot;, 11);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
														<argument exp='9' />
														<argument exp='send_str' />
													</command>
													<command class_type='call' title='Call Component Macro' textmode='1' disable='1' ccode='// Call Component Macro
// Call Component Macro: WLAN_ESP8266::SetOutValue(7, &quot;[45,46,47]&quot;)
FCD_08181_WLAN_ESP8266__SetOutValue(7, &quot;[45,46,47]&quot;, 11);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
														<argument exp='10' />
														<argument exp='send_str' />
													</command>
													<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
														<argument exp='&quot;try Server = &quot;' />
													</command>
													<command class_type='call' title='Startup Listening Server' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='ControlTCPServer' >
														<return exp='ret_byte' />
														<argument exp='1' />
														<argument exp='80' />
													</command>
													<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='ret_byte = 1' swap='0' >
														<flowline >
															<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
																<argument exp='&quot;ok Started\r\n&quot;' />
															</command>
															<command class_type='call' title='Print IP:' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
																<argument exp='&quot;IP:&quot;' />
															</command>
															<command class_type='call' title='Read Server IP' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='CheckTCPServerIP' >
																<return exp='data' />
															</command>
															<command class_type='call' title='Print IP:' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
																<argument exp='data' />
															</command>
															<command class_type='call' title='' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
																<argument exp='&quot;\r\n&quot;' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
																<argument exp='0' />
																<argument exp='&quot;100&quot;' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
																<argument exp='1' />
																<argument exp='&quot;120&quot;' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
																<argument exp='2' />
																<argument exp='&quot;120&quot;' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
																<argument exp='3' />
																<argument exp='&quot;130&quot;' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
																<argument exp='4' />
																<argument exp='&quot;110&quot;' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
																<argument exp='5' />
																<argument exp='&quot;120&quot;' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
																<argument exp='6' />
																<argument exp='&quot;130&quot;' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																<exp exp='on_wifi = 1' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='CreateAccessPoint' >
																<return exp='ret_byte' />
																<argument exp='accespoint_name' />
																<argument exp='accespoint_pw' />
																<argument exp='7' />
																<argument exp='0' />
															</command>
															<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																<exp exp='ok_wifi = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='call' title='Startup LCD' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
																<argument exp='&quot;Fail creat server\r\n &quot;' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																<exp exp='ok_wifi = 0' />
															</command>
														</flowline>
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='.idx = .idx + 1' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
														<argument exp='&quot;no response ESP8266\r\n&quot;' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='500' type='1' />
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='Initialise' >
														<return exp='init_ret' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='ok_wifi = 0' />
													</command>
												</flowline>
											</command>
										</flowline>
									</command>
									<command class_type='comment' title='' comment='it&apos;s not usefull to to this every time' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Print ok' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;OK&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline />
							</case>
							<case exp='3' >
								<flowline />
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='i &gt;= 5' swap='0' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='i = 0' />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='i = i + 1' />
											</command>
										</flowline>
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='i' >
										<case >
											<flowline />
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
													<argument exp='7' />
													<argument exp='&quot;[10,46,47]&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
													<argument exp='7' />
													<argument exp='&quot;[40,46,47]&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
													<argument exp='7' />
													<argument exp='&quot;[60,46,47]&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='4' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
													<argument exp='7' />
													<argument exp='&quot;[80,46,47]&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='5' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
													<argument exp='7' />
													<argument exp='&quot;[90,46,47]&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='0' >
											<flowline />
										</case>
									</command>
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='CheckForPageRequests' >
										<return exp='ret_byte' />
									</command>
									<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='ret_byte &gt; 0' swap='0' >
										<flowline >
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;get news\r\n&quot;' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOn' />
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='GetInValue' >
												<return exp='data' />
												<argument exp='0' />
											</command>
											<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='wifi_count = wifi_count + 1' />
												<exp exp='' />
												<exp exp='sendinfo_strg = ToString$ (wifi_count)' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
												<argument exp='2' />
												<argument exp='sendinfo_strg' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='data' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;\r\n&quot;' />
											</command>
											<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='data[0]' >
												<case >
													<flowline />
												</case>
												<case exp='&apos;5&apos;' >
													<flowline >
														<command class_type='comment' title='' comment='got turn off command' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
														<command class_type='call' title='green' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
														<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='sendinfo_strg = &quot;20&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
															<argument exp='4' />
															<argument exp='&quot;[25,25,47]&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
															<argument exp='1' />
															<argument exp='&quot;0&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
															<argument exp='2' />
															<argument exp='&quot;Off&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
															<argument exp='3' />
															<argument exp='&quot;EMG not recording&quot;' />
														</command>
														<command class_type='calculation' title='What to do first' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='statebyte = m4_record' />
														</command>
													</flowline>
												</case>
												<case exp='&apos;6&apos;' >
													<flowline >
														<command class_type='comment' title='' comment='got turn on command' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
														<command class_type='call' title='red' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
														<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='sendinfo_strg = &quot;20&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
															<argument exp='4' />
															<argument exp='&quot;[85,46,47]&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
															<argument exp='1' />
															<argument exp='&quot;1&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
															<argument exp='2' />
															<argument exp='&quot;On&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='WLAN_ESP8266' macro='SetOutValue' >
															<argument exp='3' />
															<argument exp='&quot;EMG recording&quot;' />
														</command>
														<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='statebyte = m2_display' />
														</command>
													</flowline>
												</case>
											</command>
										</flowline>
										<flowline >
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOff' />
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;no news\r\n&quot;' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pwdn_esp1' macro='TurnOff' />
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='settings' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='idx' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;settings-Macro\r\n&quot;' />
						</command>
						<command class_type='call' title='startet wlan' cmdcolor='1879295' cmdcolor_sec='5751039' macro='esp_wlan' >
							<argument exp='1' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='statebyte = m3_settings' start='0' >
							<flowline >
								<command class_type='call' title='update page wlan ' cmdcolor='1879295' cmdcolor_sec='5751039' macro='esp_wlan' >
									<argument exp='4' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
									<return exp='key_pressed' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='key_pressed' >
									<case >
										<flowline />
									</case>
									<case exp='0' >
										<flowline >
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
											<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='statebyte = m2_display' />
											</command>
											<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='sw_delay = sw1_delay' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='statebyte = m2_display' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;settings-Macro stop pressed\r\n&quot;' />
											</command>
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOff' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
												<return exp='key_pressed' />
											</command>
											<command class_type='loop' title='wait until switch is not pressed anymore' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='key_pressed &gt; 0' >
												<flowline >
													<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
														<return exp='key_pressed' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='sw_delay = sw2_delay' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='statebyte = m2_display' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;settings-Macro rec pressed\r\n&quot;' />
											</command>
											<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='statebyte = m4_record' />
											</command>
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='esp_wlan' >
												<argument exp='5' />
											</command>
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
												<return exp='key_pressed' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='key_pressed &gt; 0' >
												<flowline >
													<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
														<return exp='key_pressed' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='sw_delay = sw2_delay' />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='statebyte = m2_display' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;settings-Macro rec + stop pressed\r\n&quot;' />
											</command>
											<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='statebyte = m4_record' />
											</command>
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='esp_wlan' >
												<argument exp='5' />
											</command>
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='pip_on' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led02_red' macro='TurnOn' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOff' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led03_blue' macro='TurnOff' />
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
												<return exp='key_pressed' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='key_pressed &gt; 0' >
												<flowline >
													<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
														<return exp='key_pressed' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Flowchart' description='nur doku' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='bufready = 0' />
							<exp exp='.idx_buffer = 0' />
							<exp exp='.idx_local_FB = 0' />
							<exp exp='.idx_local = 0' />
							<exp exp='' />
						</command>
						<command class_type='loop' title='Loop' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='statebyte = m4_record' >
							<flowline >
								<command class_type='decision' title='Decision' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='bufready = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='bufready = 0' />
										</command>
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.idx_buffer = 0' />
										</command>
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.idx_local_FB = 0' />
											<exp exp='.idx_local = 0' />
										</command>
										<command class_type='loop' title='Loop' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='buffersize' >
											<flowline >
												<command class_type='switch' title='Switch' textarea='36,25,36,25' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='buffer_sd_name' >
													<case >
														<flowline />
													</case>
													<case exp='bufferA' >
														<flowline >
															<command class_type='comment' title='' comment='schreibe bufferA' textarea='69,-6,69,-6' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
															<command class_type='call' title='Call Component Macro' disable='1' ccode='// Call Component Macro
// Call Component Macro: FAT1::WriteByteToBuffer(.idx_local, buf1[.idx_local])
FCD_07fa1_FAT1__WriteByteToBuffer(FCL_IDX_LOCAL, FCV_BUF1[FCL_IDX_LOCAL]);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='WriteByteToBuffer' >
																<argument exp='.idx_local_FB' />
																<argument exp='buffer_sd[bufferB][.idx_local]' />
															</command>
															<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
																<exp exp='.idx_local_FB = .idx_local_FB + 1' />
															</command>
														</flowline>
													</case>
													<case exp='bufferB' >
														<flowline >
															<command class_type='comment' title='' comment='schreibe bufferB' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
															<command class_type='call' title='Call Component Macro' disable='1' ccode='// Call Component Macro
// Call Component Macro: FAT1::WriteByteToBuffer(.idx_local, buf1[.idx_local])
FCD_07fa1_FAT1__WriteByteToBuffer(FCL_IDX_LOCAL, FCV_BUF1[FCL_IDX_LOCAL]);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='WriteByteToBuffer' >
																<argument exp='.idx_local_FB' />
																<argument exp='buffer_sd[bufferA][.idx_local]' />
															</command>
															<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
																<exp exp='.idx_local_FB = .idx_local_FB + 1' />
															</command>
														</flowline>
													</case>
												</command>
												<command class_type='switch' title='Switch' textarea='36,25,36,25' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.idx_local_FB' >
													<case >
														<flowline />
													</case>
													<case exp='512' >
														<flowline >
															<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
																<exp exp='.idx_local_FB = 0' />
																<exp exp='.sector_counter = .sector_counter + 1' />
															</command>
															<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='WriteFileSector' />
															<command class_type='decision' title='Decision' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.sector_counter = 64' swap='0' >
																<flowline >
																	<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='led11_green' macro='TurnOn' />
																	<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
																		<exp exp='.idx_local_FB = 0' />
																		<exp exp='.sector_counter = 0' />
																	</command>
																</flowline>
																<flowline />
															</command>
															<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='FAT1' macro='MoveToNextFileSector' >
																<argument exp='1' />
															</command>
														</flowline>
													</case>
													<case exp='600' >
														<flowline />
													</case>
													<case exp='700' >
														<flowline />
													</case>
													<case exp='800' >
														<flowline />
													</case>
												</command>
												<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='.idx_local = .idx_local + 1' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='key_pressed' >
									<return exp='key_pressed' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='int_sound' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='sound = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='sound = 0' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='PIP' macro='TurnOn' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='sound = 1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='PIP' macro='TurnOff' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ads99' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='1=init, 2=read value, 3=read register,4 read continius' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='test_local1' type='s16' description='Test var' isconst='1' isinit='1' usrinit='77' setinit='77' />
						<local name='wakeup' type='s16' description='' isconst='1' isinit='1' usrinit='2' setinit='0x02' />
						<local name='standby' type='s16' description='' isconst='1' isinit='1' usrinit='4' setinit='0x04' />
						<local name='reset' type='s16' description='' isconst='1' isinit='1' usrinit='6' setinit='0x06' />
						<local name='start' type='s16' description='' isconst='1' isinit='1' usrinit='8' setinit='0x08' />
						<local name='stop' type='s16' description='' isconst='1' isinit='1' usrinit='10' setinit='0x0A' />
						<local name='rdatac' type='s16' description='' isconst='1' isinit='1' usrinit='16' setinit='0x10' />
						<local name='rdata' type='s16' description='' isconst='1' isinit='1' usrinit='18' setinit='0x12' />
						<local name='rreg' type='s16' description='' isconst='1' isinit='1' usrinit='2' setinit='0x02' />
						<local name='wreg' type='s16' description='' isconst='1' isinit='1' usrinit='64' setinit='0x40' />
						<local name='id' type='s16' description='' isconst='1' isinit='1' usrinit='0' setinit='0x00' />
						<local name='config1' type='s16' description='' isconst='1' isinit='1' usrinit='65' setinit='0x41' />
						<local name='config2' type='s16' description='' isconst='1' isinit='1' usrinit='66' setinit='0x42' />
						<local name='config3' type='s16' description='' isconst='1' isinit='1' usrinit='67' setinit='0x43' />
						<local name='config4' type='s16' description='' isconst='1' isinit='1' usrinit='87' setinit='0x57' />
						<local name='Ioff' type='s16' description='' isconst='1' isinit='1' usrinit='68' setinit='0x44' />
						<local name='ch1set' type='s16' description='' isconst='1' isinit='1' usrinit='69' setinit='0x45' />
						<local name='ch2set' type='s16' description='' isconst='1' isinit='1' usrinit='70' setinit='0x46' />
						<local name='ch3set' type='s16' description='' isconst='1' isinit='1' usrinit='71' setinit='0x47' />
						<local name='ch4set' type='s16' description='' isconst='1' isinit='1' usrinit='72' setinit='0x48' />
						<local name='ch5set' type='s16' description='' isconst='1' isinit='1' usrinit='73' setinit='0x49' />
						<local name='ch6set' type='s16' description='' isconst='1' isinit='1' usrinit='74' setinit='0x4A' />
						<local name='ch7set' type='s16' description='' isconst='1' isinit='1' usrinit='75' setinit='0x4B' />
						<local name='ch8set' type='s16' description='' isconst='1' isinit='1' usrinit='76' setinit='0x4C' />
						<local name='bias_sensp' type='s16' description='' isconst='1' isinit='1' usrinit='13' setinit='0x0D' />
						<local name='bias_sensn' type='s16' description='' isconst='1' isinit='1' usrinit='14' setinit='0x0E' />
						<local name='loff_sensp' type='s16' description='' isconst='1' isinit='1' usrinit='15' setinit='0x0F' />
						<local name='loff_flip' type='s16' description='' isconst='1' isinit='1' usrinit='17' setinit='0x11' />
						<local name='loff_statp' type='s16' description='' isconst='1' isinit='1' usrinit='18' setinit='0x12' />
						<local name='loff_statn' type='s16' description='' isconst='1' isinit='1' usrinit='19' setinit='0x13' />
						<local name='gpio' type='s16' description='' isconst='1' isinit='1' usrinit='20' setinit='0x14' />
						<local name='misc1' type='s16' description='' isconst='1' isinit='1' usrinit='21' setinit='0x15' />
						<local name='misc2' type='s16' description='' isconst='1' isinit='1' usrinit='22' setinit='0x16' />
						<local name='creg' type='s16' description='' isconst='1' isinit='1' usrinit='32' setinit='0x20' />
						<local name='data_out1' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='data_out2' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='data_out3' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='data_out' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='sdatac' type='s16' description='' isconst='1' isinit='1' usrinit='17' setinit='0x11' />
						<local name='data_out_i' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='data_in_ads' type='u8' description='Damit auch der 8Channel gehn wuerde sind 27 nötig' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='30' />
						</local>
						<local name='i' type='u8' description='index' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='ret_data' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='set_gain_01x' type='s16' description='' isconst='1' isinit='1' usrinit='0' setinit='0x00' />
						<local name='set_gain_02x' type='s16' description='' isconst='1' isinit='1' usrinit='16' setinit='0x10' />
						<local name='set_gain_04x' type='s16' description='' isconst='1' isinit='1' usrinit='32' setinit='0x20' />
						<local name='set_gain_06x' type='s16' description='' isconst='1' isinit='1' usrinit='48' setinit='0x30' />
						<local name='set_gain_24x' type='s16' description='' isconst='1' isinit='1' usrinit='96' setinit='0x60' />
						<local name='set_test_temp' type='s16' description='' isconst='1' isinit='1' usrinit='5' setinit='0x05' />
						<local name='set_test_gen' type='s16' description='' isconst='1' isinit='1' usrinit='53' setinit='0x35' />
						<local name='config1_clock_no_clock_pin' type='s16' description='' isconst='1' isinit='1' usrinit='147' setinit='0x93' />
						<local name='config1_clock_250Hz' type='s16' description='' isconst='1' isinit='1' usrinit='182' setinit='0xB6' />
						<local name='config1_clock_1kHz' type='s16' description='' isconst='1' isinit='1' usrinit='180' setinit='0xB4' />
						<local name='config1_clock_500Hz' type='s16' description='' isconst='1' isinit='1' usrinit='181' setinit='0xB5' />
						<local name='config1_clock_4kHz' type='s16' description='' isconst='1' isinit='1' usrinit='178' setinit='0xB2' />
						<local name='config1_clock_16kHz' type='s16' description='' isconst='1' isinit='1' usrinit='176' setinit='0xB0' />
						<local name='config1_clock_default_noclockpin' type='s16' description='' isconst='1' isinit='1' usrinit='150' setinit='0x96' />
						<local name='config2_intern_driven_testsignal' type='s16' description='' isconst='1' isinit='1' usrinit='224' setinit='0xE0' />
						<local name='config2_default' type='s16' description='' isconst='1' isinit='1' usrinit='194' setinit='0xC2' />
						<local name='config3_ref_buffer_on' type='s16' description='' isconst='1' isinit='1' usrinit='224' setinit='0xE0' />
						<local name='config4_single_shot' type='s16' description='' isconst='1' isinit='1' usrinit='8' setinit='0x08' />
						<local name='read_reg_data' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='counter_byte_80' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='set_input_short' type='s16' description='' isconst='1' isinit='1' usrinit='1' setinit='0x01' />
						<local name='set_power_off_chanel' type='s16' description='' isconst='1' isinit='1' usrinit='128' setinit='0x80' />
						<local name='config1_clock_2kHz_daysy_chain' type='s16' description='' isconst='1' isinit='1' usrinit='179' setinit='0xB3' />
						<local name='config4_continius_conversion' type='s16' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
						<local name='SINT16' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ret_byte_ar' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='30' />
						</local>
						<local name='retbytecount' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='config1_clock_1kHz_multi' type='s16' description='' isconst='1' isinit='1' usrinit='244' setinit='0xF4' />
						<local name='config1_clock_2kHz_multi_read' type='s16' description='' isconst='1' isinit='1' usrinit='243' setinit='0xF3' />
						<local name='set_gain_08x' type='s16' description='' isconst='1' isinit='1' usrinit='64' setinit='0x40' />
						<local name='set_gain_12x' type='s16' description='' isconst='1' isinit='1' usrinit='80' setinit='0x50' />
						<local name='ads_register' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='count_displaysecond_rec' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='comment' title='' comment='to run has reset turn on,pwdn turn on,cs turn off,clocksel turn on,wake the chip up!
SPI software divider 20 =&gt; 1.25Mhz
Hardware SPI not working 10.08.2018

Alter Recorder 200Hz 0.4mV for 50%
Neuer Recorder 200Hz 0.4mV for 5%  

Testaufnahme 80Hz 1mV gibt 0.1 Audas und 5000 digit(+-2500)

EMG 50uV  -  1mV
EKG 100uV - 10mV

Bei gain max ist 1.00mV max Pegel fuer 32&apos;768 //ohne digitalgain' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='switch' title='1=init; 2=read_va; 3=read reg; 4start contius;5stop continius ' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.init_read' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CLKSEL_ADS1' macro='TurnOn' />
									<command class_type='comment' title='' comment='10 mal delay =10mSec' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='delay_init' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='START_ADS1' macro='TurnOff' />
									<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: CS_ADS::TurnOn()
FCD_0e746_CS_ADS__TurnOn();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='PWDN_ADS1' macro='TurnOn' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='delay_init' type='1' />
									<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: RESET_ADS::TurnOn()
FCD_0e743_RESET_ADS__TurnOn();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='RESET_ADS1' macro='TurnOff' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='delay_init' type='1' />
									<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: RESET_ADS::TurnOn()
FCD_0e743_RESET_ADS__TurnOn();
' cmdcolor='1879295' cmdcolor_sec='5751039' component='RESET_ADS1' macro='TurnOn' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='delay_init' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOff' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='delay_init' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.wakeup' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='delay_init' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.sdatac' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='delay_init' type='1' />
									<command class_type='comment' title='' comment='Config register 1-3' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='First Channel to write' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.config1' />
									</command>
									<command class_type='call' title='How many channel -1 to write (1-1=0)' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='0x00' />
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Config_samplerate' >
										<case >
											<flowline />
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='call' title='Config 1' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.config1_clock_500Hz' />
												</command>
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='call' title='Config 1' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.config1_clock_2kHz_multi_read' />
												</command>
											</flowline>
										</case>
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='First Channel to write' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.config2' />
									</command>
									<command class_type='call' title='How many channel -1 to write (1-1=0)' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='0x00' />
									</command>
									<command class_type='call' title='Config 2' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.config2_intern_driven_testsignal' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='First Channel to write' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.config3' />
									</command>
									<command class_type='call' title='How many channel -1 to write (1-1=0)' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='0x00' />
									</command>
									<command class_type='call' title='Config 3' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.config3_ref_buffer_on' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='delay_init' type='1' />
									<command class_type='comment' title='' comment='Config register 4' textarea='126,10,126,10' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='First Channel to write' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.config4' />
									</command>
									<command class_type='call' title='How many channel -1 to write (1-1=0)' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='0x00' />
									</command>
									<command class_type='call' title='Config 4' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.config4_continius_conversion' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='delay_init' type='1' />
									<command class_type='call' title='First Channel to write' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.ch1set' />
									</command>
									<command class_type='call' title='How many channel -1 to write (6-1=5)' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='0x05' />
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Config_gain' >
										<case >
											<flowline />
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='call' title='Ch1 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_01x' />
												</command>
												<command class_type='call' title='Ch2 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_01x' />
												</command>
												<command class_type='call' title='Ch3 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_01x' />
												</command>
												<command class_type='call' title='Ch4 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_01x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_01x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_01x' />
												</command>
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='call' title='Ch1 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_02x' />
												</command>
												<command class_type='call' title='Ch2 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_02x' />
												</command>
												<command class_type='call' title='Ch3 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_02x' />
												</command>
												<command class_type='call' title='Ch4 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_02x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_02x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_02x' />
												</command>
											</flowline>
										</case>
										<case exp='4' >
											<flowline >
												<command class_type='call' title='Ch1 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_04x' />
												</command>
												<command class_type='call' title='Ch2 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_04x' />
												</command>
												<command class_type='call' title='Ch3 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_04x' />
												</command>
												<command class_type='call' title='Ch4 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_04x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_04x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_04x' />
												</command>
											</flowline>
										</case>
										<case exp='6' >
											<flowline >
												<command class_type='call' title='Ch1 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_06x' />
												</command>
												<command class_type='call' title='Ch2 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_06x' />
												</command>
												<command class_type='call' title='Ch3 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_06x' />
												</command>
												<command class_type='call' title='Ch4 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_06x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_06x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_06x' />
												</command>
											</flowline>
										</case>
										<case exp='8' >
											<flowline >
												<command class_type='call' title='Ch1 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_08x' />
												</command>
												<command class_type='call' title='Ch2 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_08x' />
												</command>
												<command class_type='call' title='Ch3 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_08x' />
												</command>
												<command class_type='call' title='Ch4 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_08x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_08x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_08x' />
												</command>
											</flowline>
										</case>
										<case exp='12' >
											<flowline >
												<command class_type='call' title='Ch1 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_12x' />
												</command>
												<command class_type='call' title='Ch2 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_12x' />
												</command>
												<command class_type='call' title='Ch3 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_12x' />
												</command>
												<command class_type='call' title='Ch4 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_12x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_12x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_12x' />
												</command>
											</flowline>
										</case>
										<case exp='24' >
											<flowline >
												<command class_type='call' title='Ch1 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_24x' />
												</command>
												<command class_type='call' title='Ch2 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_24x' />
												</command>
												<command class_type='call' title='Ch3 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_24x' />
												</command>
												<command class_type='call' title='Ch4 Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_24x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_24x' />
												</command>
												<command class_type='call' title='Ch5  Config' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
													<return exp='ret_cal' />
													<argument exp='.set_gain_24x' />
												</command>
											</flowline>
										</case>
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='delay_init' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOn' />
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='comment' title='' comment='Hier wird der ADS eingelesen' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Enable ADS CS with low (turn off)' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOff' />
									<command class_type='call' title='2019_03_29' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='START_ADS1' macro='TurnOn' />
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.i = 0' />
									</command>
									<command class_type='loop' title='3 Byte Status---  read and do nothing with it  8.5uSec' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.i' exp='3' >
										<flowline >
											<command class_type='call' title='read from SPI Bus ADS1299' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
												<return exp='ret_data_byte' />
												<argument exp='0' />
											</command>
										</flowline>
									</command>
									<command class_type='comment' title='' comment='3+18=21 is correct    (7+8 not used)' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='loop' title='zum deleten der Werte =&gt; Mega WICHTIG' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='del_count' exp='18' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.data_in_ads[del_count] = 0' />
											</command>
										</flowline>
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='ads_channel' >
										<case >
											<flowline />
										</case>
										<case exp='1' >
											<flowline />
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='call' title='Call Component Macro' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::GetByteArray(18, .data_in_ads)
FCD_06c41_SPI_ADS99__GetByteArray(18, FCL_DATA_IN_ADS, 40);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Transaction' >
													<return exp='ret_cal' />
													<argument exp='.data_in_ads' />
													<argument exp='6' />
												</command>
											</flowline>
										</case>
										<case exp='3' >
											<flowline />
										</case>
										<case exp='4' >
											<flowline />
										</case>
										<case exp='5' >
											<flowline />
										</case>
										<case exp='6' >
											<flowline >
												<command class_type='call' title='Call Component Macro' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::GetByteArray(18, .data_in_ads)
FCD_06c41_SPI_ADS99__GetByteArray(18, FCL_DATA_IN_ADS, 40);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Transaction' >
													<return exp='ret_cal' />
													<argument exp='.data_in_ads' />
													<argument exp='18' />
												</command>
											</flowline>
										</case>
									</command>
									<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='loop_checkit = loop_checkit + 1' />
										<exp exp='l_p = 2' />
										<exp exp='//l_p = 5' />
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' exp='loop_checkit' >
										<case >
											<flowline />
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
													<argument exp='.data_in_ads[l_p]' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
													<argument exp='&quot;\r\n&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
													<argument exp='.data_in_ads[l_p]' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
													<argument exp='&quot;\r\n&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
													<argument exp='.data_in_ads[l_p]' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
													<argument exp='&quot;\r\n&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='4' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
													<argument exp='.data_in_ads[l_p]' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
													<argument exp='&quot;\r\n&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='5' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
													<argument exp='.data_in_ads[l_p]' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
													<argument exp='&quot;\r\n&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='6' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
													<argument exp='.data_in_ads[l_p]' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
													<argument exp='&quot;\r\n&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='8000' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='loop_checkit = 0' />
												</command>
											</flowline>
										</case>
										<case exp='7' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
													<argument exp='.data_in_ads[l_p]' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
													<argument exp='&quot;\r\n&quot;' />
												</command>
											</flowline>
										</case>
										<case exp='8' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
													<argument exp='.data_in_ads[l_p]' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
													<argument exp='&quot;\r\n&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
													<argument exp='&quot;\r\n&quot;' />
												</command>
											</flowline>
										</case>
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Config_ads_bit' >
										<case >
											<flowline />
										</case>
										<case exp='24' >
											<flowline >
												<command class_type='comment' title='' comment='24 Bit' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='calculation' title='Channel 1 red' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 1' />
													<exp exp='SINT32 = .data_in_ads[0] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[1] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[2] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = .data_in_ads[0]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = .data_in_ads[1]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 2] = .data_in_ads[2]' />
													<exp exp='index1_sample = index1_sample + 3' />
													<exp exp='max_value_aktuel_ch[1] = SINT32 &gt;&gt; 16' />
												</command>
												<command class_type='calculation' title='Channel2' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 2' />
													<exp exp='SINT32 = .data_in_ads[3] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[4] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[5] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = .data_in_ads[3]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = .data_in_ads[4]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 2] = .data_in_ads[5]' />
													<exp exp='index1_sample = index1_sample + 3' />
													<exp exp='max_value_aktuel_ch[2] = SINT32 &gt;&gt; 16' />
												</command>
												<command class_type='calculation' title='Channel3' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 3' />
													<exp exp='SINT32 = .data_in_ads[6] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[7] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[8] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = .data_in_ads[6]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = .data_in_ads[7]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 2] = .data_in_ads[8]' />
													<exp exp='index1_sample = index1_sample + 3' />
													<exp exp='max_value_aktuel_ch[3] = SINT32 &gt;&gt; 16' />
												</command>
												<command class_type='calculation' title='Channel 4' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 4' />
													<exp exp='SINT32 = .data_in_ads[9] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[10] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[11] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = .data_in_ads[9]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = .data_in_ads[10]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 2] = .data_in_ads[11]' />
													<exp exp='index1_sample = index1_sample + 3' />
													<exp exp='max_value_aktuel_ch[4] = SINT32 &gt;&gt; 16' />
												</command>
												<command class_type='calculation' title='Channel 5' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 5' />
													<exp exp='SINT32 = .data_in_ads[12] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[13] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[14] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = .data_in_ads[12]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = .data_in_ads[13]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 2] = .data_in_ads[14]' />
													<exp exp='index1_sample = index1_sample + 3' />
													<exp exp='max_value_aktuel_ch[5] = SINT32 &gt;&gt; 16' />
												</command>
												<command class_type='calculation' title='Channel 6' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 6' />
													<exp exp='SINT32 = .data_in_ads[15] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[16] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[17] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = .data_in_ads[15]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = .data_in_ads[16]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 2] = .data_in_ads[17]' />
													<exp exp='index1_sample = index1_sample + 3' />
													<exp exp='max_value_aktuel_ch[6] = SINT32 &gt;&gt; 16' />
												</command>
												<command class_type='comment' title='' comment='from here ch7-ch12' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='calculation' title='Channel Drucksensor Jack weiss Front' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='' />
													<exp exp='//channel drucksensor' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = max14_in[0]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = max14_in[1]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 2] = 0' />
													<exp exp='index1_sample = index1_sample + 3' />
												</command>
												<command class_type='calculation' title='Dummy (leer)' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='' />
													<exp exp='//channel dummy' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = 0' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = 0' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 2] = 0' />
													<exp exp='index1_sample = index1_sample + 3' />
													<exp exp='' />
												</command>
											</flowline>
										</case>
										<case exp='16' >
											<flowline >
												<command class_type='comment' title='' comment='16 Bit' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='calculation' title='Channel 1 red' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 1' />
													<exp exp='//16Bit' />
													<exp exp='SINT32 = .data_in_ads[0] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[1] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[2] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = SINT32 &gt;&gt; 24' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = SINT32 &gt;&gt; 16' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='' />
													<exp exp='max_value_aktuel_ch[1] = SINT32 &gt;&gt; 16' />
													<exp exp='//max_value_aktuel_ch[1] = max_value_aktuel_ch[1] - Config_offset[1]  // Temparatur macht nicht mit' />
												</command>
												<command class_type='calculation' title='Channel 2 green' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 2' />
													<exp exp='//16Bit' />
													<exp exp='SINT32 = .data_in_ads[3] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[4] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[5] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = SINT32 &gt;&gt; 24' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = SINT32 &gt;&gt; 16' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='max_value_aktuel_ch[2] = SINT32 &gt;&gt; 16' />
												</command>
												<command class_type='calculation' title='Channel 3 blue' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 3' />
													<exp exp='//16Bit' />
													<exp exp='SINT32 = .data_in_ads[6] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[7] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[8] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = SINT32 &gt;&gt; 24' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = SINT32 &gt;&gt; 16' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='max_value_aktuel_ch[3] = SINT32 &gt;&gt; 16' />
												</command>
												<command class_type='calculation' title='Channel 4 yellow' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 4' />
													<exp exp='//16Bit' />
													<exp exp='SINT32 = .data_in_ads[9] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[10] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[11] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = SINT32 &gt;&gt; 24' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = SINT32 &gt;&gt; 16' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='max_value_aktuel_ch[4] = SINT32 &gt;&gt; 16' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='' />
												</command>
												<command class_type='calculation' title='Channel 5 orange' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 5' />
													<exp exp='//16Bit' />
													<exp exp='SINT32 = .data_in_ads[12] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[13] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[14] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = SINT32 &gt;&gt; 24' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = SINT32 &gt;&gt; 16' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='max_value_aktuel_ch[5] = SINT32 &gt;&gt; 16' />
												</command>
												<command class_type='calculation' title='Channel 6  red yellow' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel 6' />
													<exp exp='//16Bit' />
													<exp exp='SINT32 = .data_in_ads[15] &lt;&lt; 24' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[16] &lt;&lt; 16' />
													<exp exp='SINT32 = SINT32 | .data_in_ads[17] &lt;&lt; 8' />
													<exp exp='SINT32 = SINT32 * Config_ads_digital_gain //' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = SINT32 &gt;&gt; 24' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = SINT32 &gt;&gt; 16' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='max_value_aktuel_ch[6] = SINT32 &gt;&gt; 16' />
												</command>
												<command class_type='calculation' title='Channel Drucksensor Jack weiss Front' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='' />
													<exp exp='//channel drucksensor' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = max14_in[0]' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = max14_in[1]' />
													<exp exp='index1_sample = index1_sample + 2' />
												</command>
												<command class_type='calculation' title='Dummy (leer)' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='' />
													<exp exp='//channel dummy' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = 0' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = 0' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='' />
												</command>
												<command class_type='calculation' title='Dummy (leer)' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='' />
													<exp exp='//channel dummy' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = 0' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = 0' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='' />
												</command>
												<command class_type='calculation' title='Dummy (leer)' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='' />
													<exp exp='//channel dummy' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = 0' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = 0' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='' />
												</command>
												<command class_type='calculation' title='Dummy (leer)' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='' />
													<exp exp='//channel dummy' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = 0' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = 0' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='' />
												</command>
												<command class_type='calculation' title='Dummy (leer)' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='' />
													<exp exp='//channel dummy' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = 0' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = 0' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='' />
												</command>
											</flowline>
										</case>
										<case exp='17' >
											<flowline />
										</case>
										<case exp='20' >
											<flowline >
												<command class_type='comment' title='' comment='from here ch7-ch12' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='//channel A' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = mpu_accel_x &lt;&lt; 8' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = mpu_accel_x' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='//channel B' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = mpu_accel_y &lt;&lt; 8' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = mpu_accel_y' />
													<exp exp='index1_sample = index1_sample + 2' />
													<exp exp='//channel C' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample] = mpu_accel_z &lt;&lt; 8' />
													<exp exp='buffer_sd[buffer_sd_name][index1_sample + 1] = mpu_accel_z' />
													<exp exp='index1_sample = index1_sample + 2' />
												</command>
											</flowline>
										</case>
									</command>
									<command class_type='calculation' title='mehr als der last step nehmen 2 oder 3' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='bufferfull = buffersize - 4' />
									</command>
									<command class_type='decision' title='am bestendurch 24 teilbar es sind 126*512 also 64512' cmdcolor='12615680' cmdcolor_sec='15376912' exp='index1_sample &gt; bufferfull' swap='0' >
										<flowline >
											<command class_type='comment' title='' comment='check if its 64512' textarea='12,0,12,0' disable='1' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='buffer_sd_name' >
												<case >
													<flowline />
												</case>
												<case exp='bufferA' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='index1_sample = 0' />
															<exp exp='' />
															<exp exp='buffer_sd_name = bufferB' />
															<exp exp='bufready = 1' />
														</command>
													</flowline>
												</case>
												<case exp='bufferB' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='index1_sample = 0' />
															<exp exp='' />
															<exp exp='buffer_sd_name = bufferA' />
															<exp exp='bufready = 1' />
														</command>
													</flowline>
												</case>
											</command>
										</flowline>
										<flowline />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOn' />
									<command class_type='call' title='2019_03_29' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='START_ADS1' macro='TurnOff' />
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;read register ads\r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
										<argument exp='&quot;\r\n&quot;' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOff' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='call' title='Call Component Macro' ccode='// Name: Call Component Macro, Type: Call Component Macro: SPI_ADS99::SendChar(0x20)
FCD_06c42_SPI_ADS99__SendChar(0x20);
' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='0x20' />
									</command>
									<command class_type='call' title='read Reg - 1 ' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='23' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' />
									<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.retbytecount' exp='24' >
										<flowline >
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendChar' >
												<argument exp='.retbytecount' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;\r\n&quot;' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendChar' >
												<argument exp='.ret_byte_ar[.retbytecount]' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;\r\n&quot;' />
											</command>
											<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;\r\n&quot;' />
											</command>
										</flowline>
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
									<command class_type='loop' title='erste byte nicht ausgeben' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.retbytecount' exp='23' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' />
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendChar' >
												<argument exp='.ret_byte_ar[.retbytecount+1]' />
											</command>
										</flowline>
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOff' />
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='comment' title='' comment='9.5.3.7 RDATAC: Read Data Continuous
Page41' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOff' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.rdatac' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOn' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='START_ADS1' macro='TurnOn' />
									<command class_type='call' title='Set IRQ ADS On' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
										<argument exp='1' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOn' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOff' />
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SPI_ADS_cal' macro='Master_Byte' >
										<return exp='ret_cal' />
										<argument exp='.sdatac' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
									<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CS_ADS1' macro='TurnOn' />
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='send_data' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='init_read' type='u8' description='1=EMG1;2=EMG2;3;4;5;6;7=Druck' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='channel_nr' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='dummy' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='sendbuffer' type='u8' description='buffer mit 20Zeichen senden' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='i' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='sendnr' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.init_read' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline />
							</case>
							<case exp='2' >
								<flowline />
							</case>
							<case exp='3' >
								<flowline />
							</case>
							<case exp='4' >
								<flowline />
							</case>
							<case exp='5' >
								<flowline />
							</case>
							<case exp='6' >
								<flowline />
							</case>
							<case exp='7' >
								<flowline />
							</case>
							<case exp='8' >
								<flowline />
							</case>
							<case exp='9' >
								<flowline />
							</case>
							<case exp='10' >
								<flowline />
							</case>
						</command>
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
							<argument exp='&quot;data&quot;' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='//send_scaler = send_scaler + 1' />
							<exp exp='//.dummy = 0' />
							<exp exp='send_scaler = 1' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='send_16Bit_integer = max14_16Bit' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='send_scaler &gt; 20' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='send_scaler = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Config_datamode = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.dummy = -10000' />
									<exp exp='.sendnr = 0' />
								</command>
								<command class_type='loop' title='Loop' disable='1' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='5' >
									<flowline >
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.dummy = .dummy - 1000' />
										</command>
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='' />
											<exp exp='.sendbuffer[.sendnr] = .dummy' />
											<exp exp='.sendbuffer[.sendnr + 1] = .dummy &gt;&gt; 8' />
										</command>
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.sendnr = .sendnr + 2' />
										</command>
									</flowline>
								</command>
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.i' exp='6' >
									<flowline >
										<command class_type='calculation' title='Sendet Werte zum anschauen' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='//.ch_display = .ch_display + 1' />
											<exp exp='' />
											<exp exp='//y_valuelimit = (max_value_m_ch[1])' />
											<exp exp='//max_value_h_ch' />
											<exp exp='////max_value_l_ch' />
											<exp exp='.sendbuffer[.sendnr] = max_value_m_ch[.i + 1]' />
											<exp exp='.sendbuffer[.sendnr + 1] = max_value_m_ch[.i + 1] &gt;&gt; 8' />
											<exp exp='.sendnr = .sendnr + 2' />
											<exp exp='' />
											<exp exp='' />
											<exp exp='' />
											<exp exp='' />
										</command>
										<command class_type='calculation' title='sendet mehr Info über den Offset' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='//.ch_display = .ch_display + 1' />
											<exp exp='' />
											<exp exp='//y_valuelimit = (max_value_m_ch[1])' />
											<exp exp='//max_value_h_ch' />
											<exp exp='////max_value_l_ch' />
											<exp exp='//max_value_aktuel_ch' />
											<exp exp='.sendbuffer[.sendnr] = max_value_aktuel_ch[.i + 1]' />
											<exp exp='.sendbuffer[.sendnr + 1] = max_value_aktuel_ch[.i + 1] &gt;&gt; 8' />
											<exp exp='.sendnr = .sendnr + 2' />
											<exp exp='' />
											<exp exp='' />
											<exp exp='' />
											<exp exp='' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.sendbuffer[.sendnr] = max14_16Bit' />
									<exp exp='.sendbuffer[.sendnr + 1] = max14_16Bit &gt;&gt; 8' />
									<exp exp='.sendnr = .sendnr + 2' />
								</command>
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='//Force_str = ToString$ (max14_16Bit / 100)' />
									<exp exp='Force_str = ToString$ (max14_16Bit / 22)' />
								</command>
								<command class_type='loop' title='Sendet 6x A (65)' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='3' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.dummy = 65' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.sendbuffer[.sendnr] = .dummy' />
											<exp exp='.sendbuffer[.sendnr + 1] = .dummy' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.sendnr = .sendnr + 2' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.i = 0' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.i' exp='20' >
									<flowline >
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.sendbuffer[i] = 65' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendChar' >
											<argument exp='.sendbuffer[.i]' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Config_datamode = 1' swap='0' >
							<flowline />
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='send_scaler' >
									<case >
										<flowline />
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOn' />
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='.dummy = 10000' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
												<argument exp='0' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.channel_nr' exp='6' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='.dummy = .dummy + 1000' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
														<argument exp='.dummy' />
													</command>
													<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
														<argument exp='max_value_m_ch[1]/100' />
													</command>
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
														<argument exp='&quot;\r\n&quot;' />
													</command>
													<command class_type='calculation' title='Calculation' disable='1' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='max_value_m_ch[.channel_nr] = max_value_m_ch[.channel_nr] + 100' />
													</command>
												</flowline>
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendNumber' >
												<argument exp='send_16Bit_integer' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;\r\n&quot;' />
											</command>
											<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led13_blue' macro='TurnOff' />
										</flowline>
									</case>
									<case exp='3' >
										<flowline />
									</case>
									<case exp='6' >
										<flowline />
									</case>
									<case exp='9' >
										<flowline />
									</case>
									<case exp='10' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='send_scaler = 10' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='send_scaler = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='BEGIN' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='comment' title='' comment='-------------------------------------------
SPI ADS99 used with software on C4

SPI ADS99
channel 2 hardware
MOSI =&gt; B3
MISO =&gt; C4 temp on D3 with wire from C4 to D3 hardware SPI is working
clock =&gt; G6
Fosc/20 Hardware Fosc/16 to Hardware Fosc/96 working for ADS1299
Software Fosc/2 is working for ADS1299
clockphase leading edge is falling edge!!!temporer choose Leading FC8 problem
-------------------------------------------------
MPU9250 i2c channel set is empty, 
it needs turn to channel 5 every new load the program.//sollte fixed sein
Channel 5, software is not working!
Stopdelay =&gt;??? yes
SDA =&gt; F4
SCL =&gt; F5
--------------------------------------------------------
powerconsuption

Run 140mA; mit SdCard ; one Wlan; Ohne BT
Display off =-10mA weniger
200Mega = Normalspeed   (130-150mA)  12 Stunden
100Mega = 30mA weniger  (100-110mA)  16 Stunden
80 Mega = 50mA weniger  (80-90mA)    20 Stunden


' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Led' cmdcolor='1879295' cmdcolor_sec='5751039' component='led01_green' macro='TurnOn' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_status_ext' macro='TurnOff' />
						<command class_type='call' title='1=Pin Port;2=hardware;3=component; 4=macros' cmdcolor='1879295' cmdcolor_sec='5751039' macro='init' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='1=Pin Port;2=hardware;3=component; 4=macros' cmdcolor='1879295' cmdcolor_sec='5751039' macro='init' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='1=Pin Port;2=hardware;3=component; 4=macros' cmdcolor='1879295' cmdcolor_sec='5751039' macro='init' >
							<argument exp='3' />
						</command>
						<command class_type='call' title='1=Pin Port;2=hardware;3=component; 4=macros' cmdcolor='1879295' cmdcolor_sec='5751039' macro='init' >
							<argument exp='4' />
						</command>
						<command class_type='call' title='if some special test ' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='testpart' >
							<argument exp='1' />
						</command>
						<command class_type='comment' title='' comment='C Code Hardware Setup zum finden in Init' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='calculation' title='What to do first' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='statebyte = m1_wait' />
						</command>
						<command class_type='loop' title='- Main loop -' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='switch' title='' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='statebyte' >
									<case >
										<flowline >
											<command class_type='comment' title='' comment='never used' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
										</flowline>
									</case>
									<case exp='m1_wait' >
										<flowline >
											<command class_type='comment' title='' comment='WAIT' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='State info send' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;wait\r\n&quot;' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='wait' />
										</flowline>
									</case>
									<case exp='m2_display' >
										<flowline >
											<command class_type='comment' title='' comment='DISPLAY' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='State info send' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;display\r\n&quot;' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
											<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='INT4' call='wakeup' >
												<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
													<option value='0' />
													<option value='0' />
													<option value='0' />
													<option value='0' />
													<option value='0' />
													<option value='0' />
													<option value='0' />
													<option value='0' />
												</settings>
											</command>
											<command class_type='call' title='Set IRQ ADS On' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Set_IRQ_ADS' >
												<argument exp='1' />
											</command>
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='display' />
										</flowline>
									</case>
									<case exp='m3_settings' >
										<flowline >
											<command class_type='comment' title='' comment='SETTINGS' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='State info send' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;settings\r\n&quot;' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
											<command class_type='call' title='Call  Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='settings' />
										</flowline>
									</case>
									<case exp='m4_record' >
										<flowline >
											<command class_type='comment' title='' comment='RECORDING' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='State info send' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;record\r\n&quot;' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='record' />
										</flowline>
									</case>
									<case exp='m0_standby' >
										<flowline >
											<command class_type='comment' title='' comment='OFF' textarea='102,17,102,17' cmdcolor='10944511' cmdcolor_sec='11465458' />
											<command class_type='call' title='State info send' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART_9Pol' macro='SendString' >
												<argument exp='&quot;standby\r\n&quot;' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='standby' />
										</flowline>
									</case>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='wakeup' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='1' />
						<command class_type='native' title='C Code' disable='1' ccode='/*
  Enter C code below this comment
*/

//Unlock Combination
_SFR_WRITE(&amp;SYSKEY, 0xAA996655);
_SFR_WRITE(&amp;SYSKEY, 0x556699AA);

// now change the OSCCON register
_SFR_BIT_SET(&amp;OSCCON, 4);

// now lock again
_SFR_WRITE(&amp;SYSKEY, 0x0);

asm volatile ( &quot;wait&quot; );' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='native' title='C Code' disable='1' ccode='/*
  Enter C code below this comment
*/
//OSCCONbits.SLPEN = 1;

//OSCCON |= 0x00000010;
//OSCTUN |= 0x00000010;

//WDTCON = 0x00000010;



SYSKEY = 0xAA996655;
SYSKEY = 0x556699AA;

// now change the OSCCON register
OSCCONbits.SLPEN = 1;

// now lock again
SYSKEY = 0x0;

asm volatile ( &quot;wait&quot; );' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led13_blue' x='-16.3132' y='-1.869' z='-1.90735e-07' xsz='3.66972' ysz='3.38983' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='16744448' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led12_red' x='-76.3132' y='28.131' z='-1.90735e-07' xsz='3.66972' ysz='3.38983' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.1' />
					<value target='polarity' data='001' />
					<value target='on_color' data='4325631' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led11_green' x='-146.313' y='48.131' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTF.12' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led03_blue' x='-76.3132' y='218.131' z='-1.90735e-07' xsz='3.66972' ysz='3.38983' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTE.7' />
					<value target='polarity' data='001' />
					<value target='on_color' data='16744448' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led02_red' x='-56.3132' y='188.131' z='-1.90735e-07' xsz='3.66972' ysz='3.38983' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTE.6' />
					<value target='polarity' data='001' />
					<value target='on_color' data='4325631' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led01_green' x='-96.313' y='188.131' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTE.5' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='PWDN_ADS1' x='-370.023' y='89.9815' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTE.9' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='RESET_ADS1' x='-370.566' y='109.726' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTE.8' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='START_ADS1' x='-370.184' y='150.488' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='CS_ADS1' x='-370.341' y='70.0753' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTG.9' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='CLKSEL_ADS1' x='-370.46' y='130.184' z='-3.85' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTC.2' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0b61bd39-05a3-46ee-a2a5-da7bffb583c5' vmin='0' vmaj='3' codename='FAT1' x='94.089' y='150' z='1.4' 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' >
				<resources />
				<properties />
				<values >
					<value target='cal_spi::CHANNEL' data='003' />
					<value target='cal_spi::MOSI' data='$PORTB.9' />
					<value target='cal_spi::MOSIPins' data='008' />
					<value target='cal_spi::MISO' data='$PORTB.10' />
					<value target='cal_spi::MISOPins' data='006' />
					<value target='cal_spi::CLK' data='$PORTB.14' />
					<value target='cal_spi::CLKPins' data='004' />
					<value target='cal_spi::SS' data='$PORTB.11' />
					<value target='PR_SCALE' data='001' />
					<value target='PR_SCALE2' data='001' />
					<value target='max_concurrent_files' data='1' />
					<value target='EOFtype' data='000' />
					<value target='AutoInsertCard' data='1' />
					<value target='SimType' data='000' />
					<value target='root_dir' data='$(srcdir)' />
					<value target='cal_spi::ScopeTraces' data='0' />
					<value target='cal_spi::ConsoleData' data='0' />
					<value target='cal_spi::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='CS_Reservepin1' x='783.687' y='118.131' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTD.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='96862c4d-debc-45fa-9433-74711a4b9a3b' vmin='1' vmaj='2' codename='SPI_Max1415' x='222.704' y='30' z='0.754998' xsz='60' ysz='26' zsz='1.51' 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' >
				<resources />
				<properties />
				<values >
					<value target='cal_spi::CHANNEL' data='005' />
					<value target='cal_spi::MOSI' data='$PORTB.1' />
					<value target='cal_spi::MOSIPins' data='007' />
					<value target='cal_spi::MISO' data='$PORTB.5' />
					<value target='cal_spi::MISOPins' data='008' />
					<value target='cal_spi::CLK' data='$PORTF.13' />
					<value target='cal_spi::CLKPins' data='004' />
					<value target='cal_spi::UseAutoCS' data='0' />
					<value target='cal_spi::SS' data='$PORTC.2' />
					<value target='cal_spi::PR_SCALE' data='004' />
					<value target='cal_spi::CKE' data='000' />
					<value target='cal_spi::CKP' data='001' />
					<value target='cal_spi::SMP' data='000' />
					<value target='label' data='SPI  Max1415' />
					<value target='cal_spi::ScopeTraces' data='1' />
					<value target='cal_spi::ConsoleData' data='1' />
					<value target='cal_spi::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='CS_MAX1415' x='203.687' y='58.1312' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.9' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='UART_RN42' x='362.704' y='30' z='0.754998' xsz='60' ysz='26' zsz='1.51' 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' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='000' />
					<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='000' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTD.14' />
					<value target='cal_uart::OutputPins' data='005' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTD.15' />
					<value target='cal_uart::InputPins' data='010' />
					<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_RN42' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='0' />
					<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' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='RESET_42' x='343.687' y='58.1312' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.10' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='UART_9Pol' x='492.704' y='30' z='0.754998' xsz='60' ysz='26' zsz='1.51' 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' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='004' />
					<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='000' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTF.8' />
					<value target='cal_uart::OutputPins' data='008' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTF.2' />
					<value target='cal_uart::InputPins' data='011' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTF.1' />
					<value target='cal_uart::CTS' data='$PORTF.0' />
					<value target='label' data='UART_9Pol' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='0' />
					<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' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='RESET_ESP1' x='583.687' y='88.1312' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.12' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='pwdn_esp1' x='583.687' y='118.131' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.13' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='24219805-113d-4b12-b6bd-e1b0b0c33981' vmin='4' vmaj='1' codename='I2C_Intern1' x='-77.296' y='-50' z='0.754998' xsz='60' ysz='26' zsz='1.51' 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' >
				<resources />
				<properties />
				<values >
					<value target='cal_i2c::CHANNEL' data='005' />
					<value target='cal_i2c::BAUD_LIST' data='003' />
					<value target='cal_i2c::BAUD' data='1000000' />
					<value target='cal_i2c::StopDel' data='1' />
					<value target='cal_i2c::SRC' data='001' />
					<value target='cal_i2c::SMB' data='001' />
					<value target='cal_i2c::ClockStretching' data='1' />
					<value target='cal_i2c::SDA' data='$PORTF.4' />
					<value target='cal_i2c::SDAPins' data='002' />
					<value target='cal_i2c::SCL' data='$PORTF.5' />
					<value target='cal_i2c::SCLPins' data='010' />
					<value target='label' data='I2C_Intern' />
					<value target='cal_i2c::ScopeTraces' data='0' />
					<value target='cal_i2c::ConsoleData' data='' />
					<value target='cal_i2c::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch1' x='-100.352' y='148.131' z='3.9' xsz='1.75439' ysz='1.66667' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTG.15' />
					<value target='polarity' data='001' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_switch2' x='-50.352' y='148.131' z='3.9' xsz='1.75439' ysz='1.66667' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.5' />
					<value target='polarity' data='001' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='17151' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='PIP' x='-356.313' y='338.131' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTE.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='UART_9Pol_rts' x='473.687' y='58.1312' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTF.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f0e01201-8951-4748-87c3-d1f8423bb6e4' vmin='1' vmaj='2' codename='RTC1' x='-240' y='440' z='250' xsz='2.5' ysz='2.5' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='RTCModule' data='002' />
					<value target='I2CAddr' data='208' />
					<value target='cal_i2c1::CHANNEL' data='005' />
					<value target='cal_i2c1::SDA' data='$PORTF.4' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTF.5' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='cal_i2c1::BAUD_LIST' data='003' />
					<value target='cal_i2c1::BAUD' data='1000000' />
					<value target='cal_i2c1::StopDel' data='1' />
					<value target='Simulation' data='0' />
					<value target='RTCType' data='1' />
					<value target='ClockSource' data='000' />
					<value target='FracDiv' data='000' />
					<value target='Prescaler' data='000' />
					<value target='Divider' data='0' />
					<value target='MaxDivider' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e1bb4679-58ef-40dc-8d09-306ada46f7bf' vmin='1' vmaj='2' codename='WLAN_ESP8266' x='605.061' y='36.91' z='3.75' 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='1' >
				<resources />
				<properties />
				<values >
					<value target='RxBufferSize' data='400' />
					<value target='ScanBufferSize' data='100' />
					<value target='ResetMode' data='000' />
					<value target='Termination' data='001' />
					<value target='cal_uart1::CHANNEL' data='003' />
					<value target='cal_uart1::BAUD_LIST' data='009' />
					<value target='cal_uart1::BAUD' data='115200' />
					<value target='cal_uart1::TX' data='$PORTG.8' />
					<value target='cal_uart1::OutputPins' data='001' />
					<value target='cal_uart1::TXAlt' data='0' />
					<value target='cal_uart1::RX' data='$PORTG.7' />
					<value target='cal_uart1::InputPins' data='001' />
					<value target='cal_uart1::RXAlt' data='0' />
					<value target='RESET' data='$PORTB.12' />
					<value target='cal_uart1::FLOWEN' data='000' />
					<value target='cal_uart1::RTS' data='$PORTC.4' />
					<value target='cal_uart1::CTS' data='$PORTC.5' />
					<value target='UARTidx' data='003' />
					<value target='PAGES' data='004' />
					<value target='TIMEOUT' data='10' />
					<value target='LineDelay' data='200' />
					<value target='name1' data='index.htm' />
					<value target='html1' data='&lt;html&gt;
&lt;head&gt;
  &lt;meta http-equiv=&quot;refresh&quot; content=&quot;5&quot;&gt;
&lt;/head&gt;



&lt;html&gt;
&lt;body&gt;



&lt;h1&gt;EMG - EKG 2018&lt;/h1&gt;

&lt;h3&gt;Page 1 =&gt; this page is index autorefresh 5 Second&lt;/h3&gt;

&lt;h3&gt;Page 2 =&gt; no autorefresh&lt;/h3&gt;

&lt;h3&gt;Page 3  =&gt; autorefresh 3 Second&lt;/h3&gt;

&lt;h3&gt;Page 4 =&gt; Grafik demo  autorefresh 3 Second&lt;/h3&gt;




&lt;svg width=&quot;400&quot; height=&quot;100&quot;&gt;
  &lt;rect width=&quot;400&quot; height=&quot;100&quot; 
  style=&quot;fill:rgb(0,0,255);stroke-width:10;stroke:rgb(0,0,0)&quot; /&gt;
Sorry, your browser does not support inline SVG.
&lt;/svg&gt;






&lt;/body&gt;
&lt;/html&gt;
' />
					<value target='name2' data='page2.htm' />
					<value target='html2' data='&lt;html&gt;
Page 2 =&gt; no aotorefresh

&lt;form&gt;
&lt;body class=&apos;%2&apos;&gt;Output is %2&lt;/body&gt;
&lt;/form&gt; 

&lt;/html&gt;' />
					<value target='name3' data='page3.htm' />
					<value target='html3' data='&lt;html&gt;

&lt;head&gt;
  &lt;meta http-equiv=&quot;refresh&quot; content=&quot;3&quot;&gt;
&lt;/head&gt;

Page 3  =&gt; autorefresh 3Second
&lt;form&gt;
&lt;body class=&apos;%2&apos;&gt;Output is %2&lt;/body&gt;
&lt;/form&gt; 

&lt;/html&gt;' />
					<value target='name4' data='page4.htm' />
					<value target='html4' data='&lt;html&gt;

&lt;head&gt;
  &lt;meta http-equiv=&quot;refresh&quot; content=&quot;3&quot;&gt;
&lt;/head&gt;



Page 4 Grafik demo  autorefresh 3 second

&lt;body&gt;
&lt;canvas id=&quot;myCanvas&quot; width=&quot;250&quot; height=&quot;250&quot;
style=&quot;border:1px solid #d3d3d3;&quot;&gt;
Your browser does not support the HTML5 canvas tag.&lt;/canvas&gt;
&lt;script&gt;
var c = document.getElementById(&quot;myCanvas&quot;);
var ctx = c.getContext(&quot;2d&quot;);
var level1=100;
var level2=120;
var level3=130;
var level4=110;
var level5=120;
var level6=130;
// Create gradient
var grd1 = ctx.createLinearGradient(0,0,200,0);
grd1.addColorStop(0,&quot;red&quot;);
grd1.addColorStop(1,&quot;white&quot;);
var grd2 = ctx.createLinearGradient(0,0,200,0);
grd2.addColorStop(0,&quot;blue&quot;);
grd2.addColorStop(1,&quot;white&quot;);
var grd3 = ctx.createLinearGradient(0,0,200,0);
grd3.addColorStop(0,&quot;green&quot;);
grd3.addColorStop(1,&quot;white&quot;);
var grd4 = ctx.createLinearGradient(0,0,200,0);
grd4.addColorStop(0,&quot;yellow&quot;);
grd4.addColorStop(1,&quot;white&quot;);
var grd5 = ctx.createLinearGradient(0,0,200,0);
grd5.addColorStop(0,&quot;orange&quot;);
grd5.addColorStop(1,&quot;white&quot;);
var grd6 = ctx.createLinearGradient(0,0,200,0);
grd6.addColorStop(0,&quot;silver&quot;);
grd6.addColorStop(1,&quot;white&quot;);
// Fill with gradient
ctx.fillStyle = grd1;
ctx.fillRect(5,10,level1,20);
ctx.fillStyle = grd2;
ctx.fillRect(5,40,level2,20);
ctx.fillStyle = grd3;
ctx.fillRect(5,70,level3,20);
ctx.fillStyle = grd4;
ctx.fillRect(5,100,level4,20);
ctx.fillStyle = grd5;
ctx.fillRect(5,130,level5,20);
ctx.fillStyle = grd6;
ctx.fillRect(5,160,level6,20);
&lt;/script&gt;

&lt;/body&gt;


&lt;/html&gt;' />
					<value target='WLAN_USE_PAGE1' data='1' />
					<value target='WLAN_USE_PAGE2' data='1' />
					<value target='WLAN_USE_PAGE3' data='1' />
					<value target='WLAN_USE_PAGE4' data='1' />
					<value target='Outgoing_Count' data='011' />
					<value target='Out_Len_0' data='5' />
					<value target='Out_Len_1' data='5' />
					<value target='Out_Len_2' data='5' />
					<value target='Out_Len_3' data='5' />
					<value target='Out_Len_4' data='5' />
					<value target='Out_Len_5' data='5' />
					<value target='Out_Len_6' data='5' />
					<value target='Out_Len_7' data='5' />
					<value target='Out_Len_8' data='5' />
					<value target='Out_Len_9' data='5' />
					<value target='Out_Len_10' data='5' />
					<value target='Out_Len_11' data='20' />
					<value target='Incoming_Count' data='001' />
					<value target='In_Len_0' data='5' />
					<value target='In_Len_1' data='20' />
					<value target='In_Len_2' data='20' />
					<value target='In_Len_3' data='20' />
					<value target='In_Len_4' data='20' />
					<value target='In_Len_5' data='20' />
					<value target='label' data='WLAN' />
					<value target='SimMethod' data='000' />
					<value target='cal_uart1::ScopeTraces' data='0' />
					<value target='cal_uart1::ConsoleData' data='0' />
					<value target='cal_uart1::ConsoleColumns' data='64' />
					<value target='cal_uart1::DataSource' data='000' />
					<value target='cal_uart1::com_port' data='001' />
					<value target='cal_uart1::Injector' data='000' />
					<value target='MIAC' data='0' />
					<value target='RFPOWER' data='' />
					<value target='RemapIndex' data='20' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5d2c6406-e3aa-46bd-8144-57f60194a1e9' vmin='1' vmaj='1' codename='MPU9250_AccelGyroMagnet1' x='100' y='-70' z='1.5' 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='1' >
				<resources />
				<properties />
				<values >
					<value target='ad0_pin' data='001' />
					<value target='cal_i2c::CHANNEL' data='005' />
					<value target='cal_i2c::BAUD_LIST' data='003' />
					<value target='cal_i2c::BAUD' data='1000000' />
					<value target='cal_i2c::StopDel' data='1' />
					<value target='cal_i2c::SDA' data='$PORTF.4' />
					<value target='cal_i2c::SDAPins' data='001' />
					<value target='cal_i2c::SCL' data='$PORTF.5' />
					<value target='cal_i2c::SCLPins' data='002' />
					<value target='accel_scale' data='000' />
					<value target='accel_data_rate' data='008' />
					<value target='gyro_scale' data='003' />
					<value target='CompDataRate' data='001' />
					<value target='SimType' data='000' />
					<value target='cal_i2c::ScopeTraces' data='0' />
					<value target='cal_i2c::ConsoleData' data='0' />
					<value target='cal_i2c::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1911d96c-78dd-414a-b23c-6691fb19f63f' vmin='2' vmaj='1' codename='AutoVersionID1' x='450' y='430' z='1.25807' xsz='2.49123' ysz='2.49123' zsz='2.49123' 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='1' >
				<resources />
				<properties />
				<values >
					<value target='BuildNumber' data='2887' />
					<value target='DateDivider' data='/' />
					<value target='TimeDivider' data=':' />
					<value target='DateFormat' data='000' />
					<value target='LastBuildDate' data='01/10/19' />
					<value target='LastBuildTime' data='11:15:56' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='Uart_microbus' x='790' y='40' z='3.74999' xsz='66' ysz='34' zsz='7.5' 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' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='000' />
					<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='000' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTG.1' />
					<value target='cal_uart::OutputPins' data='012' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTG.0' />
					<value target='cal_uart::InputPins' data='011' />
					<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_microbus' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='0' />
					<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' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='16d8b52e-ca01-4309-9afb-5e265b4ae1ca' vmin='0' vmaj='1' codename='shape_textbox1' x='505' y='-33' z='0.5' xsz='1.40625' ysz='3.125' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='12.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='000' />
					<value target='Text' data='Uart 9Pol
 Ch4 ;TX F8; RX F2; 
Intern SQI Pin
 Ch2 ;TX D5; RX D4; 



' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='LCD_en' x='90' y='320' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTE.1' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='LCD_rw' x='90' y='280' z='-3.85' xsz='2.5641' ysz='2.5641' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTE.4' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='35934f36-5cda-49e7-b1a0-05c85722d858' vmin='2' vmaj='2' codename='AA_serial_eeprom1' x='-350' y='440' z='0.324999' xsz='80' ysz='80' zsz='6.65' xang='0' yang='0' zang='90' xquat='0' yquat='0' zquat='0.707107' wquat='0.707107' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='DEVICE_ADDRESS' data='000' />
					<value target='cal_i2c1::CHANNEL' data='005' />
					<value target='cal_i2c1::BAUD_LIST' data='003' />
					<value target='cal_i2c1::BAUD' data='1000000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::SDA' data='$PORTF.4' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTF.5' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='cal_i2c1::ScopeTraces' data='0' />
					<value target='cal_i2c1::ConsoleData' data='0' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='8af7f5ec-2e7a-4080-9566-b816c24ebbfa' vmin='8' vmaj='1' codename='LCD_SSD1351' x='210' y='500' z='0.525' xsz='9.98931' ysz='9.98858' 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' >
				<resources />
				<properties />
				<values >
					<value target='pixel_height' data='128' />
					<value target='pixel_width' data='128' />
					<value target='FlipX' data='1' />
					<value target='FlipY' data='1' />
					<value target='FlipColour' data='1' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='16777215' />
					<value target='background_colour' data='0' />
					<value target='colour_bit_depth' data='16' />
					<value target='red_bit_depth' data='5' />
					<value target='green_bit_depth' data='6' />
					<value target='blue_bit_depth' data='5' />
					<value target='FGCOL' data='65503' />
					<value target='BGCOL' data='0' />
					<value target='cal_spi1::CHANNEL' data='001' />
					<value target='cal_spi1::PR_SCALE' data='003' />
					<value target='cal_spi1::MOSI' data='$PORTD.3' />
					<value target='cal_spi1::MOSIPins' data='021' />
					<value target='cal_spi1::MISO' data='$PORTD.2' />
					<value target='cal_spi1::MISOPins' data='000' />
					<value target='cal_spi1::CLK' data='$PORTD.1' />
					<value target='cal_spi1::CLKPins' data='004' />
					<value target='CS_pin' data='$PORTD.12' />
					<value target='RS_pin' data='$PORTE.3' />
					<value target='Reset_pin' data='$PORTE.2' />
					<value target='DisplayMethod' data='000' />
					<value target='SimComms' data='0' />
					<value target='cal_spi1::ConsoleData' data='1' />
					<value target='cal_spi1::ScopeTraces' data='1' />
					<value target='cal_spi1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d4994410-ca95-4d1c-8d57-542d48a21d58' vmin='2' vmaj='1' codename='GraphCreator1' x='-60' y='500' z='6' xsz='10' ysz='10' 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' >
				<resources />
				<properties />
				<values >
					<value target='glcd_obj' data='LCD_SSD1351' />
					<value target='Colour_Display' data='1' />
					<value target='XC' data='32' />
					<value target='YC' data='32' />
					<value target='WP' data='96' />
					<value target='HP' data='64' />
					<value target='WR' data='96' />
					<value target='HR' data='64' />
					<value target='XR' data='32' />
					<value target='YR' data='32' />
					<value target='XSCale' data='1.021277' />
					<value target='YScale' data='0.031235' />
					<value target='YB' data='95' />
					<value target='XShift' data='0' />
					<value target='YShift' data='0' />
					<value target='WSLED' data='0' />
					<value target='MIAC' data='0' />
					<value target='NumPlots' data='007' />
					<value target='NumPoints' data='94' />
					<value target='Scrolling' data='0' />
					<value target='GraphStyle' data='001' />
					<value target='MinVal' data='-1024' />
					<value target='MaxVal' data='1024' />
					<value target='DiffVal' data='2049' />
					<value target='ShowBorder' data='0' />
					<value target='ShowGrid' data='000' />
					<value target='GridXSubDivisions' data='6' />
					<value target='GridYSubDivisions' data='6' />
					<value target='GridXSpacing' data='5' />
					<value target='GridYSpacing' data='13' />
					<value target='BgCol' data='0' />
					<value target='BorderColour' data='16777215' />
					<value target='GridCol' data='12632256' />
					<value target='P1Col' data='255' />
					<value target='P2Col' data='65280' />
					<value target='P3Col' data='16711680' />
					<value target='P4Col' data='5767167' />
					<value target='P5Col' data='33023' />
					<value target='P6Col' data='4325631' />
					<value target='P7Col' data='16777215' />
					<value target='P8Col' data='16760832' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='917f243e-4102-4bee-9998-81f18bc6ca9d' vmin='2' vmaj='1' codename='DSPSystem1' x='-60' y='690' z='2.55' xsz='60' ysz='60' zsz='5.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' >
				<resources />
				<properties />
				<values >
					<value target='buffer_count' data='002' />
					<value target='simple_mode' data='1' />
					<value target='DSPsystem_ID' data='1' />
					<value target='buff_a_name' data='Buffer A' />
					<value target='buff_b_name' data='Buffer B' />
					<value target='buff_c_name' data='Buffer C' />
					<value target='buff_d_name' data='Buffer D' />
					<value target='buff_e_name' data='Buffer E' />
					<value target='buff_f_name' data='Buffer F' />
					<value target='buff_g_name' data='Buffer G' />
					<value target='buff_h_name' data='Buffer H' />
					<value target='buff_a_depth' data='001' />
					<value target='buff_a_sign' data='000' />
					<value target='buff_a_size' data='1' />
					<value target='buff_b_depth' data='001' />
					<value target='buff_b_sign' data='000' />
					<value target='buff_b_size' data='1' />
					<value target='buff_c_depth' data='001' />
					<value target='buff_c_sign' data='000' />
					<value target='buff_c_size' data='1' />
					<value target='buff_d_depth' data='001' />
					<value target='buff_d_sign' data='000' />
					<value target='buff_d_size' data='1' />
					<value target='buff_e_depth' data='001' />
					<value target='buff_e_sign' data='000' />
					<value target='buff_e_size' data='1' />
					<value target='buff_f_depth' data='001' />
					<value target='buff_f_sign' data='000' />
					<value target='buff_f_size' data='1' />
					<value target='buff_g_depth' data='001' />
					<value target='buff_g_sign' data='000' />
					<value target='buff_g_size' data='1' />
					<value target='buff_h_depth' data='001' />
					<value target='buff_h_sign' data='000' />
					<value target='buff_h_size' data='1' />
					<value target='buff_simp_depth' data='001' />
					<value target='buff_simp_sign' data='000' />
					<value target='buff_simp_size' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='317efb6a-2bad-4f83-a0bc-4ada0f4cd51e' vmin='3' vmaj='1' codename='DSPFilter1' x='-60' y='620' z='2.98251' xsz='55' ysz='32' zsz='5.965' 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' >
				<resources />
				<properties />
				<values >
					<value target='buffer_manager' data='001' />
					<value target='input_a' data='000' />
					<value target='output_c' data='001' />
					<value target='size_a' data='1' />
					<value target='size_o' data='1' />
					<value target='depth_a' data='001' />
					<value target='depth_o' data='001' />
					<value target='sign_a' data='000' />
					<value target='sign_o' data='000' />
					<value target='type' data='001' />
					<value target='coef0' data='50' />
					<value target='coef1' data='3' />
					<value target='cutoff_shift1' data='0' />
					<value target='cutoff_shift2' data='0' />
					<value target='order' data='000' />
					<value target='co0' data='1.000000' />
					<value target='co1' data='1.000000' />
					<value target='co2' data='2.000000' />
					<value target='co3' data='1.000000' />
					<value target='co4' data='1.000000' />
					<value target='co5' data='1.000000' />
					<value target='co6' data='1.000000' />
					<value target='co7' data='1.000000' />
					<value target='co8' data='1.000000' />
					<value target='co9' data='1.000000' />
					<value target='co10' data='1.000000' />
					<value target='co11' data='1.000000' />
					<value target='cob0' data='1.000000' />
					<value target='cob1' data='2.000000' />
					<value target='sample_rate' data='200.000000' />
					<value target='nyquist' data='100.000000' />
					<value target='cut_off_0' data='2.000000' />
					<value target='cut_off_1' data='33.333332' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73d493a-b6a0-4dbe-b4b5-79648f67d11e' vmin='2' vmaj='1' codename='DSPInput1' x='-150' y='620' z='2.98251' xsz='43.5' ysz='32' zsz='5.965' 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' >
				<resources />
				<properties />
				<values >
					<value target='buffer_manager' data='001' />
					<value target='input_a' data='000' />
					<value target='size_a' data='1' />
					<value target='depth_a' data='001' />
					<value target='sign_a' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1392d5c3-35ba-4c7f-a539-7f30a09758e4' vmin='2' vmaj='1' codename='DSPOutput1' x='0' y='620' z='2.98251' xsz='43.5' ysz='32' zsz='5.965' 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' >
				<resources />
				<properties />
				<values >
					<value target='buffer_manager' data='001' />
					<value target='input_a' data='001' />
					<value target='size_a' data='1' />
					<value target='depth_a' data='001' />
					<value target='sign_a' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='DRDY_ADS1' x='-370' y='180' z='3.9' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTC.3' />
					<value target='polarity' data='000' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pext_switch2' x='-50' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.4' />
					<value target='polarity' data='001' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='255' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pext_switch1' x='-100' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTC.14' />
					<value target='polarity' data='001' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='8388608' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led_status_ext' x='0' y='110' z='0' xsz='3.66972' ysz='3.38983' 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' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTD.9' />
					<value target='polarity' data='001' />
					<value target='on_color' data='4325631' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='slider_plastic1' x='-450' y='650' 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' >
				<resources />
				<properties />
				<values >
					<value target='tang_col' data='16711680' />
					<value target='mark_col' data='255' />
					<value target='body_color' data='12632256' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='22' />
					<value target='vrefvol' data='330' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='015' />
					<value target='actime' data='40' />
					<value target='bits' data='12' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label2' x='129.255' y='251' z='0' xsz='2.81028' ysz='2.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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial Black' />
					<value target='Text' data='SD Card' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='16d8b52e-ca01-4309-9afb-5e265b4ae1ca' vmin='0' vmaj='1' codename='shape_textbox2' x='60' y='-20' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='12.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='000' />
					<value target='Text' data='Textbox' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='16d8b52e-ca01-4309-9afb-5e265b4ae1ca' vmin='0' vmaj='1' codename='shape_textbox3' x='-67' y='267' z='0' xsz='2.34375' ysz='3.125' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='12.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='000' />
					<value target='Text' data='1 Stop C14  wie G13
2 Rec   A4  wie A15
3 GND
6 Pin out Rec D9 wie E6' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='16d8b52e-ca01-4309-9afb-5e265b4ae1ca' vmin='0' vmaj='1' codename='shape_textbox4' x='238' y='183' z='0' xsz='3.75' ysz='1.875' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='12.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='000' />
					<value target='Text' data='Micro Sd-Card
rote karte geht mit 50MHz/pause 226msec-25Mz-186msec pause--standartkarte nur 25Mhz aber pause 206
Brack 605557 Fr15.50
' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='16d8b52e-ca01-4309-9afb-5e265b4ae1ca' vmin='0' vmaj='1' codename='shape_textbox5' x='240' y='40' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='12.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='000' />
					<value target='Text' data='Textbox' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='16d8b52e-ca01-4309-9afb-5e265b4ae1ca' vmin='0' vmaj='1' codename='shape_textbox6' x='683' y='33' z='0' xsz='1.09375' ysz='3.125' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='12.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='000' />
					<value target='Text' data='Channel 3

TX G8

Rx G7' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c67171df-0ad6-4b11-8361-cfe14b072847' vmin='1' vmaj='2' codename='SPI_ADS_cal' x='-250' y='140' z='0' xsz='20' ysz='20' zsz='20' 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' >
				<resources />
				<properties />
				<values >
					<value target='ENABLED' data='1' />
					<value target='REF' data='1' />
					<value target='CHANNEL' data='000' />
					<value target='MOSI' data='$PORTB.3' />
					<value target='MOSIPins' data='008' />
					<value target='MISO' data='$PORTC.4' />
					<value target='MISOPins' data='013' />
					<value target='CLK' data='$PORTG.6' />
					<value target='CLKPins' data='004' />
					<value target='UseAutoCS' data='0' />
					<value target='UseCS' data='0' />
					<value target='SS' data='$PORTC.2' />
					<value target='SSPins' data='000' />
					<value target='AltSSPin' data='0' />
					<value target='Mode' data='000' />
					<value target='PR_SCALE' data='003' />
					<value target='CKE' data='000' />
					<value target='CKP' data='000' />
					<value target='SMP' data='000' />
					<value target='ScopeTraces' data='1' />
					<value target='ConsoleData' data='1' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
					<value target='BMODE' data='0' />
					<value target='MOSI_PORT' data='$PORTB.3' />
					<value target='MOSI_TRIS' data='$PORTB.3' />
					<value target='MOSI_PIN' data='3' />
					<value target='MISO_PORT' data='$PORTC.4' />
					<value target='MISO_TRIS' data='$PORTC.4' />
					<value target='MISO_PIN' data='4' />
					<value target='SCK_PORT' data='$PORTG.6' />
					<value target='SCK_TRIS' data='$PORTG.6' />
					<value target='SCK_PIN' data='6' />
					<value target='SS_PORT' data='$PORTC.2' />
					<value target='SS_TRIS' data='$PORTC.2' />
					<value target='SS_PIN' data='2' />
					<value target='Remappable' data='2' />
					<value target='MOSIReg' data='008' />
					<value target='CLKREG' data='004' />
					<value target='MOSIRPNUM' data='5' />
					<value target='MOSIBank' data='a' />
					<value target='MOSIBank2' data='b' />
					<value target='CLKRPNUM' data='20' />
					<value target='CLKBank' data='b' />
					<value target='MISORPREG' data='SDI1R' />
					<value target='MISOBank' data='a' />
					<value target='SPIName' data='' />
					<value target='MISOReg' data='000' />
					<value target='SPIClock' data='' />
					<value target='MISOBank2' data='x' />
					<value target='CLKBank2' data='c' />
					<value target='ParentName' data='' />
					<value target='BitDelay' data='0' />
					<value target='ClockSpeed' data='100000000' />
					<value target='MasterDivider' data='2' />
					<value target='Sim' data='1' />
					<value target='CLKRPREG' data='' />
					<value target='SSRPREG' data='' />
					<value target='SSBank' data='' />
					<value target='SSBank2' data='' />
					<value target='AltSSReg' data='' />
					<value target='AltSSMask' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='16d8b52e-ca01-4309-9afb-5e265b4ae1ca' vmin='0' vmaj='1' codename='shape_textbox7' x='-217' y='157' z='0' xsz='2.65625' ysz='0.625' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1975743' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='12.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='000' />
					<value target='Text' data='leading edge / idle low /middle  ist neu' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='16d8b52e-ca01-4309-9afb-5e265b4ae1ca' vmin='0' vmaj='1' codename='shape_textbox8' x='-356.852' y='197' z='11.8' xsz='0.9375' ysz='0.625' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='FontSize' data='12.000000' />
					<value target='AlignX' data='000' />
					<value target='AlignY' data='000' />
					<value target='Text' data='DRDY_ADS1' />
				</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='-236.977' ye='133.581' ze='466.428' xt='-236.977' yt='133.581' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</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='300' 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='rtcc' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='int_deb' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='send_data' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ads99' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='scaler' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Oled' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='display' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='init' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Setup_Port' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='max14' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='record' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='wait' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='pip_on' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='settings' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9wUAAD8EAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
