<root>
<document schema='101' license='1,streammaster,JK9V54' title='' description='' target='PIC.18F.18LF45K50' >
	<config data='!0,821!10,361f!20,d100!30,ff81!40,c00f!50,e00f!60,400f%0,1%1,0%3,0%5,1%8,8%d,0%e,0%f,0%10,1%11,3%13,3%16,0%18,2%1a,d%28,1%29,0%2c,1%2e,1%2f,1%30,1%32,0%35,0%36,0%37,1%40,1%41,1%42,1%43,1%4e,1%4f,1%50,1%51,1%52,1%53,1%5d,1%5e,1%5f,1%60,1%61,1%62,1%63,1%6e,1' clkspd='48000000' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='0' />
			<data name='userpins' value='0' />
			<data name='speed' value='9' />
			<data name='usev9' value='1' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='1' />
			<data name='ictrate' value='100000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='19' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
	</plugins>
	<supplement use='0' head='#ifdef FCV_PRECISION
#undef FCV_PRECISION
#endif
#define FCV_PRECISION 2
' body='' />
	<debug >
		<watch expr='UI_ID' />
		<watch expr='LCD_UI_init' />
		<watch expr='LCD_stat_init' />
		<watch expr='SW3' />
		<watch expr='SW3_lock' />
		<watch expr='Button_Pushed.SW3_stat' />
		<watch expr='UI_1_indx' />
		<watch expr='LCD_UI_SET_Period.s_UI1_menue_1' />
		<watch expr='LCD_UI_SET_Period.s_UI1_menue_2' />
		<watch expr='LCD_UI_SET_Period.s_UI1_menue_3' />
		<watch expr='LCD_UI_SET_Period.s_UI1_menue_4' />
		<watch expr='LCD_UI_SET_Period.UI1_menue_1' />
		<watch expr='LCD_UI_SET_Period.UI1_menue_2' />
		<watch expr='LCD_UI_SET_Period.UI1_menue_3' />
		<watch expr='LCD_UI_SET_Period.UI1_menue_4' />
		<watch expr='Send_LoRa.TX' />
		<watch expr='Send_LoRa.s_Hum' />
		<watch expr='Send_LoRa.s_Lum' />
		<watch expr='Send_LoRa.s_TX1' />
		<watch expr='Send_LoRa.s_TX' />
		<watch expr='Send_LoRa.s_Temp1' />
		<watch expr='Send_LoRa.s_Temp2' />
		<watch expr='Send_LoRa.u_Hum' />
		<watch expr='Send_LoRa.u_Lum' />
		<watch expr='Send_LoRa.u_Temp1' />
		<watch expr='Send_LoRa.u_Temp2' />
		<watch expr='TXg' />
		<watch expr='Lum' />
		<watch expr='humidity' />
		<watch expr='temperature' />
		<watch expr='temperature2' />
		<watch expr='Uart_Rx.rx' />
		<watch expr='Received_string.rx_string' />
		<watch expr='Received_string.LenS' />
		<watch expr='Received_string.Return' />
		<watch expr='WD_timer' />
		<watch expr='Received_string.Loop' />
	</debug>
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='7' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='6' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='4' />
			<data name='CalculatedCommsDelay' value='4' />
		</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='aa53f584-efbe-4ea0-b105-7281cda3f13f' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties >
				<property name='Pixel Height' target='gLCD_ST7565R1::pixel_height' typeid='14' hidden='0' locked='1' info='Heigt of gLCD canvas measured in pixels.
' />
			</properties>
			<values >
				<value target='gLCD_ST7565R1::pixel_height' data='64' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='s_Lum' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Lum' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='s_LoRa_APP_hi' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LoRa_init' type='b1' description='was Lora Initialised' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UI_4_indx' type='u8' description='Factory reset' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Redy_for_send' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ACK' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;ok&quot;' setinit='&quot;ok&quot;' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UI_2_indx' type='u8' description='LCD timeout' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temperature2' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SW3_lock' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TXg' type='f32' description='' isconst='0' isinit='1' usrinit='1.2000000476837158203125' setinit='1.2' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SW3' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SW2' type='b1' description='Left switch status' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LoRa_CH_Index' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='uBatt' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='s_LoRa_APP_lo' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LoRA_DevEUI_hi' type='u32' description='' isconst='0' isinit='1' usrinit='303883' setinit='0x0004A30B' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Tx_atempt' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='s_Tx_Period' type='T8' description='' isconst='0' isinit='1' usrinit='&quot; 0s&quot;' setinit='&quot; 0s&quot;' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LoRa_AppEUI_hi' type='u32' description='' isconst='0' isinit='1' usrinit='1890833790' setinit='0x70B3D57E' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='s_LoRa_DEV_hi' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temperature' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='s_humidity' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='s_UBatt' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Received_ack' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UI_3_indx' type='u8' description='CH country selection' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SW2_lock_0' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TX_period' type='u16' description='in seconds' isconst='0' isinit='1' usrinit='10000' setinit='10000' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UI_ID' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UI_1_indx' type='u8' description='TX-period' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WD_timer' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LCD_time_out' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SW2_lock' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LCD_UI_init' type='b1' description='=1 if the UI graphis is loaded to LCD' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='humidity' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='s_temperature' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='s_temp_2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LoRA_DevEUI_lo' type='u32' description='' isconst='0' isinit='1' usrinit='1811677' setinit='0x001BA4DD' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Len' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LoRa_AppEUI_lo' type='u32' description='' isconst='0' isinit='1' usrinit='-268409592' setinit='0xF0006508' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='s_LoRa_DEV_lo' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LoRa_Joined' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LCD_stat_init' type='b1' description='=1 when LCD is initialised with &quot;Device status&quot; graphics' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='LCD_UI_SET_CH' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot; 3. Set Ch subband         &quot;' />
							<argument exp='0' />
							<argument exp='10' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='0' />
							<argument exp='18' />
							<argument exp='128' />
							<argument exp='18' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='UI_3_indx = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='20' />
									<argument exp='41' />
									<argument exp='108' />
									<argument exp='41' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='20' />
									<argument exp='53' />
									<argument exp='108' />
									<argument exp='53' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='20' />
									<argument exp='41' />
									<argument exp='20' />
									<argument exp='53' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='108' />
									<argument exp='41' />
									<argument exp='108' />
									<argument exp='53' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='UI_3_indx = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='20' />
									<argument exp='28' />
									<argument exp='108' />
									<argument exp='28' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='20' />
									<argument exp='40' />
									<argument exp='108' />
									<argument exp='40' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='20' />
									<argument exp='28' />
									<argument exp='20' />
									<argument exp='40' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='108' />
									<argument exp='28' />
									<argument exp='108' />
									<argument exp='40' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;                            &quot;' />
							<argument exp='0' />
							<argument exp='20' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;      US Channels     &quot;' />
							<argument exp='0' />
							<argument exp='32' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;     ANZ Channels     &quot;' />
							<argument exp='0' />
							<argument exp='43' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;                 &quot;' />
							<argument exp='0' />
							<argument exp='55' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='LCD_UI_SET_Period' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='s_UI1_menue_1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='s_UI1_menue_2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='s_UI1_menue_3' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='s_UI1_menue_4' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='UI1_menue_1' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='UI1_menue_2' type='s32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='UI1_menue_3' type='s32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='UI1_menue_4' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot; 1.  Set Tx periode             &quot;' />
							<argument exp='0' />
							<argument exp='10' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='0' />
							<argument exp='18' />
							<argument exp='128' />
							<argument exp='18' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='20' />
							<argument exp='41' />
							<argument exp='108' />
							<argument exp='41' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='20' />
							<argument exp='53' />
							<argument exp='108' />
							<argument exp='53' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='20' />
							<argument exp='41' />
							<argument exp='20' />
							<argument exp='53' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='108' />
							<argument exp='41' />
							<argument exp='108' />
							<argument exp='53' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lut_UI1' macro='GetInt' >
							<return exp='.UI1_menue_1' />
							<argument exp='UI_1_indx - 2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lut_UI1' macro='GetInt' >
							<return exp='.UI1_menue_2' />
							<argument exp='UI_1_indx - 1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lut_UI1' macro='GetInt' >
							<return exp='.UI1_menue_3' />
							<argument exp='UI_1_indx' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lut_UI1' macro='GetInt' >
							<return exp='.UI1_menue_4' />
							<argument exp='UI_1_indx + 1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='TxPer_smh' >
							<return exp='.s_UI1_menue_1' />
							<argument exp='.UI1_menue_1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='TxPer_smh' >
							<return exp='.s_UI1_menue_2' />
							<argument exp='.UI1_menue_2' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='TxPer_smh' >
							<return exp='.s_UI1_menue_3' />
							<argument exp='.UI1_menue_3' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='TxPer_smh' >
							<return exp='.s_UI1_menue_4' />
							<argument exp='.UI1_menue_4' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.s_UI1_menue_1 = &quot;         &quot; + .s_UI1_menue_1 + &quot;              &quot;' />
							<exp exp='.s_UI1_menue_2 = &quot;         &quot; + .s_UI1_menue_2 + &quot;              &quot;' />
							<exp exp='.s_UI1_menue_3 = &quot;      &gt;&gt; &quot; + .s_UI1_menue_3 + &quot; &lt;&lt;           &quot;' />
							<exp exp='.s_UI1_menue_4 = &quot;         &quot; + .s_UI1_menue_4 + &quot;              &quot;' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(UI_1_indx - 2) &lt; 0' swap='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='.s_UI1_menue_1' />
									<argument exp='0' />
									<argument exp='20' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='&quot;                            &quot;' />
									<argument exp='0' />
									<argument exp='20' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(UI_1_indx - 1) &lt; 0' swap='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='.s_UI1_menue_2' />
									<argument exp='0' />
									<argument exp='32' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='&quot;                       &quot;' />
									<argument exp='0' />
									<argument exp='32' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='.s_UI1_menue_3' />
							<argument exp='0' />
							<argument exp='43' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(UI_1_indx + 1) &gt; 18' swap='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='.s_UI1_menue_4' />
									<argument exp='0' />
									<argument exp='55' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='&quot;                 &quot;' />
									<argument exp='0' />
									<argument exp='55' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Uart_Rx' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='rx' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='label' title='Connection Point' comment='This loop is just because there is no intrupt working!!' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
						<command class_type='call' title='Collect the incoming data byte that triggered the interrupt' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART1' macro='ReceiveChar' >
							<return exp='.rx' />
							<argument exp='0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.rx = 255' swap='0' >
							<flowline />
							<flowline >
								<command class_type='call' title='Store the byte into the circular buffer' cmdcolor='1879295' cmdcolor_sec='5751039' component='CircularBuffer_RX' macro='PutByte' >
									<argument exp='.rx' />
								</command>
								<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Init_LCD_UI' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='LCD_UI_init = 1' swap='0' >
							<flowline >
								<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='' />
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='ClearDisplay' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;SMI device config&quot;' />
							<argument exp='10' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='LCD_UI_init = 1' />
							<exp exp='LCD_stat_init = 0' />
							<exp exp='' />
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Watch_dog' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='WD_timer = WD_timer + 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Send_sensors_data' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Get_sensors' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='LoRa_init = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Init_LoRa' />
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Set parameters' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Received_ack = false' />
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
						<command class_type='decision' title='Received_ack' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Received_ack = true' swap='1' >
							<flowline >
								<command class_type='decision' title='Tx_atempt' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tx_atempt = 0' swap='1' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Send_LoRa' />
										<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Send_LoRa' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='s_Temp1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='10' />
						</local>
						<local name='s_Temp2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='10' />
						</local>
						<local name='s_Hum' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='10' />
						</local>
						<local name='s_Lum' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='10' />
						</local>
						<local name='s_TX' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='100' />
						</local>
						<local name='s_TX1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='100' />
						</local>
						<local name='TX1' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='TX' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='u_Hum' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='u_Temp1' type='s32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='u_Temp2' type='s32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='u_Lum' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='b_OK' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Converting data format and scale' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.u_Temp1 = (float2int (temperature * 10))' />
							<exp exp='.u_Temp2 = (float2int (temperature2 * 10))' />
							<exp exp='.u_Hum = 2 * humidity' />
							<exp exp='.u_Lum = Lum' />
						</command>
						<command class_type='calculation' title='Formating to Hex' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.s_Temp1 = NumberToHex$ (.u_Temp1)' />
							<exp exp='.s_Temp2 = NumberToHex$ (.u_Temp2)' />
							<exp exp='.s_Hum = NumberToHex$ (.u_Hum)' />
							<exp exp='.s_Lum = NumberToHex$ (.u_Lum)' />
							<exp exp='' />
							<exp exp='.s_Temp1 = Right$ (.s_Temp1, (Length$ (.s_Temp1) - 2))' />
							<exp exp='.s_Temp2 = Right$ (.s_Temp2, (Length$ (.s_Temp2) - 2))' />
							<exp exp='.s_Hum = Right$ (.s_Hum, (Length$ (.s_Hum) - 2))' />
							<exp exp='.s_Lum = Right$ (.s_Lum, (Length$ (.s_Lum) - 2))' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Length$ (.s_Temp1)' >
							<case >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Temp1 = &quot;0000&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Temp1 = &quot;000&quot; + .s_Temp1' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Temp1 = &quot;00&quot; + .s_Temp1' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Temp1 = &quot;0&quot; + .s_Temp1' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline />
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Temp1 = Right$ (.s_Temp1,4)' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Length$ (.s_Temp2)' >
							<case >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Temp2 = &quot;0000&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Temp2 = &quot;000&quot; + .s_Temp2' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Temp2 = &quot;00&quot; + .s_Temp2' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Temp2 = &quot;0&quot; + .s_Temp2' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline />
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Temp2 = Right$ (.s_Temp2,4)' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Length$ (.s_Hum)' >
							<case >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Hum = &quot;00&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Hum = &quot;0&quot; + .s_Hum' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline />
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Length$ (.s_Lum)' >
							<case >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Lum = &quot;0000&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Lum = &quot;000&quot; + .s_Lum' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Lum = &quot;00&quot; + .s_Lum' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
										<exp exp='.s_Lum = &quot;0&quot; + .s_Lum' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline />
							</case>
						</command>
						<command class_type='calculation' title='Preparing transmitt command' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.s_Temp1 = &quot;0467&quot; + .s_Temp1' />
							<exp exp='.s_Temp2 = &quot;0567&quot; + .s_Temp2' />
							<exp exp='.s_Hum = &quot;0268&quot; + .s_Hum' />
							<exp exp='.s_Lum = &quot;0665&quot; + .s_Lum' />
							<exp exp='.s_TX = &quot;mac tx cnf 5 &quot; + .s_Temp1 + .s_Temp2 + .s_Hum + .s_Lum + &quot;\r\n&quot;' />
							<exp exp='.TX = StringToFloat$ (.s_TX)' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.TX = temperature2 + temperature + humidity + Lum' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.TX = TXg' swap='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='TXg = .TX' />
									<exp exp='Redy_for_send = 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Redy_for_send' swap='0' >
									<flowline >
										<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='1' labelname='B' />
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='WD_timer &gt; 5' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='ClearDisplay' />
												<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Init_LCD_status' />
												<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='11' type='2' />
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='LoRa_init = 0' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Init_LoRa' />
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='WD_timer = 0' />
													<exp exp='LCD_stat_init = 0' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Init_LCD_status' />
												<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='2' labelname='' />
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART1' macro='SendString' >
											<argument exp='.s_TX' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='3' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Received_string' >
													<return exp='.b_OK' />
													<argument exp='ACK' />
												</command>
												<command class_type='decision' title='decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.b_OK' swap='0' >
													<flowline >
														<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='' />
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.b_OK' swap='1' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
													<argument exp='&quot;TX Stat:Retry      &quot;' />
													<argument exp='43' />
													<argument exp='56' />
													<argument exp='0' />
													<argument exp='0' />
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='1' labelname='' />
											</flowline>
											<flowline />
										</command>
										<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
											<argument exp='&quot;TX Stat:Sent      &quot;' />
											<argument exp='43' />
											<argument exp='56' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Received_string' >
											<return exp='.b_OK' />
											<argument exp='&quot;mac_tx_ok&quot;' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.b_OK' swap='1' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
													<argument exp='&quot;TX Stat: Error    &quot;' />
													<argument exp='43' />
													<argument exp='56' />
													<argument exp='0' />
													<argument exp='0' />
												</command>
												<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='3' type='2' />
												<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='1' labelname='' />
											</flowline>
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
													<argument exp='&quot;TX Status: OK     &quot;' />
													<argument exp='43' />
													<argument exp='56' />
													<argument exp='0' />
													<argument exp='0' />
												</command>
											</flowline>
										</command>
										<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='2' labelname='C' />
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='Redy_for_send = 0' />
											<exp exp='WD_timer = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Init_LCD_status' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='LCD_stat_init = 1' swap='0' >
							<flowline >
								<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='' />
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='ClearDisplay' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;SMI device status&quot;' />
							<argument exp='10' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='5' />
							<argument exp='8' />
							<argument exp='123' />
							<argument exp='8' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;Tp1:+XX.Xc  Hum:XX.X%&quot;' />
							<argument exp='0' />
							<argument exp='10' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;Tp2:+XX.Xc  Lum:XXX.X&quot;' />
							<argument exp='0' />
							<argument exp='19' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;TxPer:XXx   Bat:X.XXV&quot;' />
							<argument exp='0' />
							<argument exp='28' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='0' />
							<argument exp='36' />
							<argument exp='128' />
							<argument exp='36' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;DevEUI xxxxxxxxxxx&quot;' />
							<argument exp='0' />
							<argument exp='38' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;AppEUI xxxxxxxxxxx&quot;' />
							<argument exp='0' />
							<argument exp='47' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;Init |Last Rx xxxxx&quot;' />
							<argument exp='0' />
							<argument exp='56' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='65' />
							<argument exp='8' />
							<argument exp='65' />
							<argument exp='36' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='LCD_stat_init = 1' />
							<exp exp='LCD_UI_init = 0' />
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='s_LoRa_DEV_hi = ToString$ (LoRA_DevEUI_hi)' />
							<exp exp='s_LoRa_DEV_lo = ToString$ (LoRA_DevEUI_lo)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='LCD_status' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='s_temperature' />
							<argument exp='24' />
							<argument exp='10' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='s_humidity' />
							<argument exp='96' />
							<argument exp='10' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='s_temp_2' />
							<argument exp='24' />
							<argument exp='19' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='s_Lum' />
							<argument exp='96' />
							<argument exp='19' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='s_UBatt' />
							<argument exp='96' />
							<argument exp='28' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='TxPer_smh' >
							<return exp='s_Tx_Period' />
							<argument exp='TX_period' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='s_Tx_Period' />
							<argument exp='34' />
							<argument exp='28' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='s_LoRa_DEV_hi = NumberToHex$ (LoRA_DevEUI_hi)' />
							<exp exp='s_LoRa_DEV_hi = Right$ (s_LoRa_DEV_hi,8)' />
							<exp exp='s_LoRa_DEV_lo = NumberToHex$ (LoRA_DevEUI_lo)' />
							<exp exp='s_LoRa_DEV_lo = Right$ (s_LoRa_DEV_lo,8)' />
							<exp exp='s_LoRa_APP_hi = NumberToHex$ (LoRA_AppEUI_hi)' />
							<exp exp='s_LoRa_APP_hi = Right$ (s_LoRa_APP_hi,8)' />
							<exp exp='s_LoRa_APP_lo = NumberToHex$ (LoRA_AppEUI_lo)' />
							<exp exp='s_LoRa_APP_lo = Right$ (s_LoRa_APP_lo,8)' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='s_LoRa_DEV_hi' />
							<argument exp='37' />
							<argument exp='38' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='s_LoRa_DEV_lo' />
							<argument exp='79' />
							<argument exp='38' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='s_LoRa_APP_hi' />
							<argument exp='37' />
							<argument exp='47' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='s_LoRa_APP_lo' />
							<argument exp='79' />
							<argument exp='47' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='WD_timer = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='LCD_UI_SET_reset' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot; 4.  Fctory reset          &quot;' />
							<argument exp='0' />
							<argument exp='10' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='0' />
							<argument exp='18' />
							<argument exp='128' />
							<argument exp='18' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='UI_4_indx = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='15' />
									<argument exp='41' />
									<argument exp='113' />
									<argument exp='41' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='15' />
									<argument exp='53' />
									<argument exp='113' />
									<argument exp='53' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='15' />
									<argument exp='41' />
									<argument exp='15' />
									<argument exp='53' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='113' />
									<argument exp='41' />
									<argument exp='113' />
									<argument exp='53' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='UI_4_indx = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='15' />
									<argument exp='28' />
									<argument exp='113' />
									<argument exp='28' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='15' />
									<argument exp='40' />
									<argument exp='113' />
									<argument exp='40' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='15' />
									<argument exp='28' />
									<argument exp='15' />
									<argument exp='40' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
									<argument exp='113' />
									<argument exp='28' />
									<argument exp='113' />
									<argument exp='40' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;                            &quot;' />
							<argument exp='0' />
							<argument exp='20' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;    Keep existing     &quot;' />
							<argument exp='0' />
							<argument exp='32' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;   Reset to default  &quot;' />
							<argument exp='0' />
							<argument exp='43' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot;                 &quot;' />
							<argument exp='0' />
							<argument exp='55' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Init_LoRa' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='b_OK' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='LoRa_init = 1' swap='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='WD_timer = 0' />
								</command>
								<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='3' labelname='D' />
								<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='2' labelname='C' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART1' macro='SendString' >
									<argument exp='&quot;mac set dr 3\r\n&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_GREEN' macro='TurnOn' />
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='255' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Received_string' >
											<return exp='.b_OK' />
											<argument exp='ACK' />
										</command>
										<command class_type='decision' title='decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.b_OK' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_GREEN' macro='TurnOff' />
												<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.b_OK' swap='1' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='2' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='UART1' macro='SendString' >
									<argument exp='&quot;mac join otaa\r\n&quot;' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' exp='255' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_RED' macro='TurnOn' />
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Received_string' >
											<return exp='.b_OK' />
											<argument exp='ACK' />
										</command>
										<command class_type='decision' title='decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.b_OK' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_RED' macro='TurnOff' />
												<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='1' labelname='' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.b_OK' swap='1' >
									<flowline >
										<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='1' labelname='B' />
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='WD_timer = 0' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_GREEN' macro='TurnOn' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_Backlight' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='2' type='2' />
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='WD_timer = 0' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Received_string' >
									<return exp='.b_OK' />
									<argument exp='&quot;accepted&quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.b_OK' swap='1' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
											<argument exp='&quot;Denied&quot;' />
											<argument exp='0' />
											<argument exp='56' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='3' type='2' />
										<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='3' labelname='' />
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
											<argument exp='&quot;Joined&quot;' />
											<argument exp='0' />
											<argument exp='56' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_Backlight' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_GREEN' macro='TurnOff' />
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='LoRa_init = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='load_Flash' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TxPer_smh' description='' >
						<return name='Return' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' />
						<param name='TxPer_sec' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='s_TxPer_tmp' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='b_TxPer_s' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.TxPer_sec &gt; 60' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.TxPer_sec &gt; 3600' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.s_TxPer_tmp = .TxPer_sec / 3600' />
											<exp exp='.b_TxPer_s = (.TxPer_sec - (.s_TxPer_tmp * 3600)) / 60' />
											<exp exp='.Return = ToString$ (.s_TxPer_tmp) + &quot;h&quot; + ToString$ (.b_TxPer_s) + &quot;m&quot;' />
											<exp exp='' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.s_TxPer_tmp = .TxPer_sec / 60' />
											<exp exp='.b_TxPer_s = .TxPer_sec - (.s_TxPer_tmp * 60)' />
											<exp exp='.Return = ToString$ (.s_TxPer_tmp) + &quot;m&quot; + ToString$ (.b_TxPer_s)' />
											<exp exp='' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.Return = ToString$ (.TxPer_sec) + &quot;s&quot;' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Received_string' description='' >
						<return name='Return' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='rx_string' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='LenS' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Loop' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.LenS = Length$ (.rx_string) + 2' />
							<exp exp='.rx_string = .rx_string + &quot;\r\n&quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='2' forvar='.Loop' exp='200' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Uart_Rx' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='CircularBuffer_RX' macro='LookForValue' >
									<return exp='.Return' />
									<argument exp='.rx_string' />
									<argument exp='.LenS' />
									<argument exp='1' />
									<argument exp='1' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.Return' swap='0' >
									<flowline >
										<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='250' type='1' />
										<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Delay for timeout' cmdcolor='12632064' cmdcolor_sec='16769676' exp='20' type='1' />
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='' />
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
					</flowline>
				</macro>
				<macro >
					<flowline name='store_flash' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='LCD_UI_set_sleep' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='U2_menue_1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='U2_menue_2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='U2_menue_3' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='U2_menue_4' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='s_U2_menue_1' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='s_U2_menue_2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='s_U2_menue_3' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='s_U2_menue_4' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='&quot; 2. Set LCD timeout           &quot;' />
							<argument exp='0' />
							<argument exp='10' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='0' />
							<argument exp='18' />
							<argument exp='128' />
							<argument exp='18' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='20' />
							<argument exp='41' />
							<argument exp='108' />
							<argument exp='41' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='20' />
							<argument exp='53' />
							<argument exp='108' />
							<argument exp='53' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='20' />
							<argument exp='41' />
							<argument exp='20' />
							<argument exp='53' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='DrawLine' >
							<argument exp='108' />
							<argument exp='41' />
							<argument exp='108' />
							<argument exp='53' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lut_UI2' macro='GetInt' >
							<return exp='.U2_menue_1' />
							<argument exp='UI_2_indx - 2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lut_UI2' macro='GetInt' >
							<return exp='.U2_menue_2' />
							<argument exp='UI_2_indx - 1' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lut_UI2' macro='GetInt' >
							<return exp='.U2_menue_3' />
							<argument exp='UI_2_indx' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lut_UI2' macro='GetInt' >
							<return exp='.U2_menue_4' />
							<argument exp='UI_2_indx + 1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='TxPer_smh' >
							<return exp='.s_U2_menue_1' />
							<argument exp='.U2_menue_1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='TxPer_smh' >
							<return exp='.s_U2_menue_2' />
							<argument exp='.U2_menue_2' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='TxPer_smh' >
							<return exp='.s_U2_menue_3' />
							<argument exp='.U2_menue_3' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='TxPer_smh' >
							<return exp='.s_U2_menue_4' />
							<argument exp='.U2_menue_4' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.s_U2_menue_1 = &quot;         &quot; + .s_U2_menue_1 + &quot;              &quot;' />
							<exp exp='.s_U2_menue_2 = &quot;         &quot; + .s_U2_menue_2 + &quot;              &quot;' />
							<exp exp='.s_U2_menue_3 = &quot;      &gt;&gt; &quot; + .s_U2_menue_3 + &quot; &lt;&lt;           &quot;' />
							<exp exp='.s_U2_menue_4 = &quot;         &quot; + .s_U2_menue_4 + &quot;              &quot;' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(UI_2_indx - 2) &lt; 0' swap='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='.s_U2_menue_1' />
									<argument exp='0' />
									<argument exp='20' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='&quot;                            &quot;' />
									<argument exp='0' />
									<argument exp='20' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(UI_2_indx - 1) &lt; 0' swap='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='.s_U2_menue_2' />
									<argument exp='0' />
									<argument exp='32' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='&quot;                       &quot;' />
									<argument exp='0' />
									<argument exp='32' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
							<argument exp='.s_U2_menue_3' />
							<argument exp='0' />
							<argument exp='43' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(UI_2_indx + 1) &gt; 5' swap='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='.s_U2_menue_4' />
									<argument exp='0' />
									<argument exp='55' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Print' >
									<argument exp='&quot;                 &quot;' />
									<argument exp='0' />
									<argument exp='55' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='main_1' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Button_Pushed' />
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Init_LoRa' />
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Send_LoRa' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='UI' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Get_sensors' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='s_temperature = FloatToString$ (temperature)' />
							<exp exp='s_humidity = FloatToString$ (humidity)' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='slider_Temperature' macro='GetInt' >
							<return exp='temperature2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='slider_Lum' macro='GetInt' >
							<return exp='Lum' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pot_trim_Vbat' macro='GetVoltage' >
							<return exp='uBatt' />
						</command>
						<command class_type='output' title='Output' cmdcolor='16762795' cmdcolor_sec='13879979' mode='1' port='1048576' mask='8' exp='0' />
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='temperature2 = (temperature2 / 10) - 25' />
							<exp exp='Lum = exp (Lum / 100) / 2' />
							<exp exp='uBatt = (uBatt / 1) - 0' />
							<exp exp='s_temp_2 = FloatToString$ (temperature2)' />
							<exp exp='s_Lum = FloatToString$ (Lum)' />
							<exp exp='s_UBatt = FloatToString$ (uBatt)' />
							<exp exp='' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Button_Pushed' description='One of buttons are pusched' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='SW2_stat' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='SW3_stat' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pcb_sw3' macro='ReadState' >
							<return exp='.SW3_stat' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='pcb_sw2' macro='ReadState' >
							<return exp='.SW2_stat' />
						</command>
						<command class_type='decision' title='SW Pushed' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.SW2_stat = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='SW2_lock = 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='SW2 = 1' />
											<exp exp='UI_ID = UI_ID + 1' />
											<exp exp='LCD_UI_init = 0' />
											<exp exp='SW2_lock = 1' />
										</command>
										<command class_type='decision' title='IF Exiding number of menu' cmdcolor='12615680' cmdcolor_sec='15376912' exp='UI_ID &gt; 4' swap='0' >
											<flowline >
												<command class_type='calculation' title='Reset menu ID' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='UI_ID = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='store_flash' />
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='SW2_lock = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='SW3 is pushed' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.SW3_stat = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='SW3_lock = 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='SW3 = 1' />
											<exp exp='SW2_lock = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='SW3_lock = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Get_sensors' />
						<command class_type='switch' title='load display UI menue' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='UI_ID' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Init_LCD_status' />
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_status' />
									<command class_type='decision' title='SW3 is pushed' cmdcolor='12615680' cmdcolor_sec='15376912' exp='SW3 = 1' swap='0' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Send_sensors_data' />
											<command class_type='calculation' title='Reset S3 status' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SW3 = 0' />
											</command>
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Init_LCD_UI' />
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_UI_SET_Period' />
									<command class_type='decision' title='SW3 is pushed' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.SW3_stat = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='SW3_lock = 0' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='SW3 = 1' />
														<exp exp='UI_1_indx = UI_1_indx + 1' />
														<exp exp='SW3_lock = 1' />
													</command>
													<command class_type='decision' title='IF Exiding number of menu' cmdcolor='12615680' cmdcolor_sec='15376912' exp='UI_1_indx &gt; 18' swap='0' >
														<flowline >
															<command class_type='calculation' title='Reset menu ID' cmdcolor='16760919' cmdcolor_sec='16760832' >
																<exp exp='UI_1_indx = 0' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_UI_SET_Period' />
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lut_UI1' macro='GetInt' >
														<return exp='TX_period' />
														<argument exp='UI_1_indx' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SW3_lock = 0' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Init_LCD_UI' />
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_UI_set_sleep' />
									<command class_type='decision' title='SW3 is pushed' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.SW3_stat = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='SW3_lock = 0' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='SW3 = 1' />
														<exp exp='UI_2_indx = UI_2_indx + 1' />
														<exp exp='SW3_lock = 1' />
													</command>
													<command class_type='decision' title='IF Exiding number of menu' cmdcolor='12615680' cmdcolor_sec='15376912' exp='UI_2_indx &gt; 5' swap='0' >
														<flowline >
															<command class_type='calculation' title='Reset menu ID' cmdcolor='16760919' cmdcolor_sec='16760832' >
																<exp exp='UI_2_indx = 0' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_UI_set_sleep' />
													<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lut_UI2' macro='GetInt' >
														<return exp='LCD_time_out' />
														<argument exp='UI_2_indx' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SW3_lock = 0' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Init_LCD_UI' />
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_UI_SET_CH' />
									<command class_type='decision' title='SW3 is pushed' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.SW3_stat = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='SW3_lock = 0' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='LCD_UI_init = 0' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='SW3 = 1' />
														<exp exp='UI_3_indx = UI_3_indx + 1' />
														<exp exp='SW3_lock = 1' />
													</command>
													<command class_type='decision' title='IF Exiding number of menu' cmdcolor='12615680' cmdcolor_sec='15376912' exp='UI_3_indx &gt; 1' swap='0' >
														<flowline >
															<command class_type='calculation' title='Reset menu ID' cmdcolor='16760919' cmdcolor_sec='16760832' >
																<exp exp='UI_3_indx = 0' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_UI_SET_CH' />
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='LoRa_CH_Index = UI_3_indx' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SW3_lock = 0' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Init_LCD_UI' />
									<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_UI_SET_reset' />
									<command class_type='decision' title='SW3 is pushed' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.SW3_stat = 1' swap='0' >
										<flowline >
											<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='SW3_lock = 0' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='LCD_UI_init = 0' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
														<exp exp='SW3 = 1' />
														<exp exp='UI_4_indx = UI_4_indx + 1' />
														<exp exp='SW3_lock = 1' />
													</command>
													<command class_type='decision' title='IF Exiding number of menu' cmdcolor='12615680' cmdcolor_sec='15376912' exp='UI_4_indx &gt; 1' swap='0' >
														<flowline >
															<command class_type='calculation' title='Reset menu ID' cmdcolor='16760919' cmdcolor_sec='16760832' >
																<exp exp='UI_4_indx = 0' />
															</command>
														</flowline>
														<flowline />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='LCD_UI_SET_reset' />
												</flowline>
												<flowline />
											</command>
										</flowline>
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
												<exp exp='SW3_lock = 0' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='C Code' ccode='/*
  Enter C code below this comment
*/
/** CONFIGURATION Bits **********************************************/
#pragma config PLLSEL   = PLL3X     // PLL Selection (3x clock multiplier)
#pragma config CFGPLLEN = OFF       // PLL Enable Configuration bit (PLL Disabled (firmware controlled))
#pragma config CPUDIV   = NOCLKDIV  // CPU System Clock Postscaler (CPU uses system clock (no divide))
#pragma config LS48MHZ  = SYS48X8   // Low Speed USB mode with 48 MHz system clock (System clock at 48 MHz, USB clock divider is set to 8)
#pragma config FOSC     = INTOSCIO  // Oscillator Selection (Internal oscillator)
#pragma config PCLKEN   = OFF       // Primary Oscillator Shutdown (Primary oscillator shutdown firmware controlled)
#pragma config FCMEN    = OFF       // Fail-Safe Clock Monitor (Fail-Safe Clock Monitor disabled)
#pragma config IESO     = OFF       // Internal/External Oscillator Switchover (Oscillator Switchover mode disabled)
#pragma config nPWRTEN  = OFF       // Power-up Timer Enable (Power up timer disabled)
#pragma config BOREN    = SBORDIS   // Brown-out Reset Enable (BOR enabled in hardware (SBOREN is ignored))
#pragma config BORV     = 190       // Brown-out Reset Voltage (BOR set to 1.9V nominal)
#pragma config nLPBOR   = ON        // Low-Power Brown-out Reset (Low-Power Brown-out Reset enabled)
#pragma config WDTEN    = SWON      // Watchdog Timer Enable bits (WDT controlled by firmware (SWDTEN enabled))
//#pragma config WDTPS    = 32768     // Watchdog Timer Postscaler (1:32768)
#pragma config WDTPS    = 8192     // Watchdog Timer Postscaler (1:32768)
#pragma config CCP2MX   = RC1       // CCP2 MUX bit (CCP2 input/output is multiplexed with RC1)
#pragma config PBADEN   = OFF       // PORTB A/D Enable bit (PORTB&lt;5:0&gt; pins are configured as digital I/O on Reset)
#pragma config T3CMX    = RC0       // Timer3 Clock Input MUX bit (T3CKI function is on RC0)
#pragma config SDOMX    = RB3       // SDO Output MUX bit (SDO function is on RC7)
#pragma config MCLRE    = ON        // Master Clear Reset Pin Enable (MCLR pin enabled; RE3 input disabled)
#pragma config STVREN   = ON        // Stack Full/Underflow Reset (Stack full/underflow will cause Reset)
#pragma config LVP      = OFF       // Single-Supply ICSP Enable bit (Single-Supply ICSP disabled)
#pragma config ICPRT    = OFF       // Dedicated In-Circuit Debug/Programming Port Enable (ICPORT disabled)
#pragma config XINST    = OFF       // Extended Instruction Set Enable bit (Instruction set extension and Indexed Addressing mode disabled)
#pragma config CP0      = OFF       // Block 0 Code Protect (Block 0 is not code-protected)
#pragma config CP1      = OFF       // Block 1 Code Protect (Block 1 is not code-protected)
#pragma config CP2      = OFF       // Block 2 Code Protect (Block 2 is not code-protected)
#pragma config CP3      = OFF       // Block 3 Code Protect (Block 3 is not code-protected)
#pragma config CPB      = OFF       // Boot Block Code Protect (Boot block is not code-protected)
#pragma config CPD      = OFF       // Data EEPROM Code Protect (Data EEPROM is not code-protected)
#pragma config WRT0     = OFF       // Block 0 Write Protect (Block 0 (0800-1FFFh) is not write-protected)
#pragma config WRT1     = OFF       // Block 1 Write Protect (Block 1 (2000-3FFFh) is not write-protected)
#pragma config WRT2     = OFF       // Block 2 Write Protect (Block 2 (04000-5FFFh) is not write-protected)
#pragma config WRT3     = OFF       // Block 3 Write Protect (Block 3 (06000-7FFFh) is not write-protected)
#pragma config WRTC     = OFF       // Configuration Registers Write Protect (Configuration registers (300000-3000FFh) are not write-protected)
#pragma config WRTB     = OFF       // Boot Block Write Protect (Boot block (0000-7FFh) is not write-protected)
#pragma config WRTD     = OFF       // Data EEPROM Write Protect (Data EEPROM is not write-protected)
#pragma config EBTR0    = OFF       // Block 0 Table Read Protect (Block 0 is not protected from table reads executed in other blocks)
#pragma config EBTR1    = OFF       // Block 1 Table Read Protect (Block 1 is not protected from table reads executed in other blocks)
#pragma config EBTR2    = OFF       // Block 2 Table Read Protect (Block 2 is not protected from table reads executed in other blocks)
#pragma config EBTR3    = OFF       // Block 3 Table Read Protect (Block 3 is not protected from table reads executed in other blocks)
#pragma config EBTRB    = OFF       // Boot Block Table Read Protect (Boot block is not protected from table reads executed in other blocks)' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='native' title='C Code' break='1' ccode='/*
  Enter C code below this comment
*/
{
    OSCTUNE = 0x80; //3X PLL ratio mode selected
    OSCCON = 0x70;  //Switch to 16MHz HFINTOSC
    OSCCON2 = 0x10; //Enable PLL, SOSC, PRI OSC drivers turned off
    while(OSCCON2bits.PLLRDY != 1);   //Wait for PLL lock
    ACTCON = 0x90;  //Enable active clock tuning for USB operation
}' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='SLEEP_POWER' macro='TurnOn' />
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_Backlight' macro='TurnOn' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_GREEN' macro='TurnOn' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='gLCD_ST7565R1' macro='PrintNumber' >
							<argument exp='25' />
							<argument exp='10' />
							<argument exp='10' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_GREEN' macro='TurnOff' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_RED' macro='TurnOn' />
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='250' type='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_GREEN' macro='TurnOn' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='led_RED' macro='TurnOff' />
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='250' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='5cb8f1ac-bab2-4740-9a9d-01602a5fb196' vmin='0' vmaj='2' codename='EBM016_Humidity1' x='-10.2384' y='67.3894' z='-1.25' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='cal_i2c1::CHANNEL' data='001' />
					<value target='cal_i2c1::SDA' data='$PORTB.0' />
					<value target='cal_i2c1::SCL' data='$PORTB.1' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCLPins' 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='SimType' data='000' />
					<value target='cal_i2c1::ScopeTraces' data='0' />
					<value target='cal_i2c1::ConsoleData' data='0' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='889a6ac6-12d0-40c0-9882-075ce9801eeb' vmin='4' vmaj='1' codename='gLCD_ST7565R1' x='-10' y='130' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_height' data='64' />
					<value target='pixel_width' data='128' />
					<value target='monochrome' data='1' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='colour_bit_depth' data='1' />
					<value target='red_bit_depth' data='0' />
					<value target='green_bit_depth' data='0' />
					<value target='blue_bit_depth' data='0' />
					<value target='data0_pin' data='$PORTD.0' />
					<value target='data1_pin' data='$PORTD.1' />
					<value target='data2_pin' data='$PORTD.2' />
					<value target='data3_pin' data='$PORTD.3' />
					<value target='data4_pin' data='$PORTD.4' />
					<value target='data5_pin' data='$PORTD.5' />
					<value target='data6_pin' data='$PORTD.6' />
					<value target='data7_pin' data='$PORTD.7' />
					<value target='chip_sel_pin' data='$PORTB.4' />
					<value target='reset_pin' data='$PORTB.2' />
					<value target='a0_pin' data='$PORTC.0' />
					<value target='enable_pin' data='$PORTB.3' />
					<value target='read_write_pin' data='$PORTC.1' />
					<value target='DisplayMethod' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='slider_Temperature' x='-90' y='110' z='0' xsz='12.502' ysz='112.5' zsz='10' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='tang_col' data='2960685' />
					<value target='mark_col' data='255' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='2' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='8462ac99-ca8f-429b-953a-36dbe58ada72' vmin='4' vmaj='1' codename='pot_trim_Vbat' x='50' y='140' z='0' xsz='11.8794' ysz='11.8794' zsz='16' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='angle_start' data='225.000000' />
					<value target='angle_sweep' data='270.000000' />
					<value target='color' data='16777215' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='1' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ad052176-691e-4542-adb5-53f6fbea9b5b' vmin='1' vmaj='1' codename='led_RED' x='70' y='110' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.7' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<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='ad052176-691e-4542-adb5-53f6fbea9b5b' vmin='1' vmaj='1' codename='led_GREEN' x='70' y='100' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.6' />
					<value target='polarity' data='001' />
					<value target='on_color' data='65280' />
					<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='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_Backlight' x='-10' y='160' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTE.2' />
					<value target='polarity' data='001' />
					<value target='on_color' data='16777215' />
					<value target='Shape' data='000' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_sw2' x='-70' y='120' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.1' />
					<value target='polarity' data='001' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fc04a65f-f03d-40c8-9f69-0d23d2daac29' vmin='1' vmaj='1' codename='pcb_sw3' x='50' y='120' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.0' />
					<value target='polarity' data='001' />
					<value target='debounce' data='' />
					<value target='operation' data='000' />
					<value target='color' data='6908265' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='UART1' x='30' y='10' z='0' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='004' />
					<value target='cal_uart::BAUD' data='9600' />
					<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='$PORTC.6' />
					<value target='cal_uart::OutputPins' data='007' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTC.7' />
					<value target='cal_uart::InputPins' data='013' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='001' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='LoRa Module' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='0' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='MODEM_WAKE' x='80' y='20' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTC.2' />
					<value target='polarity' data='000' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='MODRST' x='80' 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' interactive='1' solid='1' layer='0' poslock='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='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='3' vmaj='1' codename='slider_Lum' x='80.5' y='100' z='0' xsz='12.502' ysz='112.5' zsz='10' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='tang_col' data='2960685' />
					<value target='mark_col' data='16711680' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='3' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='5' vmaj='1' codename='lut_freq' x='10' y='-30' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='StorageType' data='002' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='1, 2, 3, 4, 5' />
					<value target='floatfixed' data='' />
					<value target='fixedexp' data='0' />
					<value target='EmbedIntoC' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='CircularBuffer_RX' x='40' y='-30' z='0' xsz='20' ysz='20' zsz='20' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='128' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='5' vmaj='1' codename='lut_US' x='-30' y='-30' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='StorageType' data='000' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='1, 2, 3, 4, 5' />
					<value target='floatfixed' data='' />
					<value target='fixedexp' data='0' />
					<value target='EmbedIntoC' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='5' vmaj='1' codename='lut_ANZ' x='-60' y='-30' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='StorageType' data='000' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='1, 2, 3, 4, 5' />
					<value target='floatfixed' data='' />
					<value target='fixedexp' data='0' />
					<value target='EmbedIntoC' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dcbf571f-a6fa-402d-bdd4-be00cca4070f' vmin='1' vmaj='1' codename='eeprom1' x='50' y='160' z='0' xsz='20' ysz='20' zsz='20' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='EESize' data='256 byte' />
					<value target='EEbitdepth' data='8 bit' />
					<value target='InitialValues' data='' />
					<value target='InitValsParsed' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='5' vmaj='1' codename='lut_UI1' x='-80' y='-60' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='StorageType' data='001' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='0,5,15,30,45,60,120,180,360,600,1200,1800,2700,3600,7200,10800,21600,43200,86400' />
					<value target='floatfixed' data='' />
					<value target='fixedexp' data='0' />
					<value target='EmbedIntoC' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='5' vmaj='1' codename='lut_UI2' x='-50' y='-60' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='StorageType' data='000' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='0,5,8,16,30,60' />
					<value target='floatfixed' data='' />
					<value target='fixedexp' data='0' />
					<value target='EmbedIntoC' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ad052176-691e-4542-adb5-53f6fbea9b5b' vmin='1' vmaj='1' codename='SLEEP_POWER' x='70' y='120' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.5' />
					<value target='polarity' data='000' />
					<value target='on_color' data='255' />
					<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>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='1' lighting='2' brightness='0' perspective='0' >
		<background rgb='32768' img='' style='0' />
		<table rgb='8404224' img='' style='0' size='25' />
		<camera xe='-13.4077' ye='51.1352' ze='339.506' xt='-13.4077' yt='51.1352' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='80' scrollx='0' scrolly='600' flags='0' />
		<view type='0' name='store_flash' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='main_1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='load_Flash' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Watch_dog' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Uart_Rx' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='UI' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TxPer_smh' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Send_sensors_data' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='LCD_status' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='LCD_UI_set_sleep' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='LCD_UI_SET_CH' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Init_LoRa' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='70' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Init_LCD_status' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Init_LCD_UI' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Get_sensors' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Button_Pushed' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='65' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Received_string' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='60' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Send_LoRa' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='LCD_UI_SET_Period' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='LCD_UI_SET_reset' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAXAcAAIAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
