<root>
<document scada='0' schema='102' license='1,73824157,8UXJPQ' title='' description='' fcversion='589824' target='PIC16.33E.ECIO40P16' >
	<config data='' clkspd='140000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='changed' />
		<watch expr='Count' />
		<watch expr='CountError' />
		<watch expr='MAIN_STATE' />
		<watch expr='MENUE_SWITCH' />
		<watch expr='START_MENUE_STATE' />
		<watch expr='UBITX_FREQ_STRING' />
		<watch expr='Receive_array' />
		<watch expr='RX_DATA' />
		<watch expr='X' />
		<watch expr='freq_string' />
		<watch expr='FREQ_1_DISPLAY' />
		<watch expr='BAND' />
		<watch expr='Send_array' />
		<watch expr='FREQ_1_ENCODER' />
		<watch expr='START_FREQ' />
		<watch expr='LCD_DISPLAY_STRING' />
		<watch expr='ECODER_1_UPDATE_VALUE' />
		<watch expr='FREQ_1_MASTER' />
		<watch expr='FREQ_1_SDR' />
		<watch expr='FT450_STRING' />
		<watch expr='DISPLAY_STRING_2' />
	</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='6' />
			<data name='ClockPin' value='3' />
			<data name='DataPort' value='4' />
			<data name='DataPin' value='2' />
			<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='7b495511-8370-4a55-83b3-6d48e067c590' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' 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='0' scadavisible='1' interactive='0' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties >
				<property name='Channel' target='UART1::cal_uart::CHANNEL' typeid='16' hidden='0' locked='0' info='UART Channel selector
Software channels are bit banged using generic I/O pins but are not as reliable as hardware channels.
Hardware channels use the selected peripheral on-board the target microcontroller.' filter='000Software
001Channel 1
002Channel 2
003Channel 3
004Channel 4
' />
				<property name='Connection' target='SerialMonitor1::Conn' typeid='16' hidden='0' locked='0' info='Port connection status.
Closed - Port is unavailable and not in use.
Open - Port is available for data communications.' filter='000Closed
001Open' />
			</properties>
			<values >
				<value target='UART1::cal_uart::CHANNEL' data='004' />
				<value target='SerialMonitor1::Conn' data='0' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='TX_RX_STATE_OLD' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='REC_BYTE_NO' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Count_error' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='freq_string2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FT450_STRING' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Count' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MODE' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RX_DATA' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DISPLAY_STRING_2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='START_1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Change' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Receive_array' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FREQ1_MASTER_OLD' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MAIN_STATE_OLD' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ENCODER_FLAG' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ECODER_1_VALUE' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SDR_FLAG' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Send_array' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FREQ_1_SDR' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FREQ_1_MASTER' type='s32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='got_byte' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PROCESSOR' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TX_RX_STATE' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OFF' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='START_MENUE_STATE' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='sdruno_previous' type='T8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot;YY&quot;' setinit='&quot;YY&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='buff_no_bytes' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FREQ_1_DISPLAY' type='u32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SNUMBER' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ECODER_1_UPDATE_VALUE' type='s32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MASTER_FREQ' type='s32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='KEYER_STATE' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TEMP' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DISPLAY_STRING3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CountError' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp4_string' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ubit_kine2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TIMER_5_FLAG' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UBITX_FT450_STATE' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Encoder_Ist_pass_flag' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MENUE_SWITCH' type='s16' description='SELECT_SWITCH' isconst='1' isHidden='0' isinit='1' usrinit='4' setinit='4' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_string' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UBITX_DEC__FREQ_STRING' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MUTE_SWITCH' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='5' setinit='5' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SEND_BLANK_ARRAY' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp3_string' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MENU_NUMBER' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UBITX_FT450_STATE_OLD' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='count_1' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FREQ_1_ENCODER' type='s32' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='KEYER_SWITCH' type='s16' description='KEYER_SWITCH' isconst='1' isHidden='0' isinit='1' usrinit='3' setinit='3' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MAIN_STATE' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SIM_MODE' type='u16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='command_no' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='y' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='X' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Count_old' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='START_FREQ' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp_number' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LOCAL_REMOTE_STATE' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LCD_Write' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='S_MTER_STRING' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='n0_string' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TEMP2_STRING' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FREQ_LENGTH' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UBIT_TEMP' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BAND' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SDR_STRING' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LC' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SEND_CHAR' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PRINT_DATA' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MUTE_STATE' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UBIT_T3' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='input_byte' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BCD_TEMP_STRING_2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='1' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ubitx_int_freq' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UBIT_T2' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ON' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UBIT_FREQ_NUMBER' type='s32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UBIT_T1' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='changed' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BCD_TEMP_STRING' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TX_RX_SWITCH' type='s16' description='TX_RX_SWITCH' isconst='1' isHidden='0' isinit='1' usrinit='2' setinit='2' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MODE_FLAG_ACCEPTED' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='freq_string' type='T8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='num_buffer' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TIMER_4_FLAG' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='I' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UBIT_DEC_TEMP' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SERIAL_DATA_INPROGRESS' type='u8' description='0' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LCD_DISPLAY_STRING' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='SET_DIGITAL_OUTPUT_' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='DIGIVALUE' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='ARDUINO MEGA2560   PROCESSOR = 0
ARDUINO UNO        PROCESSOR = 1
ECIO40-P16         PROCESSOR = 2' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='PROCESSOR = 0' swap='0' >
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='.DIGIVALUE' >
									<case >
										<flowline >
											<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='.DIGIVALUE' >
												<case >
													<flowline />
												</case>
												<case exp='10' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048582' mask='128' exp='1' usechipref='1' />
													</flowline>
												</case>
												<case exp='11' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048581' mask='1' exp='1' usechipref='1' />
													</flowline>
												</case>
												<case exp='12' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048581' mask='2' exp='1' usechipref='1' />
													</flowline>
												</case>
												<case exp='13' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048582' mask='64' exp='1' usechipref='1' />
													</flowline>
												</case>
												<case exp='14' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048579' mask='1' exp='1' usechipref='1' />
													</flowline>
												</case>
												<case exp='15' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048579' mask='2' exp='1' usechipref='1' />
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
									<case exp='0' >
										<flowline />
									</case>
									<case exp='1' >
										<flowline />
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='1' exp='1' usechipref='1' />
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='2' exp='1' usechipref='1' />
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='4' exp='1' usechipref='1' />
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='8' exp='1' usechipref='1' />
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='16' exp='1' usechipref='1' />
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='32' exp='1' usechipref='1' />
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='64' exp='1' usechipref='1' />
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='128' exp='1' usechipref='1' />
										</flowline>
									</case>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='PROCESSOR = 1' swap='0' >
							<flowline />
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='PROCESSOR = 2' swap='0' >
							<flowline />
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SYNCRONISE_TO_FREQ1_MASTER_AND_SEND' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='COPY FREQ1_ MASTER TO ENCODER &amp; SDR FREQ1' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='FREQ_1_MASTER = FREQ1_MASTER_OLD' swap='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='FREQ_1_DISPLAY = FREQ_1_MASTER' />
									<exp exp='FREQ_1_ENCODER = FREQ_1_MASTER' />
									<exp exp='FREQ_1_SDR = FREQ_1_MASTER' />
									<exp exp='FREQ1_MASTER_OLD = FREQ_1_MASTER' />
									<exp exp='' />
									<exp exp='DISPLAY_STRING_2 = ToString$ (FREQ_1_ENCODER)' />
									<exp exp='BCD_TEMP_STRING = DISPLAY_STRING_2' />
								</command>
								<command class_type='comment' title='' comment='==============GENERATE STRING FOR LCD DISPLAY &amp; PRINT ON LINE 2 ===============================' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
									<argument exp='2' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='FREQ_1_ENCODER &lt; 10000000' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
											<argument exp='3' />
											<argument exp='1' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='LCD_DISPLAY_STRING = &quot;,&quot; + Mid$ (DISPLAY_STRING_2,4,3)' />
											<exp exp='LCD_DISPLAY_STRING = &quot;.&quot; + Mid$ (DISPLAY_STRING_2,1,3) + LCD_DISPLAY_STRING' />
											<exp exp='LCD_DISPLAY_STRING = Mid$ (DISPLAY_STRING_2,0,1) + LCD_DISPLAY_STRING' />
											<exp exp='LCD_DISPLAY_STRING = LCD_DISPLAY_STRING + &quot; MHz&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
											<argument exp='LCD_DISPLAY_STRING' />
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='FREQ LENGTH  = 7
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='FREQ_1_ENCODER &gt; 100000000' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
													<argument exp='3' />
													<argument exp='1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='LCD_DISPLAY_STRING = &quot;,&quot; + Mid$ (DISPLAY_STRING_2,6,3)' />
													<exp exp='LCD_DISPLAY_STRING = &quot;.&quot; + Mid$ (DISPLAY_STRING_2,3,3) + LCD_DISPLAY_STRING' />
													<exp exp='LCD_DISPLAY_STRING = Mid$ (DISPLAY_STRING_2,0,3) + LCD_DISPLAY_STRING' />
													<exp exp='LCD_DISPLAY_STRING = LCD_DISPLAY_STRING + &quot; KHz&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
													<argument exp='LCD_DISPLAY_STRING' />
												</command>
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='FREQ LENGTH  = 6
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='FREQ_LENGTH = 7' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
													<argument exp='3' />
													<argument exp='1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='LCD_DISPLAY_STRING = &quot;,&quot; + Mid$ (DISPLAY_STRING_2,5,3)' />
													<exp exp='LCD_DISPLAY_STRING = &quot;.&quot; + Mid$ (DISPLAY_STRING_2,2,3) + LCD_DISPLAY_STRING' />
													<exp exp='LCD_DISPLAY_STRING = Mid$ (DISPLAY_STRING_2,0,2) + LCD_DISPLAY_STRING' />
													<exp exp='LCD_DISPLAY_STRING = LCD_DISPLAY_STRING + &quot; MHz&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
													<argument exp='LCD_DISPLAY_STRING' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='================= Generate Array for Ubitx &amp; send ================


iF UBITX IS THE TRANSMITER     UBITX_FT450 = 0 
IF FT450 IS THE TRANSMITTER    UBITX_FT450 = 1 
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='UBITX_FT450_STATE = 0' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='UBITX UPDATE
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='FREQ_1_ENCODER &lt; 10000000' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='Freq length = 6
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  100 meg 10 meg' />
													<exp exp='Send_array[0] = 0' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  1 meg 100k' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,0,1)' />
													<exp exp='Send_array[1] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,1,1)' />
													<exp exp='Send_array[1] = Send_array[1] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='// array[0]  10k 1k' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,2,1)' />
													<exp exp='Send_array[2] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,3,1)' />
													<exp exp='Send_array[2] = Send_array[2] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  100 hx 10 hz' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,4,1)' />
													<exp exp='Send_array[3] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,5,1)' />
													<exp exp='Send_array[3] = Send_array[3] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='Send_array[4] = 1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='X = 0' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='5' start='0' >
													<flowline >
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='UBITX_UART' macro='SendChar' >
															<argument exp='Send_array[X]' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='X = X + 1' />
															<exp exp='' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='Freq length = 7
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  100 meg 10 meg' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,0,1)' />
													<exp exp='Send_array[0] = StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='// array[0]  1 meg 100k' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,1,1)' />
													<exp exp='Send_array[1] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,2,1)' />
													<exp exp='Send_array[1] = Send_array[1] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='// array[0]  10k 1k' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,3,1)' />
													<exp exp='Send_array[2] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,4,1)' />
													<exp exp='Send_array[2] = Send_array[2] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  100 hx 10 hz' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,5,1)' />
													<exp exp='Send_array[3] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,6,1)' />
													<exp exp='Send_array[3] = Send_array[3] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='Send_array[4] = 1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='X = 0' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='5' start='0' >
													<flowline >
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='UBITX_UART' macro='SendChar' >
															<argument exp='Send_array[X]' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='X = X + 1' />
															<exp exp='' />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='FT450_STRING = &quot;FA&quot; + DISPLAY_STRING_2' />
													<exp exp='FT450_STRING = FT450_STRING + &quot;;&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='FT450_UART' macro='SendString' >
													<argument exp='FT450_STRING' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='FT450 UPDATE' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='FREQ_1_MASTER &gt; 9000000' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='FT450_STRING = &quot;FA&quot; + DISPLAY_STRING_2' />
													<exp exp='FT450_STRING = FT450_STRING + &quot;;&quot;' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='' />
													<exp exp='DISPLAY_STRING3 = &quot;0&quot; + DISPLAY_STRING_2' />
													<exp exp='FT450_STRING = &quot;FA&quot; + DISPLAY_STRING3' />
													<exp exp='FT450_STRING = FT450_STRING + &quot;;&quot;' />
												</command>
											</flowline>
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='FT450_UART' macro='SendString' >
											<argument exp='FT450_STRING' />
										</command>
										<command class_type='call' title='WAIT FOR SDR FREQUENCY MESSAGE' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='FT450_UART' macro='ReceiveString' >
											<argument exp='300' />
											<argument exp='14' />
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='================= Generate Array for SDR &amp; SEND ================


iF SDR ALSO CONTROLS  LOCAL_REMOTE_STATE = 1 
IF ONLY CONTROLLER CONTROLS LOCAL_REMOTE_STATE = 0

' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='LOCAL_REMOTE_STATE = 1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='FREQ_1_ENCODER &gt; 100000000' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='SDR_STRING = &quot;FA00&quot; + DISPLAY_STRING_2' />
													<exp exp='SDR_STRING = SDR_STRING + &quot;;&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='SendString' >
													<argument exp='SDR_STRING' />
												</command>
												<command class_type='call' title='WAIT FOR SDR FREQUENCY MESSAGE' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='ReceiveString' >
													<return exp='freq_string' />
													<argument exp='300' />
													<argument exp='14' />
												</command>
											</flowline>
											<flowline >
												<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='SDR_STRING = &quot;FA000&quot; + DISPLAY_STRING_2' />
													<exp exp='SDR_STRING = SDR_STRING + &quot;;&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='SendString' >
													<argument exp='SDR_STRING' />
												</command>
												<command class_type='call' title='WAIT FOR SDR FREQUENCY MESSAGE' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='ReceiveString' >
													<return exp='freq_string' />
													<argument exp='300' />
													<argument exp='14' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='FREQ_1_DISPLAY = FREQ_1_ENCODER' />
									<exp exp='ECODER_1_UPDATE_VALUE = 0' />
									<exp exp='FREQ_1_SDR = FREQ_1_DISPLAY' />
									<exp exp='y = 0' />
									<exp exp='TIMER_5_FLAG = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='BANDS_1_TO_5' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='0' swap='0' >
							<flowline />
							<flowline />
						</command>
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='Called repeatedly from Bands 1 to 5 macro


1. Set Lcd to show start frequeny

2. Send to UBITX or FT450 depending on UBITX / FT450 SWITCH SETTING

3. Allow UBITX / FT450 SELECTION TO CHANGE IF TX not selected

4. Jump back to Band0 macro if Menue switch is put back to menue 

5. Repatedly jump to check main encoder macro to see if encoder value
has changed and poll SDR also for any SDR changes' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='Initialise' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='UPDATE DISPLAY AND SET TO RX
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='3' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='LC = 0' />
							<exp exp='' />
							<exp exp='ECODER_1_VALUE = FREQ_1_MASTER' />
							<exp exp='FREQ1_MASTER_OLD = 0' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='SYNCRONISE_TO_FREQ1_MASTER_AND_SEND' />
						<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='0' exp='LC = 0' start='0' >
							<flowline >
								<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SW6_TX_SWITCH' macro='ReadState' >
											<return exp='TX_RX_STATE' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='TX_RX_STATE = TX_RX_STATE_OLD' swap='1' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='TX_RX_STATE_OLD = TX_RX_STATE' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='TX_RX_STATE = 1' swap='0' >
													<flowline >
														<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED2_TX' macro='TurnOn' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED1_RX' macro='TurnOff' />
														<command class_type='comment' title='' comment='inhibit frequency change if in tx mode ' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='FT450_UART' macro='SendString' >
															<argument exp='&quot;PA100;&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='SendString' >
															<argument exp='&quot;TX0;&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='FT450_UART' macro='SendString' >
															<argument exp='&quot;TX1;&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='FT450_UART' macro='SendString' >
															<argument exp='&quot;TX;&quot;' />
														</command>
														<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='5' type='2' />
														<command class_type='sim' title='Simulation' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='COMPort1' macro='SendByte' >
															<argument exp='84' />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='COMPort1' macro='SendByte' >
															<argument exp='88' />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='COMPort1' macro='SendByte' >
															<argument exp='49' />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='COMPort1' macro='SendByte' >
															<argument exp='59' />
														</command>
													</flowline>
													<flowline >
														<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED2_TX' macro='TurnOff' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED1_RX' macro='TurnOn' />
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='FT450_UART' macro='SendString' >
															<argument exp='&quot;TX0;&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='FT450_UART' macro='SendString' >
															<argument exp='&quot;RX;&quot;' />
														</command>
														<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='100' type='1' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='SendString' >
															<argument exp='&quot;RX;&quot;' />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='COMPort1' macro='SendByte' >
															<argument exp='84' />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='COMPort1' macro='SendByte' >
															<argument exp='88' />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='COMPort1' macro='SendByte' >
															<argument exp='48' />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='COMPort1' macro='SendByte' >
															<argument exp='59' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='ALLOW FREQUENCY UPDATE IN RX MODE
' textarea='249,5,249,5' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='TX_RX_STATE = 0' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='READ LATEST ENCODER FREQ1 AND STORE IN FREQ1_MASTER' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
												<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='READ_ENCODER_FREQUENCY' />
												<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='SYNCRONISE_TO_FREQ1_MASTER_AND_SEND' />
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='LOCAL_REMOTE_STATE = 1' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='READ_SDR_FREQ1' />
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SW4__LOCAL_REMOTE_SWITCH' macro='ReadState' >
											<return exp='LOCAL_REMOTE_STATE' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='50' type='1' />
									</flowline>
								</command>
								<command class_type='loop' title='ACTION_SWICTCHES' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
									<flowline >
										<command class_type='comment' title='' comment='Check tx rx switch' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SW6_TX_SWITCH' macro='ReadState' >
											<return exp='TX_RX_STATE' />
										</command>
										<command class_type='comment' title='' comment='Check menu switch if on menue jump out
of loop and go back to Band0 macro' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='START_MENUE_STATE = SW3_MENUE_SW :: ReadState ()' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='START_MENUE_STATE' swap='1' >
													<flowline >
														<command class_type='decision' title='START_MENUE' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='START_MENUE_STATE = 1' swap='1' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																	<exp exp='MAIN_STATE = 2' />
																	<exp exp='LC = 1' />
																	<exp exp='X = 0' />
																	<exp exp='changed = 1' />
																	<exp exp='' />
																	<exp exp='Encoder_Ist_pass_flag = 1' />
																	<exp exp='' />
																	<exp exp='// Count = 0' />
																	<exp exp='count = BAND' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
																	<argument exp='1' />
																</command>
																<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='SIM_MODE = 1' swap='0' >
																	<flowline >
																		<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='TMR7' call='ENCODER' >
																			<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>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='1' />
							</flowline>
						</command>
						<command class_type='comment' title='' comment='READ FREQUENCY FROM UBITX AND STORE AND SHOW ON LCD LINE 1' textarea='62,33,62,33' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ReadCounter32' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED2_TX' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED1_RX' macro='TurnOff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='BAND_SELECTION' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Macro to call selected Band 
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='Initialise' textarea='133,-13,133,-13' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='loop' title='Linitialise variables' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='X = 0' />
									<exp exp='START_1 = 1' />
								</command>
								<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='TMR5' call='TIMER_5' >
									<settings timer='1' prescale='256' postscale='-1' rollover='65536' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
										<option value='0' />
										<option value='3' />
										<option value='65536' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
										<option value='-1' />
									</settings>
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='SETUP_MODE' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='0' exp='1' start='0' >
							<flowline >
								<command class_type='comment' title='' comment='Read encoder to select required Band and allocate band start values' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
								<command class_type='loop' title='DECODER_LOOP' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ReadCounter' >
											<return exp='ECODER_1_UPDATE_VALUE' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &gt; 3' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='Count = Count + 1' />
													<exp exp='changed = 1' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &lt; -3' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='Count = Count - 1' />
															<exp exp='changed = 1' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='changed = 0' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='Count = 8' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='Count = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='Count &lt; 1' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='Count = 1' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='START_1 = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='changed = 1' />
													<exp exp='Count = 1' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='changed = 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='START_1 = 0' />
												</command>
												<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='Count' >
													<case >
														<flowline >
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='BAND = 0' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='changed = 1' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;  &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_3' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot; SCROLL TO SELECT &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='200' type='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
														</flowline>
													</case>
													<case exp='1' >
														<flowline >
															<command class_type='comment' title='' comment=' 80M BAND' textarea='36,-7,36,-7' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='BAND = 1' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;  &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;      80M BAND &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='200' type='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='FREQ_1_MASTER = 3500000' />
															</command>
														</flowline>
													</case>
													<case exp='2' >
														<flowline >
															<command class_type='comment' title='' comment='SELECT  BAND 40M' textarea='36,6,36,6' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='BAND = 2' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;  &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;     40M BAND &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='200' type='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='FREQ_1_MASTER = 7000000' />
															</command>
														</flowline>
													</case>
													<case exp='3' >
														<flowline >
															<command class_type='comment' title='' comment='SELECT  BAND 20M' textarea='36,-7,36,-7' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='BAND = 3' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;  &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;      20M BAND &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='200' type='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='FREQ_1_MASTER = 14400000' />
															</command>
														</flowline>
													</case>
													<case exp='4' >
														<flowline >
															<command class_type='comment' title='' comment='SELECT  BAND 15M' textarea='36,14,36,14' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='BAND = 4' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;  &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;     15M BAND &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='200' type='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='FREQ_1_MASTER = 20000000' />
																<exp exp='' />
															</command>
														</flowline>
													</case>
													<case exp='5' >
														<flowline >
															<command class_type='comment' title='' comment='SELECT  BAND 10M' textarea='36,-5,36,-5' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='BAND = 5' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;  &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;      10M BAND&quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='200' type='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='FREQ_1_MASTER = 28000000' />
																<exp exp='' />
															</command>
														</flowline>
													</case>
													<case exp='6' >
														<flowline >
															<command class_type='comment' title='' comment='SELECT  SETTINGS' textarea='36,14,36,14' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='BAND = 6' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;  &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot; SETTINGS  &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='200' type='1' />
														</flowline>
													</case>
													<case exp='7' >
														<flowline >
															<command class_type='comment' title='' comment='SELECT  CALIBRATION' textarea='36,14,36,14' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='BAND = 7' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;  &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='PRINT_DATA = &quot;  CALIBRATION &quot;' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
															<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='200' type='1' />
														</flowline>
													</case>
												</command>
												<command class_type='comment' title='' comment='SET LED&apos;S  and LCD Screen' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED1_RX' macro='TurnOn' />
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED2_TX' macro='TurnOff' />
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED6_FAULT' macro='TurnOff' />
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='changed = 0' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
													<argument exp='0' />
													<argument exp='3' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
													<argument exp='&quot;SCROLL TO BAND &amp; RUN&quot;' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='Read swiches 

If run switch is set go to selected Band macro

Read and set ubitx / FT450 switch ' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
								<command class_type='loop' title='REED &amp; ACTION_SWICTCHES' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
									<flowline >
										<command class_type='comment' title='' comment='read ubitx / FT450  swich &amp; action ' textarea='220,-13,220,-13' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SW2_UBIT_FTD450' macro='ReadState' >
											<return exp='UBITX_FT450_STATE' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='UBITX_FT450_STATE = UBITX_FT450_STATE_OLD' swap='1' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='UBITX_FT450_STATE = 1' swap='0' >
													<flowline >
														<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED5_FT_450_SELECTED' macro='TurnOn' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED4_UBITX_SELECTED' macro='TurnOff' />
													</flowline>
													<flowline >
														<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED5_FT_450_SELECTED' macro='TurnOff' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED4_UBITX_SELECTED' macro='TurnOn' />
													</flowline>
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ReadCounter32' />
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='UBITX_FT450_STATE_OLD = UBITX_FT450_STATE' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='Read and action menue / run switch' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='START_MENUE_STATE = SW3_MENUE_SW :: ReadState ()' />
										</command>
										<command class_type='decision' title='START_MENUE' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='START_MENUE_STATE = 1' swap='0' >
											<flowline >
												<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='BAND' >
													<case >
														<flowline />
													</case>
													<case exp='1' >
														<flowline >
															<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='BANDS_1_TO_5' />
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='encoder_macr0_enable' />
														</flowline>
													</case>
													<case exp='2' >
														<flowline >
															<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='BANDS_1_TO_5' />
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='encoder_macr0_enable' />
														</flowline>
													</case>
													<case exp='3' >
														<flowline >
															<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='BANDS_1_TO_5' />
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='encoder_macr0_enable' />
														</flowline>
													</case>
													<case exp='4' >
														<flowline >
															<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='BANDS_1_TO_5' />
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='encoder_macr0_enable' />
														</flowline>
													</case>
													<case exp='5' >
														<flowline >
															<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='BANDS_1_TO_5' />
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='encoder_macr0_enable' />
														</flowline>
													</case>
													<case exp='6' >
														<flowline >
															<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='IOC0' call='ENCODER' >
																<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--8AAP--AP-8--z-P-z-------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--8AAP--AP-8--z-P-z-------------------------------------------------------------------------------------------------------------------------------------------------------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='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																<exp exp='ECODER_1_VALUE = 88' />
															</command>
															<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='SRTTINGS_BAND6' />
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='WriteCounter32' >
																<argument exp='6' />
															</command>
															<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='WriteCounter' >
																<argument exp='6' />
															</command>
														</flowline>
													</case>
													<case exp='7' >
														<flowline >
															<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
															<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='IOC0' call='ENCODER' >
																<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--8AAP--AP-8--z-P-z-------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--8AAP--AP-8--z-P-z-------------------------------------------------------------------------------------------------------------------------------------------------------8' >
																	<option value='-1' />
																	<option value='-1' />
																	<option value='-1' />
																	<option value='-1' />
																	<option value='-1' />
																	<option value='-1' />
																	<option value='-1' />
																	<option value='-1' />
																</settings>
															</command>
														</flowline>
													</case>
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
													<argument exp='0' />
													<argument exp='3' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
													<argument exp='&quot;  SELECT REQ BAND &quot;' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='START_MENUE_STATE = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='old' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='FREQ_SEND_TO_SDR' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='CHECK_MAIN_ENCODER' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='SW1_LOCAL_SDR' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Read SDR UNO  S METER' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
							<flowline folded='1' >
								<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='SendString' >
									<argument exp='&quot;SM0;&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveString' >
									<return exp='S_MTER_STRING' />
									<argument exp='200' />
									<argument exp='18' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='SNUMBER = StringToInt$ (S_MTER_STRING)' />
									<exp exp='SNUMBER = SNUMBER - 1' />
								</command>
								<command class_type='call' title='Call Component Macro' ccode='// Name: Call Component Macro, Type: Call Component Macro: lcd_I2C1::Cursor(2, 2)
FCD_0c591_lcd_I2C1__Cursor(2, 2);
' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Cursor' >
									<argument exp='17' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot;S&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintNumber' >
									<argument exp='SNUMBER' />
								</command>
								<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='100' type='1' />
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='SNUMBER &lt; 10' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
											<argument exp='&quot; &quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
									<argument exp='S_MTER_STRING' />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Read SDR UNO  S METER' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
							<flowline folded='1' >
								<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='SendString' >
									<argument exp='&quot;SM0;&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveString' >
									<return exp='S_MTER_STRING' />
									<argument exp='200' />
									<argument exp='18' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='SNUMBER = StringToInt$ (S_MTER_STRING)' />
									<exp exp='SNUMBER = SNUMBER - 1' />
								</command>
								<command class_type='call' title='Call Component Macro' ccode='// Name: Call Component Macro, Type: Call Component Macro: lcd_I2C1::Cursor(2, 2)
FCD_0c591_lcd_I2C1__Cursor(2, 2);
' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Cursor' >
									<argument exp='17' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot;S&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintNumber' >
									<argument exp='SNUMBER' />
								</command>
								<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='100' type='1' />
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='SNUMBER &lt; 10' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
											<argument exp='&quot; &quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
									<argument exp='S_MTER_STRING' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='1. Check emcoder for changes
Note encoder set to have 3 speeds for changing frequwncy by amount
encoder is rotated
ie 500Hz  5KHz or 10KHz

2. If Encoder has changed
   Update LCD Display 
   Update either UBITX or FT450 Frequency depending on UBITX / FT450 selected
   Update SDR Frequency 

3. Every 250ms scan SDR Frequency and S meter
   If Frequency is different from LCD display
   Update LCD and either UBITX or FT450 depending on UBITX / FT450 selected 
   Update LCD with Latest S Meter value 

FREQ_1_DISPLAY   Long integer Freaquency value of LCD Display 
FREQ_1_ENCODER   Long integer Freaquency value ENCODER
FREQ_1_SDR       Long integer Freaquency value of SDR
Above used for checking making all the same

ENCODER_1_UDATE _VALUE    No of HZ to be added or subtracted from Frequecy 
derived from latest encoder change

LCD_DISPLAY_STRING  String to preint on LCD derived from FREQ_1_DISPLAY
variable
Format is  xxx.xxx,xxx MHz ie 14.245,000 MHz' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='ECODER_1_UPDATE_VALUE = -500' />
							<exp exp='' />
							<exp exp='' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ReadCounter' >
							<return exp='ECODER_1_UPDATE_VALUE' />
						</command>
						<command class_type='decision' title='Decision' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &gt; 0' swap='0' >
							<flowline >
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='200' type='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ReadCounter' >
									<return exp='ECODER_1_UPDATE_VALUE' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &lt;&gt; 0 OR Encoder_Ist_pass_flag = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &lt; -3' swap='0' >
									<flowline >
										<command class_type='decision' title='' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &lt; -8' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_VALUE &lt; -12' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='ECODER_1_UPDATE_VALUE = -10000' />
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='ECODER_1_UPDATE_VALUE = -10000' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='ECODER_1_UPDATE_VALUE = -500' />
													<exp exp='' />
													<exp exp='' />
												</command>
											</flowline>
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='FREQ_1_ENCODER = FREQ_1_ENCODER + ECODER_1_UPDATE_VALUE' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &gt; 3' swap='0' >
									<flowline >
										<command class_type='decision' title='' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &gt; 12' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &gt; 15' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='ECODER_1_UPDATE_VALUE = 10000' />
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='ECODER_1_UPDATE_VALUE = 5000' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='ECODER_1_UPDATE_VALUE = 500' />
													<exp exp='' />
													<exp exp='' />
												</command>
											</flowline>
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='FREQ_1_ENCODER = FREQ_1_ENCODER + ECODER_1_UPDATE_VALUE' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='FREQ_1_DISPLAY = FREQ_1_ENCODER' swap='1' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
											<argument exp='2' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='DISPLAY_STRING_2 = ToString$ (FREQ_1_ENCODER)' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='BCD_TEMP_STRING = DISPLAY_STRING_2' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='FREQ_1_ENCODER &lt; 10000000' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='FREQ_LENGTH = 6' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
													<argument exp='3' />
													<argument exp='1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='LCD_DISPLAY_STRING = &quot;,&quot; + Mid$ (DISPLAY_STRING_2,4,3)' />
													<exp exp='LCD_DISPLAY_STRING = &quot;.&quot; + Mid$ (DISPLAY_STRING_2,1,3) + LCD_DISPLAY_STRING' />
													<exp exp='LCD_DISPLAY_STRING = Mid$ (DISPLAY_STRING_2,0,1) + LCD_DISPLAY_STRING' />
													<exp exp='LCD_DISPLAY_STRING = LCD_DISPLAY_STRING + &quot; MHz&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
													<argument exp='LCD_DISPLAY_STRING' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  100 meg 10 meg' />
													<exp exp='Send_array[0] = 0' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  1 meg 100k' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,0,1)' />
													<exp exp='Send_array[1] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,1,1)' />
													<exp exp='Send_array[1] = Send_array[1] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='// array[0]  10k 1k' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,2,1)' />
													<exp exp='Send_array[2] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,3,1)' />
													<exp exp='Send_array[2] = Send_array[2] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  100 hx 10 hz' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,4,1)' />
													<exp exp='Send_array[3] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,5,1)' />
													<exp exp='Send_array[3] = Send_array[3] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  send data command' />
													<exp exp='Send_array[4] = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='FREQ_LENGTH = 7' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
													<argument exp='3' />
													<argument exp='1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='LCD_DISPLAY_STRING = &quot;,&quot; + Mid$ (DISPLAY_STRING_2,5,3)' />
													<exp exp='LCD_DISPLAY_STRING = &quot;.&quot; + Mid$ (DISPLAY_STRING_2,2,3) + LCD_DISPLAY_STRING' />
													<exp exp='LCD_DISPLAY_STRING = Mid$ (DISPLAY_STRING_2,0,2) + LCD_DISPLAY_STRING' />
													<exp exp='LCD_DISPLAY_STRING = LCD_DISPLAY_STRING + &quot; MHz&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
													<argument exp='LCD_DISPLAY_STRING' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  100 meg 10 meg' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,0,1)' />
													<exp exp='Send_array[0] = StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='// array[0]  1 meg 100k' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,1,1)' />
													<exp exp='Send_array[1] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,2,1)' />
													<exp exp='Send_array[1] = Send_array[1] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='// array[0]  10k 1k' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,3,1)' />
													<exp exp='Send_array[2] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,4,1)' />
													<exp exp='Send_array[2] = Send_array[2] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  100 hx 10 hz' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,5,1)' />
													<exp exp='Send_array[3] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
													<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,6,1)' />
													<exp exp='Send_array[3] = Send_array[3] + StringToInt$ (BCD_TEMP_STRING_2)' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='// array[0]  send data command' />
													<exp exp='Send_array[4] = 1' />
												</command>
											</flowline>
										</command>
										<command class_type='comment' title='' comment='IF IN REMOTE UPDATE SDR ' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='SDR_STRING = &quot;FA000&quot; + DISPLAY_STRING_2' />
											<exp exp='SDR_STRING = SDR_STRING + &quot;;&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='SendString' >
											<argument exp='SDR_STRING' />
										</command>
										<command class_type='call' title='WAIT FOR SDR FREQUENCY MESSAGE' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='ReceiveString' >
											<return exp='freq_string' />
											<argument exp='100' />
											<argument exp='14' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='UBITX_FT450_STATE = 0' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='SEND_ARRAY_TO_UBITX' />
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='FREQ_1_DISPLAY = FREQ_1_ENCODER' />
											<exp exp='ECODER_1_UPDATE_VALUE = 0' />
											<exp exp='FREQ_1_SDR = FREQ_1_DISPLAY' />
											<exp exp='y = 0' />
											<exp exp='TIMER_5_FLAG = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='USING TIMER 5 EVERY 200ms can sdr fir latest freq

if  changed from display value update display value and ubitx and encoder value 
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='Encoder_Ist_pass_flag = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SW2_UBIT_FTD450' macro='ReadState' >
							<return exp='UBITX_FT450_STATE' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='UBITX_FT450_STATE = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='TIMER_5_FLAG = 1' swap='0' >
									<flowline >
										<command class_type='loop' title='Read SDR UNO frequency ' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
											<flowline >
												<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='200' type='1' />
												<command class_type='call' title='WAIT FOR SDR FREQUENCY MESSAGE' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='ReceiveString' >
													<return exp='freq_string' />
													<argument exp='50' />
													<argument exp='14' />
												</command>
												<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='ReceiveChar' >
													<argument exp='0' />
												</command>
												<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='ReceiveChar' >
													<argument exp='0' />
												</command>
												<command class_type='call' title='SEND REQUEST TO SCDA FO CURRENT FEQUENCY' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='SendString' >
													<argument exp='&quot;FA;&quot;' />
												</command>
												<command class_type='call' title='WAIT FOR SDR FREQUENCY MESSAGE' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='ReceiveString' >
													<return exp='freq_string' />
													<argument exp='200' />
													<argument exp='14' />
												</command>
												<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='temp_number = 14250123' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='' />
													<exp exp='freq_string = Mid$ (freq_string,2,11)' />
													<exp exp='' />
													<exp exp='FREQ_1_SDR = StringToInt$ (freq_string)' />
													<exp exp='' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
													<argument exp='2' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
													<argument exp='0' />
													<argument exp='2' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
													<argument exp='freq_string' />
												</command>
												<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='50' type='1' />
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
													<argument exp='18' />
													<argument exp='2' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
													<argument exp='&quot;y&quot;' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='TIMER_5_FLAG = 0' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='FREQ_1_SDR = FREQ_1_DISPLAY' swap='1' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='DISPLAY_STRING_2 = ToString$ (FREQ_1_SDR)' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='BCD_TEMP_STRING = DISPLAY_STRING_2' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='' />
															<exp exp='' />
															<exp exp='FREQ_1_ENCODER = FREQ_1_SDR' />
															<exp exp='FREQ_1_DISPLAY = FREQ_1_SDR' />
															<exp exp='' />
															<exp exp='SDR_FLAG = 1' />
															<exp exp='' />
															<exp exp='' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='FREQ_1_SDR &lt; 10000000' swap='0' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																	<exp exp='FREQ_LENGTH = 6' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
																	<argument exp='3' />
																	<argument exp='1' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																	<exp exp='LCD_DISPLAY_STRING = &quot;,&quot; + Mid$ (DISPLAY_STRING_2,4,3)' />
																	<exp exp='LCD_DISPLAY_STRING = &quot;.&quot; + Mid$ (DISPLAY_STRING_2,1,3) + LCD_DISPLAY_STRING' />
																	<exp exp='LCD_DISPLAY_STRING = Mid$ (DISPLAY_STRING_2,0,1) + LCD_DISPLAY_STRING' />
																	<exp exp='LCD_DISPLAY_STRING = LCD_DISPLAY_STRING + &quot; MHz&quot;' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
																	<argument exp='LCD_DISPLAY_STRING' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='// array[0]  100 meg 10 meg' />
																	<exp exp='Send_array[0] = 0' />
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='// array[0]  1 meg 100k' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,0,1)' />
																	<exp exp='Send_array[1] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,1,1)' />
																	<exp exp='Send_array[1] = Send_array[1] + StringToInt$ (BCD_TEMP_STRING_2)' />
																	<exp exp='' />
																	<exp exp='// array[0]  10k 1k' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,2,1)' />
																	<exp exp='Send_array[2] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,3,1)' />
																	<exp exp='Send_array[2] = Send_array[2] + StringToInt$ (BCD_TEMP_STRING_2)' />
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='// array[0]  100 hx 10 hz' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,4,1)' />
																	<exp exp='Send_array[3] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,5,1)' />
																	<exp exp='Send_array[3] = Send_array[3] + StringToInt$ (BCD_TEMP_STRING_2)' />
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='// array[0]  send data command' />
																	<exp exp='Send_array[4] = 1' />
																</command>
															</flowline>
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																	<exp exp='FREQ_LENGTH = 7' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
																	<argument exp='3' />
																	<argument exp='1' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																	<exp exp='LCD_DISPLAY_STRING = &quot;,&quot; + Mid$ (DISPLAY_STRING_2,5,3)' />
																	<exp exp='LCD_DISPLAY_STRING = &quot;.&quot; + Mid$ (DISPLAY_STRING_2,2,3) + LCD_DISPLAY_STRING' />
																	<exp exp='LCD_DISPLAY_STRING = Mid$ (DISPLAY_STRING_2,0,2) + LCD_DISPLAY_STRING' />
																	<exp exp='LCD_DISPLAY_STRING = LCD_DISPLAY_STRING + &quot; MHz&quot;' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
																	<argument exp='LCD_DISPLAY_STRING' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='// array[0]  100 meg 10 meg' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,0,1)' />
																	<exp exp='Send_array[0] = StringToInt$ (BCD_TEMP_STRING_2)' />
																	<exp exp='' />
																	<exp exp='// array[0]  1 meg 100k' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,1,1)' />
																	<exp exp='Send_array[1] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,2,1)' />
																	<exp exp='Send_array[1] = Send_array[1] + StringToInt$ (BCD_TEMP_STRING_2)' />
																	<exp exp='' />
																	<exp exp='// array[0]  10k 1k' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,3,1)' />
																	<exp exp='Send_array[2] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,4,1)' />
																	<exp exp='Send_array[2] = Send_array[2] + StringToInt$ (BCD_TEMP_STRING_2)' />
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='// array[0]  100 hx 10 hz' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,5,1)' />
																	<exp exp='Send_array[3] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																	<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,6,1)' />
																	<exp exp='Send_array[3] = Send_array[3] + StringToInt$ (BCD_TEMP_STRING_2)' />
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='// array[0]  send data command' />
																	<exp exp='Send_array[4] = 1' />
																</command>
															</flowline>
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='SEND_ARRAY_TO_UBITX' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='' />
															<exp exp='' />
															<exp exp='FREQ_1_ENCODER = FREQ_1_SDR' />
															<exp exp='FREQ_1_DISPLAY = FREQ_1_SDR' />
															<exp exp='' />
															<exp exp='SDR_FLAG = 1' />
															<exp exp='' />
															<exp exp='' />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='loop' title='Read SDR UNO  S METER' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
													<flowline folded='1' >
														<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
															<argument exp='0' />
														</command>
														<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
															<argument exp='0' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='SendString' >
															<argument exp='&quot;SM0;&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveString' >
															<return exp='S_MTER_STRING' />
															<argument exp='200' />
															<argument exp='18' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
															<exp exp='SNUMBER = StringToInt$ (S_MTER_STRING)' />
															<exp exp='SNUMBER = SNUMBER - 1' />
														</command>
														<command class_type='call' title='Call Component Macro' ccode='// Name: Call Component Macro, Type: Call Component Macro: lcd_I2C1::Cursor(2, 2)
FCD_0c591_lcd_I2C1__Cursor(2, 2);
' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Cursor' >
															<argument exp='17' />
															<argument exp='0' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
															<argument exp='&quot;S&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintNumber' >
															<argument exp='SNUMBER' />
														</command>
														<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='100' type='1' />
														<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='SNUMBER &lt; 10' swap='0' >
															<flowline >
																<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
																	<argument exp='&quot; &quot;' />
																</command>
															</flowline>
															<flowline />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
															<argument exp='S_MTER_STRING' />
														</command>
													</flowline>
												</command>
												<command class_type='loop' title='Read SDR UNO  S METER' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
													<flowline folded='1' >
														<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
															<argument exp='0' />
														</command>
														<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
															<argument exp='0' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='SendString' >
															<argument exp='&quot;SM0;&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveString' >
															<return exp='S_MTER_STRING' />
															<argument exp='200' />
															<argument exp='18' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
															<exp exp='SNUMBER = StringToInt$ (S_MTER_STRING)' />
															<exp exp='SNUMBER = SNUMBER - 1' />
														</command>
														<command class_type='call' title='Call Component Macro' ccode='// Name: Call Component Macro, Type: Call Component Macro: lcd_I2C1::Cursor(2, 2)
FCD_0c591_lcd_I2C1__Cursor(2, 2);
' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Cursor' >
															<argument exp='17' />
															<argument exp='0' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
															<argument exp='&quot;S&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintNumber' >
															<argument exp='SNUMBER' />
														</command>
														<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='100' type='1' />
														<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='SNUMBER &lt; 10' swap='0' >
															<flowline >
																<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
																	<argument exp='&quot; &quot;' />
																</command>
															</flowline>
															<flowline />
														</command>
														<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
															<argument exp='S_MTER_STRING' />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='TIMER_5_FLAG = 0' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='y = 0' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='Y = 0' swap='0' >
									<flowline folded='1' >
										<command class_type='decision' title='Decision' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='TIMER_5_FLAG = 1' swap='0' >
											<flowline >
												<command class_type='loop' title='Read SDR UNO frequency ' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' type='2' exp='1' >
													<flowline >
														<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='200' type='1' />
														<command class_type='call' title='WAIT FOR SDR FREQUENCY MESSAGE' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveString' >
															<return exp='freq_string' />
															<argument exp='50' />
															<argument exp='14' />
														</command>
														<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
															<argument exp='0' />
														</command>
														<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
															<argument exp='0' />
														</command>
														<command class_type='call' title='SEND REQUEST TO SCDA FO CURRENT FEQUENCY' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='SendString' >
															<argument exp='&quot;FA;&quot;' />
														</command>
														<command class_type='call' title='WAIT FOR SDR FREQUENCY MESSAGE' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveString' >
															<return exp='freq_string' />
															<argument exp='200' />
															<argument exp='14' />
														</command>
														<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
															<exp exp='temp_number = 14250123' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
															<exp exp='' />
															<exp exp='freq_string = Mid$ (freq_string,2,11)' />
															<exp exp='' />
															<exp exp='FREQ_1_SDR = StringToInt$ (freq_string)' />
															<exp exp='' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='ClearLine' >
															<argument exp='2' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Cursor' >
															<argument exp='0' />
															<argument exp='2' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
															<argument exp='freq_string' />
														</command>
														<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='50' type='1' />
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Cursor' >
															<argument exp='18' />
															<argument exp='2' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
															<argument exp='&quot;y&quot;' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
															<exp exp='TIMER_5_FLAG = 0' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='FREQ_1_SDR = FREQ_1_DISPLAY' swap='1' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																	<exp exp='DISPLAY_STRING_2 = ToString$ (FREQ_1_SDR)' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																	<exp exp='BCD_TEMP_STRING = DISPLAY_STRING_2' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='FREQ_1_ENCODER = FREQ_1_SDR' />
																	<exp exp='FREQ_1_DISPLAY = FREQ_1_SDR' />
																	<exp exp='' />
																	<exp exp='SDR_FLAG = 1' />
																	<exp exp='' />
																	<exp exp='' />
																</command>
																<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='FREQ_1_SDR &lt; 10000000' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																			<exp exp='FREQ_LENGTH = 6' />
																		</command>
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Cursor' >
																			<argument exp='3' />
																			<argument exp='1' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																			<exp exp='LCD_DISPLAY_STRING = &quot;,&quot; + Mid$ (DISPLAY_STRING_2,4,3)' />
																			<exp exp='LCD_DISPLAY_STRING = &quot;.&quot; + Mid$ (DISPLAY_STRING_2,1,3) + LCD_DISPLAY_STRING' />
																			<exp exp='LCD_DISPLAY_STRING = Mid$ (DISPLAY_STRING_2,0,1) + LCD_DISPLAY_STRING' />
																			<exp exp='LCD_DISPLAY_STRING = LCD_DISPLAY_STRING + &quot; MHz&quot;' />
																		</command>
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
																			<argument exp='LCD_DISPLAY_STRING' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																			<exp exp='' />
																			<exp exp='' />
																			<exp exp='// array[0]  100 meg 10 meg' />
																			<exp exp='Send_array[0] = 0' />
																			<exp exp='' />
																			<exp exp='' />
																			<exp exp='// array[0]  1 meg 100k' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,0,1)' />
																			<exp exp='Send_array[1] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,1,1)' />
																			<exp exp='Send_array[1] = Send_array[1] + StringToInt$ (BCD_TEMP_STRING_2)' />
																			<exp exp='' />
																			<exp exp='// array[0]  10k 1k' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,2,1)' />
																			<exp exp='Send_array[2] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,3,1)' />
																			<exp exp='Send_array[2] = Send_array[2] + StringToInt$ (BCD_TEMP_STRING_2)' />
																			<exp exp='' />
																			<exp exp='' />
																			<exp exp='// array[0]  100 hx 10 hz' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,4,1)' />
																			<exp exp='Send_array[3] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,5,1)' />
																			<exp exp='Send_array[3] = Send_array[3] + StringToInt$ (BCD_TEMP_STRING_2)' />
																			<exp exp='' />
																			<exp exp='' />
																			<exp exp='' />
																			<exp exp='// array[0]  send data command' />
																			<exp exp='Send_array[4] = 1' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																			<exp exp='FREQ_LENGTH = 7' />
																		</command>
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Cursor' >
																			<argument exp='3' />
																			<argument exp='1' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																			<exp exp='LCD_DISPLAY_STRING = &quot;,&quot; + Mid$ (DISPLAY_STRING_2,5,3)' />
																			<exp exp='LCD_DISPLAY_STRING = &quot;.&quot; + Mid$ (DISPLAY_STRING_2,2,3) + LCD_DISPLAY_STRING' />
																			<exp exp='LCD_DISPLAY_STRING = Mid$ (DISPLAY_STRING_2,0,2) + LCD_DISPLAY_STRING' />
																			<exp exp='LCD_DISPLAY_STRING = LCD_DISPLAY_STRING + &quot; MHz&quot;' />
																		</command>
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
																			<argument exp='LCD_DISPLAY_STRING' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																			<exp exp='' />
																			<exp exp='' />
																			<exp exp='// array[0]  100 meg 10 meg' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,0,1)' />
																			<exp exp='Send_array[0] = StringToInt$ (BCD_TEMP_STRING_2)' />
																			<exp exp='' />
																			<exp exp='// array[0]  1 meg 100k' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,1,1)' />
																			<exp exp='Send_array[1] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,2,1)' />
																			<exp exp='Send_array[1] = Send_array[1] + StringToInt$ (BCD_TEMP_STRING_2)' />
																			<exp exp='' />
																			<exp exp='// array[0]  10k 1k' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,3,1)' />
																			<exp exp='Send_array[2] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,4,1)' />
																			<exp exp='Send_array[2] = Send_array[2] + StringToInt$ (BCD_TEMP_STRING_2)' />
																			<exp exp='' />
																			<exp exp='' />
																			<exp exp='// array[0]  100 hx 10 hz' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,5,1)' />
																			<exp exp='Send_array[3] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
																			<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,6,1)' />
																			<exp exp='Send_array[3] = Send_array[3] + StringToInt$ (BCD_TEMP_STRING_2)' />
																			<exp exp='' />
																			<exp exp='' />
																			<exp exp='' />
																			<exp exp='// array[0]  send data command' />
																			<exp exp='Send_array[4] = 1' />
																		</command>
																	</flowline>
																</command>
																<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='SEND_ARRAY_TO_UBITX' />
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='QuadEncoder1' macro='ResetCounter' />
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																	<exp exp='' />
																	<exp exp='' />
																	<exp exp='FREQ_1_ENCODER = FREQ_1_SDR' />
																	<exp exp='FREQ_1_DISPLAY = FREQ_1_SDR' />
																	<exp exp='' />
																	<exp exp='SDR_FLAG = 1' />
																	<exp exp='' />
																	<exp exp='' />
																</command>
															</flowline>
															<flowline />
														</command>
														<command class_type='loop' title='Read SDR UNO  S METER' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' type='2' exp='1' >
															<flowline folded='1' >
																<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
																	<argument exp='0' />
																</command>
																<command class_type='call' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveChar' >
																	<argument exp='0' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='SendString' >
																	<argument exp='&quot;SM0;&quot;' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='SDRUNO_UART' macro='ReceiveString' >
																	<return exp='S_MTER_STRING' />
																	<argument exp='200' />
																	<argument exp='18' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																	<exp exp='SNUMBER = StringToInt$ (S_MTER_STRING)' />
																	<exp exp='SNUMBER = SNUMBER - 1' />
																</command>
																<command class_type='call' title='Call Component Macro' ccode='// Name: Call Component Macro, Type: Call Component Macro: lcd_I2C1::Cursor(2, 2)
FCD_0c591_lcd_I2C1__Cursor(2, 2);
' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Cursor' >
																	<argument exp='17' />
																	<argument exp='0' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
																	<argument exp='&quot;S&quot;' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintNumber' >
																	<argument exp='SNUMBER' />
																</command>
																<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='100' type='1' />
																<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='SNUMBER &lt; 10' swap='0' >
																	<flowline >
																		<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
																			<argument exp='&quot; &quot;' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
																<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='PrintString' >
																	<argument exp='S_MTER_STRING' />
																</command>
															</flowline>
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
															<exp exp='TIMER_5_FLAG = 0' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='100' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='disable_encoder1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='0' name='IOC0' >
							<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>
					</flowline>
				</macro>
				<macro >
					<flowline name='READ_SDR_FREQ1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='ReceiveString' >
							<return exp='freq_string' />
							<argument exp='200' />
							<argument exp='14' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='SendString' >
							<argument exp='&quot;FA;&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='ReceiveString' >
							<return exp='freq_string' />
							<argument exp='500' />
							<argument exp='14' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='// freq_string = &quot;FA0001417509;&quot;' />
							<exp exp='' />
							<exp exp='freq_string = Mid$ (freq_string,2,11)' />
							<exp exp='' />
							<exp exp='FREQ_1_SDR = StringToInt$ (freq_string)' />
							<exp exp='' />
							<exp exp='FREQ_1_MASTER = FREQ_1_SDR' />
						</command>
						<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='FREQ_1_SDR = StringToInt$ (freq_string)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='READ_ENCODER_FREQUENCY' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='GET LATEST ENCODER CHANGE VALUE' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ReadCounter' >
							<return exp='ECODER_1_UPDATE_VALUE' />
						</command>
						<command class_type='comment' title='' comment='ADJUST CHANGE VALUE TO SUIT REQ ENCODER UPDATE VALUE AND ADD TO FREQ1_MASTER
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &lt;&gt; 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &lt; -3' swap='0' >
									<flowline >
										<command class_type='decision' title='' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &lt; -8' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_VALUE &lt; -12' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='ECODER_1_UPDATE_VALUE = -10000' />
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='ECODER_1_UPDATE_VALUE = -10000' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='ECODER_1_UPDATE_VALUE = -250' />
													<exp exp='' />
													<exp exp='' />
												</command>
											</flowline>
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='' />
											<exp exp='FREQ_1_MASTER = FREQ_1_MASTER + ECODER_1_UPDATE_VALUE' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &gt; 3' swap='0' >
									<flowline >
										<command class_type='decision' title='' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &gt; 12' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='ECODER_1_UPDATE_VALUE &gt; 15' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='ECODER_1_UPDATE_VALUE = 10000' />
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
															<exp exp='ECODER_1_UPDATE_VALUE = 5000' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='ECODER_1_UPDATE_VALUE = 250' />
													<exp exp='' />
													<exp exp='' />
												</command>
											</flowline>
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='' />
											<exp exp='FREQ_1_MASTER = FREQ_1_MASTER + ECODER_1_UPDATE_VALUE' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='CLEAR_DIGITAL_OUTPUT_' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='DIGIVALUE' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='ARDUINO MEGA2560   PROCESSOR = 0
ARDUINO UNO        PROCESSOR = 1
ECIO40-P16         PROCESSOR = 2' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='PROCESSOR = 0' swap='0' >
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='.DIGIVALUE' >
									<case >
										<flowline >
											<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='.DIGIVALUE' >
												<case >
													<flowline />
												</case>
												<case exp='10' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048582' mask='128' exp='0' usechipref='1' />
													</flowline>
												</case>
												<case exp='11' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048581' mask='1' exp='0' usechipref='1' />
													</flowline>
												</case>
												<case exp='12' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048581' mask='2' exp='0' usechipref='1' />
													</flowline>
												</case>
												<case exp='13' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048582' mask='64' exp='0' usechipref='1' />
													</flowline>
												</case>
												<case exp='14' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048579' mask='1' exp='0' usechipref='1' />
													</flowline>
												</case>
												<case exp='15' >
													<flowline >
														<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048579' mask='2' exp='0' usechipref='1' />
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
									<case exp='0' >
										<flowline />
									</case>
									<case exp='1' >
										<flowline />
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='1' exp='0' usechipref='1' />
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='2' exp='0' usechipref='1' />
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='4' exp='0' usechipref='1' />
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='8' exp='0' usechipref='1' />
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='16' exp='0' usechipref='1' />
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='32' exp='0' usechipref='1' />
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='64' exp='0' usechipref='1' />
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='output' title='Output' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='128' exp='0' usechipref='1' />
										</flowline>
									</case>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='PROCESSOR = 1' swap='0' >
							<flowline />
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='PROCESSOR = 2' swap='0' >
							<flowline />
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PRINT_LINE_3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='3' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
							<argument exp='PRINT_DATA' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PRINT_LINE_2' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
							<argument exp='PRINT_DATA' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PRINT_LINE_0_NUMBER' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintNumber' >
							<argument exp='Count' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ENCODER' description='Example program showing how to use a quadrature encoder component.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='change' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='CheckForChanges' >
							<return exp='.change' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='.change = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='changed = .change' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Check for any errors' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='.change = 255' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='CountError = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PRINT_LINE_1' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='1' />
						</command>
						<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='10' type='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
							<argument exp='PRINT_DATA' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PRINT_LINE_0' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintString' >
							<argument exp='PRINT_DATA' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SRTTINGS_BAND6' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='Initialise' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
									<argument exp='3' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
									<argument exp='0' />
									<argument exp='3' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='TX_RX_STATE_OLD = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='Set UBITX to Required Band ' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='X = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='90' type='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='FlushBuffer' />
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='LC = 0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='90' type='1' />
						<command class_type='comment' title='' comment='READ FREQUENCY FROM UBITX AND STORE AND SHOW ON LCD LINE 1' textarea='62,33,62,33' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='0' exp='LC = 0' start='0' >
							<flowline >
								<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
									<flowline >
										<command class_type='comment' title='' comment='GET ANY NEW SCREEN UPDATES FROM UBITX' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='GetNumberBytes' >
													<return exp='num_buffer' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='num_buffer &gt; 16' swap='0' >
													<flowline >
														<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='GetByte' >
															<return exp='got_byte' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='got_byte = 60' swap='0' >
															<flowline >
																<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																	<exp exp='SERIAL_DATA_INPROGRESS = 1' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
																	<argument exp='0' />
																	<argument exp='0' />
																</command>
																<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
																	<argument exp='2' />
																	<argument exp='1' />
																</command>
																<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='16' >
																	<flowline >
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='' macro='' />
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='GetByte' >
																			<return exp='got_byte' />
																		</command>
																		<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='got_byte = 0' swap='0' >
																			<flowline >
																				<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																					<exp exp='got_byte = 32' />
																				</command>
																			</flowline>
																			<flowline />
																		</command>
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintAscii' >
																			<argument exp='got_byte' />
																		</command>
																	</flowline>
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='GetByte' >
																	<return exp='got_byte' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='GetByte' >
																	<return exp='got_byte' />
																</command>
															</flowline>
															<flowline />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='got_byte = 61' swap='0' >
															<flowline >
																<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																	<exp exp='SERIAL_DATA_INPROGRESS = 1' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
																	<argument exp='0' />
																	<argument exp='1' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Cursor' >
																	<argument exp='2' />
																	<argument exp='1' />
																</command>
																<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='16' >
																	<flowline >
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='' macro='' />
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='GetByte' >
																			<return exp='got_byte' />
																		</command>
																		<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='got_byte = 0' swap='0' >
																			<flowline >
																				<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																					<exp exp='got_byte = 32' />
																				</command>
																			</flowline>
																			<flowline />
																		</command>
																		<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintAscii' >
																			<argument exp='got_byte' />
																		</command>
																	</flowline>
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='GetByte' >
																	<return exp='got_byte' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='GetByte' >
																	<return exp='got_byte' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='Read and action switches

' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
								<command class_type='loop' title='ACTION_SWICTCHES' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
									<flowline >
										<command class_type='comment' title='' comment='Check menu switch' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
										<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='START_MENUE_STATE = SW3_MENUE_SW :: ReadState ()' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='START_MENUE_STATE' swap='1' >
													<flowline >
														<command class_type='decision' title='START_MENUE' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='START_MENUE_STATE = 1' swap='1' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
																	<exp exp='MAIN_STATE = 2' />
																	<exp exp='LC = 1' />
																	<exp exp='X = 0' />
																	<exp exp='changed = 1' />
																	<exp exp='' />
																	<exp exp='// Count = 0' />
																	<exp exp='count = BAND' />
																</command>
																<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
																	<argument exp='1' />
																</command>
																<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='SIM_MODE = 1' swap='0' >
																	<flowline >
																		<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='TMR7' call='ENCODER' >
																			<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>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='1' />
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ReadCounter32' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED2_TX' macro='TurnOff' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='LED1_RX' macro='TurnOff' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TIMER_5' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='y = y + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='y &gt; 4' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='TIMER_5_FLAG = 1' />
									<exp exp='y = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GET_DATA_FROM_UNO' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Read    SDR UNO frequency 
Read    UBIT frequncy
Compare and if different update BIT TX with new frequency 
Read remote TX / RX Switch has changed
If satus has changed then 
If TX mute SDR UNO and set UBITX to TX
If Rx mode unmute SDR UNO and set UBITX to RX ' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='loop' title='Read SDR UNO frequency ' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
							<flowline >
								<command class_type='sim' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDR_UNO_UART' macro='Receive' >
									<return exp='input_byte' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='' macro='' />
								<command class_type='sim' title='CLEAR SCDA SDR RX BUFFER ' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDR_UNO_UART' macro='Receive' >
									<return exp='input_byte' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='SEND REQUEST TO SCDA FO CURRENT FEQUENCY' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDR_UNO_UART' macro='SendString' >
									<argument exp='&quot;FA;&quot;' />
								</command>
								<command class_type='sim' title='WAIT FOR SDR FREQUENCY MESSAGE' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDR_UNO_UART' macro='ReceiveString' >
									<return exp='input_byte' />
									<argument exp='freq_string' />
									<argument exp='14' />
									<argument exp='20' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='convert uno string to integer mumber
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='loop' title='Convert SDR UNO Frequency format to suit UBITX format and return' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
							<flowline >
								<command class_type='comment' title='' comment='Takes received input string from SDR UNO and concerts it into a BCD
aray to send to ubitx 

Format of input string 

freq_string  = FA0001417500;  equivalent to Freq of  14.175  MHz
freq_string  = FA0014615000;  equivalent to Freq of 146.175  MHz

Routine strips out each character in turn and converts to
an integer value

Value is themn inserted into a Data array with 2 integers into 
each array byte

Instrction byte added to barray[5]

barray[0] 100 / 10 MHz
barray[1] 1 MHz / 100 kHz
barray[2] 10 / 1  kHz
barray[3] 100 / 10 Hz

barray then sent on com3 to ubitx


' textarea='289,-5,289,-5' disable='1' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='BCD_TEMP_STRING = freq_string' />
									<exp exp='' />
									<exp exp='' />
									<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,5,1)' />
									<exp exp='Send_array[0] = StringToInt$ (BCD_TEMP_STRING_2)' />
									<exp exp='' />
									<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,6,1)' />
									<exp exp='Send_array[1] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
									<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,7,1)' />
									<exp exp='Send_array[1] = Send_array[1] + StringToInt$ (BCD_TEMP_STRING_2)' />
									<exp exp='' />
									<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,8,1)' />
									<exp exp='Send_array[2] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
									<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,9,1)' />
									<exp exp='Send_array[2] = Send_array[2] + StringToInt$ (BCD_TEMP_STRING_2)' />
									<exp exp='' />
									<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,10,1)' />
									<exp exp='Send_array[3] = StringToInt$ (BCD_TEMP_STRING_2) &lt;&lt; 4' />
									<exp exp='BCD_TEMP_STRING_2 = Mid$ (BCD_TEMP_STRING,11,1)' />
									<exp exp='Send_array[3] = Send_array[3] + StringToInt$ (BCD_TEMP_STRING_2)' />
									<exp exp='' />
									<exp exp='Send_array[4] = 1' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Update if If frequency has changed from last  scan' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='Compare$ (sdruno_previous,freq_string,0)' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='sdruno_previous = freq_string' />
								</command>
								<command class_type='loop' title='Convert SDR UNO Frequency format to suit SCADA LCD display' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='temp_string = Mid$ (freq_string,2,1)' />
											<exp exp='n0_string = &quot;0&quot;' />
											<exp exp='input_byte = Compare$ (temp_string,&quot;0&quot;,0)' />
											<exp exp='count_1 = 0' />
											<exp exp='count_2 = 3' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='0' exp='input_byte = 0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
													<exp exp='' />
													<exp exp='' />
													<exp exp='' />
													<exp exp='temp_string = Mid$ (freq_string,count_2,1)' />
													<exp exp='input_byte = Compare$ (temp_string,n0_string,0)' />
													<exp exp='count_1 = count_1 + 1' />
													<exp exp='count_2 = count_2 + 1' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
											<exp exp='' />
											<exp exp='temp_string = Right$ (freq_string,12 - count_1)' />
											<exp exp='input_byte = Length$ (temp_string)' />
											<exp exp='temp_string = Left$ (temp_string,input_byte - 1)' />
											<exp exp='' />
											<exp exp='// ################  CALCS FOR SCDA DISPLAY OF FREQ' />
											<exp exp='TEMP2_STRING = &quot;,&quot; + Right$ (temp_string,3)' />
											<exp exp='TEMP2_STRING = &quot;.&quot; + Mid$ (temp_string,input_byte - 7,3) + TEMP2_STRING' />
											<exp exp='TEMP2_STRING = Left$ (temp_string,input_byte - 7) + TEMP2_STRING' />
											<exp exp='' />
											<exp exp='' />
											<exp exp='// ################  CALCS FOR UPDATING FT450D' />
											<exp exp='Temp3_string = Right$ (temp_string,9) + &quot;;&quot;' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='PRINT_DATA = TEMP2_STRING' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_3' />
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='SEND_ARRAY_TO_UBITX' />
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='RECIEIVE_ARRAY_FROM_UBITX' />
								<command class_type='calculation' title='SET_PTT_ON' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='Send_array[0] = 0x00' />
									<exp exp='Send_array[1] = 0x00' />
									<exp exp='Send_array[2] = 0x00' />
									<exp exp='Send_array[3] = 0x00' />
									<exp exp='Send_array[4] = 0x08' />
									<exp exp='' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='SEND_ARRAY_TO_UBITX' />
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='RECIEIVE_ARRAY_FROM_UBITX' />
								<command class_type='calculation' title='SET_PTT_OFF' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='Send_array[0] = 0x00' />
									<exp exp='Send_array[1] = 0x00' />
									<exp exp='Send_array[2] = 0x00' />
									<exp exp='Send_array[3] = 0x00' />
									<exp exp='Send_array[4] = 0x88' />
									<exp exp='' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='SEND_ARRAY_TO_UBITX' />
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='RECIEIVE_ARRAY_FROM_UBITX' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='temp4_string = Temp2_string' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='TIMER_4_INTERUPT' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='TIMER_4_FLAG = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='RECIEIVE_ARRAY_FROM_UBITX' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='X = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='5' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='UBITX_UART' macro='ReceiveChar' >
									<return exp='REC_BYTE_NO' />
									<argument exp='50' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='Receive_array[x] = REC_BYTE_NO' />
									<exp exp='' />
									<exp exp='X = X + 1' />
									<exp exp='' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DUMP' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='RELEASE NOTES 

Date 22-08-2020

===================   Bugs         ======================================

None known 

===================   Still to implement &amp; TEST  =====================

TX Function 
Ubitx Band control
Ubitx Setting control
Mute control
RIT control
FT450 tune control
S meter input for Ubitx
SWR input

======================================================================' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='PIN NO	FUNCTION 	PORT 	ITEM 	TITLE	COLOUR 
					
1	VDD OUT				
2	GND				
3	MCLR				
4	IP 	RB8	SW6 	RX TX 	
5	IP 	RB9	SW5	KEY 	
6	IP 	RB10	SW4	RIT 	
7	IP 	RB11	SW3	RUN / MENUE 	
8	IP 	RB12	SW2	SPARE	
9	IP 	RB13	SW1	SPARE	
10		RB14			
11		RB15			
12		RG7			
13	SERIAL CH 1	RD0	TX &gt;	PROG / DEBUG	
14		RD1	RX &lt;		
15	SERIAL CH 2	RD2	TX &gt;	UBITX	
16		RD3	RX &lt;		
17	SERIAL CH 3	RD4	TX &gt;	SDR UNO	
18		RD5	RX &lt;		
19	SERIAL CH 4	RD6	TX &gt;	Tuner	
20		RD7	RX &lt;		
					
21	NC				
22		RE3			
23		RE0	IN - B		
24	ENCODER	RE1	IN - A		
25		RE2			
26	GND				
27		RF0	SDA-1		
28	I2C-1	RF1	SCL-1		
29	POWER IP 	RG6			
30	SWR IP 	RG8			
31		RG9			
32	RELAY DRIVER 2	RB0			
33	RELAY DRIVER 1	RB1			
34	OP	RB2	LED 1	RX	Green 
35	OP	RB3	LED 2	TX 	Red 
36	OP	RB4	LED 3	FAULT 	Red 
37	OP	RB5	LED 4	TX- UBIT 	Yellow
38	OP	RB6	LED 5	TX-FT450D	Yellow
39	OP	RB7	LED 6	TRANSVERTER MODE 	Yellow
40	VDD IN				
					
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='bcd_conversion' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='/**
     * Decodes an unsigned packed BCD to its integer number.
     *
     * @param bcd the BCD to decode.
     * @return the decoded integer number.
     */
    public static long bcdToDecimal(byte[] bcd) {
        return Long.parseLong(BcdConverter.bcdToString(bcd));
    }
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='ecodes an unsigned packed BCD to its integer number wrapped in a {@code String}.
     *
     * @param bcd the BCD to decode.
     * @return the decoded integer number wrapped inside a {@code String}.
     */
    public static String bcdToString(byte[] bcd) {
        StringBuilder sb = new StringBuilder();

        for (int i = 0; i &lt; bcd.length; i++) {
            sb.append(bcdToString(bcd[i]));
        }

        return sb.toString();
    }' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='FREQ_SEND_TO_UBITX' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Print_Line_2_Number' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='PrintNumber' >
							<argument exp='Count' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='STATE_4' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='STATE_3' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='UBITX_RX_INTERRUPT' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='DATA' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='INTERRUPT FOR UBITX RX' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='UBITX_UART' macro='ReceiveChar' >
							<return exp='.DATA' />
							<argument exp='5' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='CircularBuffer1' macro='PutByte' >
							<argument exp='.DATA' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='encoder_macr0_enable' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='IOC0' call='ENCODER' >
							<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>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='RELEASE 5 UBITX V1' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='Status

' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='loop' title='DESCRIPTION ' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
							<flowline folded='1' >
								<command class_type='comment' title='' comment='main_state 

bands = 0

0  Initialise 

1 Bands 1 to 5  Ubit tx standard bands

2 Band 6 2 Meter Band 

3 Band 7 External 70 cm Transverter

4 Band 8 External Eshail Transverter

5 Band 8 UBITX Settings

6 Band 8 UBITX Calibration ' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
							</flowline>
						</command>
						<command class_type='loop' title='INITIALISE' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Start' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='lcd_I2C1' macro='Clear' />
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='PRINT_DATA = &quot;    INITIALISING&quot;' />
									<exp exp='' />
									<exp exp='' />
									<exp exp='' />
									<exp exp='// 80M   3.5MHZ' />
									<exp exp='' />
									<exp exp='SEND_BLANK_ARRAY[0] = 0x00' />
									<exp exp='SEND_BLANK_ARRAY[1] = 0x35' />
									<exp exp='SEND_BLANK_ARRAY[2] = 0x22' />
									<exp exp='SEND_BLANK_ARRAY[3] = 0x00' />
									<exp exp='SEND_BLANK_ARRAY[4] = 0x01' />
									<exp exp='Count = 0' />
									<exp exp='changed = 0' />
									<exp exp='Change = 0' />
									<exp exp='' />
									<exp exp='MAIN_STATE = 1' />
									<exp exp='MAIN_STATE_OLD = 0' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='PRINT_LINE_0' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='Enable' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DEBUG_UART' macro='Initialise' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='UBITX_UART' macro='Initialise' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='Initialise' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='FT450_UART' macro='Initialise' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='ResetCounter' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='IsSim1' macro='Check' >
									<return exp='SIM_MODE' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='FREQ_1_ENCODER = 55' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='COMPort1' macro='OpenPort' />
								<command class_type='loop' title='Loop' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='0' exp='1' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='FT450_UART' macro='SendString' >
											<argument exp='&quot;FA14000000;&quot;' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='4' type='2' />
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='SIM_MODE = 1' swap='0' >
									<flowline >
										<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='TMR7' call='ENCODER' >
											<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>
									</flowline>
									<flowline >
										<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='RXINT1' call='UBITX_RX_INTERRUPT' >
											<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
												<option value='0' />
											</settings>
										</command>
										<command class_type='interrupt' title='Interrupt' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' enable='1' name='IOC0' call='ENCODER' >
											<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>
									</flowline>
								</command>
								<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='3' type='2' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='comment' title='' comment='Call macro to selrct required Band' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='DEBUG_UART' macro='SendString' >
							<argument exp='&quot; DEUG PORT INITIALISED \r &quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='SendString' >
							<argument exp='&quot; sdr port initialised \r &quot;' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' macro='BAND_SELECTION' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TimerInterrupt' description='Called to service the timer interrupt' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='change' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='.change = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='QuadEncoder1' macro='CheckForChanges' >
							<return exp='.change' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='.change = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='changed = 1' />
									<exp exp='' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='.change = 255' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='CountError = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='READ_DIGITAL_' description='' statediag='0' >
						<return name='Return' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='DIGIVALUE' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='PROCESSOR = 0' swap='0' >
							<flowline >
								<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='.DIGIVALUE' >
									<case >
										<flowline >
											<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='.DIGIVALUE' >
												<case >
													<flowline />
												</case>
												<case exp='10' >
													<flowline >
														<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048582' mask='128' exp='.RETURN' usechipref='1' />
													</flowline>
												</case>
												<case exp='11' >
													<flowline >
														<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048581' mask='1' exp='.RETURN' usechipref='1' />
													</flowline>
												</case>
												<case exp='12' >
													<flowline >
														<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048581' mask='2' exp='.RETURN' usechipref='1' />
													</flowline>
												</case>
												<case exp='13' >
													<flowline >
														<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048582' mask='64' exp='.RETURN' usechipref='1' />
													</flowline>
												</case>
												<case exp='14' >
													<flowline >
														<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048579' mask='1' exp='.RETURN' usechipref='1' />
													</flowline>
												</case>
												<case exp='15' >
													<flowline >
														<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048579' mask='2' exp='.RETURN' usechipref='1' />
													</flowline>
												</case>
											</command>
										</flowline>
									</case>
									<case exp='0' >
										<flowline />
									</case>
									<case exp='1' >
										<flowline />
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='output' title='Output' disable='1' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048580' mask='16' exp='0' usechipref='1' />
											<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='1' exp='.RETURN' usechipref='1' />
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='output' title='Output' disable='1' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048580' mask='32' exp='0' usechipref='1' />
											<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='2' exp='.RETURN' usechipref='1' />
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='output' title='Output' disable='1' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048582' mask='32' exp='0' usechipref='1' />
											<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='4' exp='.RETURN' usechipref='1' />
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='output' title='Output' disable='1' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048580' mask='8' exp='0' usechipref='1' />
											<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='8' exp='.RETURN' usechipref='1' />
										</flowline>
									</case>
									<case exp='6' >
										<flowline >
											<command class_type='output' title='Output' disable='1' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048583' mask='8' exp='0' usechipref='1' />
											<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='16' exp='.RETURN' usechipref='1' />
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='output' title='Output' disable='1' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048583' mask='16' exp='0' usechipref='1' />
											<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='32' exp='.RETURN' usechipref='1' />
										</flowline>
									</case>
									<case exp='8' >
										<flowline >
											<command class_type='output' title='Output' disable='1' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048583' mask='32' exp='0' usechipref='1' />
											<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='64' exp='.RETURN' usechipref='1' />
										</flowline>
									</case>
									<case exp='9' >
										<flowline >
											<command class_type='output' title='Output' disable='1' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='1048583' mask='64' exp='0' usechipref='1' />
											<command class_type='input' title='Input' cmdcolor='3781962' cmdcolor_sec='3781962' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' mode='1' port='135266305' mask='128' exp='.RETURN' usechipref='1' />
										</flowline>
									</case>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='PROCESSOR = 1' swap='0' >
							<flowline />
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='PROCESSOR = 2' swap='0' >
							<flowline />
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SEND_ARRAY_TO_UBITX' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
							<exp exp='X = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='2' exp='5' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='UBITX_UART' macro='SendChar' >
									<argument exp='Send_array[X]' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' >
									<exp exp='X = X + 1' />
									<exp exp='' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='test_macros' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' />
						<command class_type='loop' title='Loop' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='SendString' >
									<argument exp='&quot;sdr uno&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' component='SDRUNO_UART' macro='SendString' >
									<argument exp='&quot;FA00014250000;&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
							</flowline>
						</command>
						<command class_type='loop' title='TEST_UBITX_CAT_COMMANDS' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='0' exp='1' >
							<flowline folded='1' >
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='50' type='1' />
								<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='' />
								<command class_type='calculation' title='select_command to test' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='command_no = 1' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' type='0' exp='1' >
									<flowline folded='1' >
										<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='command_no' >
											<case >
												<flowline />
											</case>
											<case exp='1' >
												<flowline >
													<command class_type='comment' title='' comment='01 ubit test command write frequency to ubitx 

 case 0x01:
    //set frequency
    f = readFreq(cmd);
    setFrequency(f);   
    updateDisplay();
    response[0]=0;
    Serial.write(response, 1);
    //sprintf(b, &quot;set:%ld&quot;, f); 
    //printLine2(b);
    break;' textarea='36,23,36,23' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
													<command class_type='calculation' title='COMMAND_01' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='Send_array[0] = 0x00' />
														<exp exp='Send_array[1] = 0x72' />
														<exp exp='Send_array[2] = 0x00' />
														<exp exp='Send_array[3] = 0x00' />
														<exp exp='Send_array[4] = 0x01' />
														<exp exp='' />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='SEND_ARRAY_TO_UBITX' />
													<command class_type='comment' title='' comment='RECEIVE FREQ DATA' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
													<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='X = 0' />
													</command>
													<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' type='2' exp='5' >
														<flowline >
															<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='UBITX_UART' macro='ReceiveChar' >
																<return exp='RX_DATA' />
																<argument exp='10' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																<exp exp='Receive_array[X] = RX_DATA' />
																<exp exp='X = X + 1' />
															</command>
															<command class_type='comment' title='' comment='CALCULATE FREQUENCY AS STRING' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
														</flowline>
													</command>
												</flowline>
											</case>
											<case exp='2' >
												<flowline >
													<command class_type='comment' title='' comment='02 ubit test command put ubitx into split mode

case 0x02:
    //split on 
    splitOn =  1;
    break;' textarea='49,21,49,21' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
												</flowline>
											</case>
											<case exp='3' >
												<flowline >
													<command class_type='comment' title='' comment='03 ubit test command read frequency  frequency from ubitx 

case 0x03:
    writeFreq(frequency,response); // Put the frequency into the buffer
    if (isUSB)
      response[4] = 0x01; //USB
    else
      response[4] = 0x00; //LSB
    Serial.write(response,5);
    //printLine2(&quot;cat:getfreq&quot;);
    break;' textarea='49,21,49,21' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
													<command class_type='calculation' title='COMMAND_03' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='Send_array[0] = 0x00' />
														<exp exp='Send_array[1] = 0x00' />
														<exp exp='Send_array[2] = 0x00' />
														<exp exp='Send_array[3] = 0x00' />
														<exp exp='Send_array[4] = 0x03' />
														<exp exp='' />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='SEND_ARRAY_TO_UBITX' />
													<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='' macro='' />
													<command class_type='comment' title='' comment='RECEIVE FREQ DATA' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
													<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='X = 0' />
													</command>
													<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='5' type='1' />
													<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='Receive_array[0] = 0xF01' />
														<exp exp='Receive_array[1] = 0xF41' />
														<exp exp='Receive_array[2] = 0xF23' />
														<exp exp='Receive_array[3] = 0xF45' />
														<exp exp='' />
													</command>
													<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' type='2' exp='5' >
														<flowline >
															<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='UBITX_UART' macro='ReceiveChar' >
																<return exp='RX_DATA' />
																<argument exp='100' />
															</command>
															<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																<exp exp='RX_DATA = 0x21' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																<exp exp='Receive_array[X] = RX_DATA' />
																<exp exp='X = X + 1' />
															</command>
															<command class_type='comment' title='' comment='CALCULATE FREQUENCY AS STRING' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
														</flowline>
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='X = 0' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='UBITX_DEC__FREQ_STRING = &quot;&quot;' />
														<exp exp='' />
														<exp exp='UBITX_DEC__FREQ_STRING = ToString$ (Receive_array[0] &gt;&gt; 4)' />
														<exp exp='' />
														<exp exp='UBITX_DEC__FREQ_STRING = UBITX_DEC__FREQ_STRING + ToString$ (Receive_array[0] AND 0x0F)' />
														<exp exp='' />
														<exp exp='UBITX_DEC__FREQ_STRING = UBITX_DEC__FREQ_STRING + ToString$ (Receive_array[1] &gt;&gt; 4)' />
														<exp exp='UBITX_DEC__FREQ_STRING = UBITX_DEC__FREQ_STRING + ToString$ (Receive_array[1] AND 0x0F)' />
														<exp exp='' />
														<exp exp='' />
														<exp exp='UBITX_DEC__FREQ_STRING = UBITX_DEC__FREQ_STRING + ToString$ (Receive_array[2] &gt;&gt; 4)' />
														<exp exp='UBITX_DEC__FREQ_STRING = UBITX_DEC__FREQ_STRING + ToString$ (Receive_array[2] AND 0x0F)' />
														<exp exp='' />
														<exp exp='UBITX_DEC__FREQ_STRING = UBITX_DEC__FREQ_STRING + ToString$ (Receive_array[3] &gt;&gt; 4)' />
														<exp exp='UBITX_DEC__FREQ_STRING = UBITX_DEC__FREQ_STRING + ToString$ (Receive_array[3] AND 0x0F)' />
														<exp exp='' />
														<exp exp='PRINT_DATA = UBITX_DEC__FREQ_STRING' />
														<exp exp='// RINT_DATA = &quot; hellow&quot;' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
													<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='PRINT_LINE_0' />
													<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='PRINT_LINE_1' />
												</flowline>
											</case>
											<case exp='7' >
												<flowline >
													<command class_type='comment' title='' comment='07 set mode to ubitx

case 0x07: // set mode
    if (cmd[0] == 0x00 || cmd[0] == 0x03)
      isUSB = 0;
    else
      isUSB = 1;
    response[0] = 0x00;
    Serial.write(response, 1);
    setFrequency(frequency);
      //printLine2(&quot;cat: mode changed&quot;);
    //updateDisplay();
    break;   
' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
												</flowline>
											</case>
											<case exp='8' >
												<flowline >
													<command class_type='comment' title='' comment='08 ubit test command to put ubitx into tx mode

case 0x08: // PTT On
    if (!inTx) {
      response[0] = 0;
      txCAT = true;
      startTx(TX_SSB);
      updateDisplay();
    } else {
      response[0] = 0xf0;
    } 
    Serial.write(response,1);
    updateDisplay();
    break;' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
													<command class_type='calculation' title='COMMAND_08' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='Send_array[0] = 0x00' />
														<exp exp='Send_array[1] = 0x00' />
														<exp exp='Send_array[2] = 0x00' />
														<exp exp='Send_array[3] = 0x00' />
														<exp exp='Send_array[4] = 0x08' />
														<exp exp='' />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='SEND_ARRAY_TO_UBITX' />
													<command class_type='comment' title='' comment='RECEIVE FREQ DATA' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
													<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='X = 0' />
													</command>
													<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' type='2' exp='5' >
														<flowline >
															<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='UBITX_UART' macro='ReceiveChar' >
																<return exp='RX_DATA' />
																<argument exp='10' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																<exp exp='Receive_array[X] = RX_DATA' />
																<exp exp='X = X + 1' />
															</command>
															<command class_type='comment' title='' comment='CALCULATE FREQUENCY AS STRING' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
														</flowline>
													</command>
												</flowline>
											</case>
											<case exp='81' >
												<flowline >
													<command class_type='comment' title='' comment='81 toggel vfo&apos;s on ubitx

case 0x81:
    //toggle the VFOs
    response[0] = 0;
    menuVfoToggle(1); // &apos;1&apos; forces it to change the VFO
    Serial.write(response,1);
    updateDisplay();
    break;' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
												</flowline>
											</case>
											<case exp='82' >
												<flowline >
													<command class_type='comment' title='' comment='82 ubit test command switch off spli on ubitx 

case 0x82:
    //split off
    splitOn = 0;
    break;' textarea='49,21,49,21' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
												</flowline>
											</case>
											<case exp='88' >
												<flowline >
													<command class_type='comment' title='' comment='88 ubit test command to put ubitx into rx mode

case 0x88 : //PTT OFF
    if (inTx) {
      stopTx();
      txCAT = false;
    }
    response[0] = 0;
    Serial.write(response,1);
    updateDisplay();
    break;' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
													<command class_type='calculation' title='COMMAND_88' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='Send_array[0] = 0x00' />
														<exp exp='Send_array[1] = 0x00' />
														<exp exp='Send_array[2] = 0x00' />
														<exp exp='Send_array[3] = 0x00' />
														<exp exp='Send_array[4] = 0x88' />
														<exp exp='' />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='SEND_ARRAY_TO_UBITX' />
													<command class_type='comment' title='' comment='RECEIVE FREQ DATA' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
													<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
														<exp exp='X = 0' />
													</command>
													<command class_type='loop' title='Loop' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' type='2' exp='5' >
														<flowline >
															<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='UBITX_UART' macro='ReceiveChar' >
																<return exp='RX_DATA' />
																<argument exp='10' />
															</command>
															<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
																<exp exp='Receive_array[X] = RX_DATA' />
																<exp exp='X = X + 1' />
															</command>
															<command class_type='comment' title='' comment='CALCULATE FREQUENCY AS STRING' textarea='12,0,12,0' cmdcolor='11370621' cmdcolor_sec='11370621' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' />
														</flowline>
													</command>
												</flowline>
											</case>
										</command>
										<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='10' type='2' />
										<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
											<exp exp='command_no = 3' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='LCD_TEST' disable='1' cmdcolor='16494651' cmdcolor_sec='16494651' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' type='0' exp='1' >
							<flowline folded='1' >
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Start' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='Clear' />
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='20' type='1' />
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='PRINT_DATA = &quot;LINE 0 &quot;' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='PRINT_LINE_0' />
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='PRINT_DATA = &quot;UBIT TX LINE 1 &quot;' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='PRINT_LINE_1' />
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='PRINT_DATA = &quot;UBIT TX LINE 2 &quot;' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='PRINT_LINE_2' />
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='PRINT_DATA = &quot;UBIT TX LINE 3 &quot;' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='PRINT_LINE_3' />
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='PRINT_DATA = &quot;UBIT TX LINE 0 &quot;' />
								</command>
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='PRINT_LINE_0_NUMBER' />
								<command class_type='delay' title='Delay' disable='1' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='100' type='1' />
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='PRINT_LINE_0' />
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='Count = i' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='Count = I' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' macro='Print_Line_2_Number' />
								<command class_type='call' title='Call Component Macro' cmdcolor='8864659' cmdcolor_sec='8864659' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' component='lcd_I2C1' macro='SetI2CAddress' >
									<argument exp='I' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='1544914' cmdcolor_sec='1544914' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' >
									<exp exp='I = I + 1' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='14697803' cmdcolor_sec='14697803' cmdcolor_txt='8355711' cmdgradient='1' cmdopacity='1' hiddenFromFold='1' exp='100' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='bcd6a955-12c6-4ed4-a22f-f16eb62e0762' vmin='2' vmaj='2' codename='lcd_I2C1' x='-20.6175' y='9.51366' z='34.8' xsz='1.025' ysz='1.10193' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='0' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Address' data='63' />
					<value target='cal_i2c1::CHANNEL' data='000' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::SDA' data='$PORTF.0' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTF.1' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='Rows' data='004' />
					<value target='Columns' data='020' />
					<value target='UseBL' data='0' />
					<value target='SimComms' data='0' />
					<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='3531a68d-7686-44b7-a3a5-67afda8467dc' vmin='4' vmaj='1' codename='QuadEncoder1' x='-29.3187' y='-46.5' z='24.6221' xsz='0.869565' ysz='0.869565' zsz='0.869565' 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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='VarType' data='000' />
					<value target='Divider' data='001' />
					<value target='EdgesPerRev' data='1440' />
					<value target='Resolution' data='0.250000' />
					<value target='pin_a' data='$PORTB0.0' />
					<value target='pin_b' data='$PORTB0.1' />
					<value target='reprate' data='075' />
					<value target='RotInc' data='2.000000' />
					<value target='ScopeTraces' data='0' />
					<value target='IsActuator' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='LED2_TX' x='68' 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='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.3' />
					<value target='polarity' data='001' />
					<value target='on_color' data='192' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='0' />
					<value target='label_scale' data='2.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='LED1_RX' x='68' y='14' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.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='0' />
					<value target='label_scale' data='2.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='LED3_TRANSVERTER_SELECTED' x='68' y='-14' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.4' />
					<value target='polarity' data='001' />
					<value target='on_color' data='65535' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='0' />
					<value target='label_scale' data='2.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='LED4_UBITX_SELECTED' x='68' y='-26' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.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='0' />
					<value target='label_scale' data='2.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='LED5_FT_450_SELECTED' x='68' y='-38' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.6' />
					<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='0' />
					<value target='label_scale' data='2.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='LED6_FAULT' x='68' y='-52' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.7' />
					<value target='polarity' data='001' />
					<value target='on_color' data='128' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='0' />
					<value target='label_scale' data='2.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='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='sw_toggle_mtl_pnl1' x='-69.9' y='-80.3879' z='1.1355' xsz='0.677966' ysz='0.629921' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTG.6' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='SW2_UBIT_FTD450' x='-51.0138' y='-80.3879' z='1.1355' xsz='0.677966' ysz='0.629921' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.12' />
					<value target='polarity' data='001' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='SW3_MENUE_SW' x='-33.7512' y='-79.7536' z='1.3855' xsz='0.677966' ysz='0.629921' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.11' />
					<value target='polarity' data='001' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='SW5_KEY_SW' x='-1.24139' y='-80.3879' z='1.1355' xsz='0.677966' ysz='0.629921' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.9' />
					<value target='polarity' data='001' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='SW6_TX_SWITCH' x='15.6448' y='-80.3879' z='1.1355' xsz='0.677966' ysz='0.629921' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.8' />
					<value target='polarity' data='001' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label1' x='16.4685' y='-90.3879' z='3.825' xsz='0.398996' ysz='0.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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='TX ' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label2' x='-18.1748' y='-70.3879' z='3.825' xsz='0.418129' ysz='0.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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='LOCAL' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label3' x='-18.1399' y='-90.3879' z='3.825' xsz='0.394483' ysz='0.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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='LOCAL+ SDR' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label4' x='-34.7343' y='-70.3879' z='3.825' xsz='0.480746' ysz='0.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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='MENUE' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label5' x='-52.3147' y='-90.3879' z='3.825' xsz='0.587671' ysz='0.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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='FT 450D' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label6' x='-70.3706' y='-90.3879' z='3.825' xsz='0.558594' ysz='0.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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='.....' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label7' x='-32.9301' y='-90.3879' z='1.825' xsz='0.50251' ysz='0.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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='RUN' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label8' x='14.021' y='-70.3879' z='3.825' xsz='0.602528' ysz='0.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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='RX' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label9' x='-3.31469' y='-70.3879' z='3.825' xsz='0.522374' ysz='0.5' zsz='0' xang='0' yang='0' zang='-0.527406' xquat='0' yquat='0' zquat='-0.00460247' wquat='0.999989' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='.....' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='UBITX_UART' x='222' y='-86' z='4.34' xsz='64' ysz='32' zsz='1.53' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='002' />
					<value target='cal_uart::BAUD_LIST' data='007' />
					<value target='cal_uart::BAUD' data='38400' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTD.6' />
					<value target='cal_uart::OutputPins' data='006' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTG.7' />
					<value target='cal_uart::InputPins' data='119' />
					<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='UBITX' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='SDRUNO_UART' x='198' y='-142' z='4.34' xsz='64' ysz='32' zsz='1.53' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='003' />
					<value target='cal_uart::BAUD_LIST' data='008' />
					<value target='cal_uart::BAUD' data='57600' />
					<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.4' />
					<value target='cal_uart::OutputPins' data='004' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTD.5' />
					<value target='cal_uart::InputPins' data='069' />
					<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='SDR' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label12' x='5.69231' y='-51' z='4.075' xsz='0.735849' ysz='0.75' zsz='0' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='TUNNING' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d497dced-8e07-49d5-a9f9-4e67c43cb186' vmin='2' vmaj='1' codename='bezel_radiused1' x='-22.5' y='9.65' z='41.625' xsz='86' ysz='40' zsz='7' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='bezel_thick' data='7.000000' />
					<value target='margin' data='0.000000' />
					<value target='color' data='0' />
					<value target='fit_outside' data='0' />
					<value target='fit_inside' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5f7b77e5-e979-4010-93f1-e6d98f83bd71' vmin='0' vmaj='1' codename='IsSim1' x='140' y='-102.35' z='13.425' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Sim' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='CircularBuffer1' x='168' y='-86' z='27.075' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='255' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='001' />
					<value target='Console' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='FT450_UART' x='-157.422' y='-83.7479' z='36.1444' xsz='64' ysz='32' zsz='1.53' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='004' />
					<value target='cal_uart::BAUD_LIST' data='003' />
					<value target='cal_uart::BAUD' data='4800' />
					<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.2' />
					<value target='cal_uart::OutputPins' data='002' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTD.3' />
					<value target='cal_uart::InputPins' data='067' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='RELAY_1' x='-188' y='-20' z='17.225' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='RELAY_2' x='-190' y='-1.9' z='20.775' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTG.9' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='RELAY_3' x='-210' y='-22' z='24.325' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTG.9' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='RELAY_4' x='-210' y='-2' z='27.875' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTG.8' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label10' x='-52.7343' y='-70.3879' z='3.825' xsz='0.596544' ysz='0.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' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='UBITX' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='DEBUG_UART' x='-14' y='14' z='0' xsz='64' ysz='32' zsz='1.53' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='008' />
					<value target='cal_uart::BAUD' data='57600' />
					<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.0' />
					<value target='cal_uart::OutputPins' data='000' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTD.1' />
					<value target='cal_uart::InputPins' data='065' />
					<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='DEBUG' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='SW4__LOCAL_REMOTE_SWITCH' x='-19.469' y='-80.3879' z='1.1355' xsz='0.677966' ysz='0.629921' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.10' />
					<value target='polarity' data='001' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='cbb3c28e-2d73-4442-ac52-23a3b45d9870' vmin='0' vmaj='2' codename='COMPort1' x='0' y='0' z='1.53' xsz='64' ysz='32' zsz='1.53' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='COM_port' data='007' />
					<value target='Refresh' data='0' />
					<value target='baud_rate' data='4800' />
					<value target='Tout_Val' data='256' />
					<value target='ConsoleData' data='0' />
					<value target='AutoClose' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='1' lighting='2' brightness='0' >
		<background rgb='8882055' img='' style='0' />
		<camera xe='-2.16528' ye='-24.8679' ze='4369.35' xt='-2.16528' yt='-24.8679' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='1630' dy='1052' zoom='45.1395' fix_topleft='0' />
		<page x='1000' y='1000' />
	</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='BANDS_1_TO_5' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA4gUAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA4gUAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='CHECK_MAIN_ENCODER' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA4gUAAGsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
