<root>
<document schema='101' license='1,howard123,GT8CJE' title='' description='' target='PIC.18F.18F46K22' >
	<config data='!0,1800!10,fceb!20,7d00!30,ba!40,ffff!50,ffff!60,ffff%8,8%c,1%d,0%e,0%f,0%10,1%11,1%13,1%18,0%1a,f%28,1%29,0%2a,1%2b,1%2c,1%2d,1%2f,0%30,0%32,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='16000000' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<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='0' />
			<data name='ictrate' value='20000' />
			<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' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='1' head='' body='' />
	<debug >
		<watch expr='value_return' />
		<watch expr='temperature_return' />
	</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='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='11' />
			<data name='CalculatedCommsDelay' value='11' />
		</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='3e9748da-4cbe-44f1-8353-6442c26d7413' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='Misc' 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='Stop Delay' target='I2C_Master1::StopDelay' typeid='7' hidden='0' locked='0' info='On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not 
a 10ms delay between an I2C stop event and the next I2C start event.

Most modern microcontrollers will not have a problem so this property can be disabled to speed up the 
I2C communications. ' />
			</properties>
			<values >
				<value target='I2C_Master1::StopDelay' data='0' />
			</values>
			<events >
				<event class='Compile' event='Start' target='Ev_Start' />
			</events>
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='RotaryEncoderPast' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UART2receiveData' type='u8' description='received data array' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeaterStatus' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange4' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange31' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange46' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RTCreadAddress' type='u8' description='RTC read address' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickTherm2' type='b1' description='run thermistor 2 LUT' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickPT1000' type='b1' description='run PT1000 LUT' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PT1000ValuePast' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringRTCdescriptor' type='T8' description='shown name of value being adjusted by the RTC' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BarometricPressurePast' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSDcardInsertedPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange3' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SlideSwitchRaw' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterArrayPast' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange30' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange45' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringTempManualPast' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterLegionella' type='u32' description='counts period before legionella becomes active' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickTherm1' type='b1' description='thermistor 1 run LUT' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagRotaryEncoderSubtractOne' type='b1' description='flag to subtract one from rotary encoder count' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange2' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSlideSwitchChange2' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BarometricPressureMSB' type='u8' description='MSB of barometric pressure' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagAddOnePast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TemperatureDifferenceValidValve' type='b1' description='valve switch on / off at valid temperatures' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange44' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange59' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WindSpeedRaw' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagRTCwrite' type='b1' description='Flag when slider mover from position 4 used to write RTC values' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange1' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSlideSwitchChange1' type='b1' description='detects changes to slide switch' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSubtractOnePastPastPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringParaDescriptorPast' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='36' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange43' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange58' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterTimerSelectedPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagManualStringChange' type='b1' description='update manual setpoint string. generated in DisplayStringManipulation' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TemperaturePSU' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange42' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange57' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WindSpeedAverage' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Therm1ValuePast' type='s16' description='used in bicolour led calculation' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterGeneralSelectedPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange41' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange56' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagFrostValid' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeatingTimerValid' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickLEDindicator' type='b1' description='to flash heater led' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange40' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange55' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterWindAverage' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterArray' type='u8' description='ram array of adjustable data' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterTimerLSB' type='u8' description='timer values after conversion - LSB to display' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSDcardInserted' type='b1' description='SD card is in' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TemperaturePSUmsb' type='u8' description='MSB of PSU tempmerature' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WaterUsageLSB' type='u8' description='LSB of water usage' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange54' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSwitchOne' type='b1' description='push switch one output' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringTemperatureAux' type='T8' description='string of aux temperature with error message' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='36' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringTemperaturePanelPast' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TemperatureLocalMSB' type='u8' description='MSB of local temperature' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSwitchLatched' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange53' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeaterManualOnPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TraceNumberOne' type='s16' description='number to be shown on monitor uart display' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WindspeedPast' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterHeaterManualZero' type='u8' description='counter to determine if sw1 is pressed long enough to reset the manual setpoint to zero' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterSystemTickSlot1000mS' type='u8' description='count for component slot ticks at 1 second intervals' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickUART2TX' type='b1' description='flag for UART send to slave' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterTankBiLed' type='u16' description='five minute timer for bicolour up / down temp indication' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange52' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringDatePast' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterTimerActive' type='b1' description='to show that the timer channel is active' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickTraceUART' type='b1' description='to run development UART display' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterPanelBiLed' type='u8' description='one minute timer for bicoluor up / down temp indication' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagGlobalSecondPast' type='b1' description='past heartbeatbit used to make second tick' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange51' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringTemperatureAuxPast' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='36' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TemperaturePSUpast' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterMainLoopStored' type='u16' description='amount of loops in one second' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringTempManual' type='T8' description='string showing manual heating temperature selection or advisory message' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange50' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterTimerMSBpast' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagFrostValidPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='HeaterManualSetpoint' type='s16' description='setpoint temperature of manual heating (*10)' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeatingTimerValidPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagRotaryEncoderAddOne' type='b1' description='flag to add one reading from rotary encoder' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringTemperatureTank' type='T8' description='string of tank temperature with error message' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WaterUsagePast' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LUTreturn' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange64' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringDayPast' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringTimePast' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickManualChange' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickTimerConversions' type='b1' description='timer conversions such as minutes/hours to MSB and LSB  and active channel' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringTemperaturePanel' type='T8' description='string of panel temperature with error message' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringParaDescriptor' type='T8' description='string to show which parameter is being adjusted on page 2' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='36' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange63' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringRTCdescriptorPast' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SlideSwitchPast' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringFATfilename' type='T8' description='file name of working file' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='12' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagGlobalSecond' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange62' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagTimerSetPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SolarPowerRaw' type='s16' description='solar irradiance value' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PanelOverTemperatureValid' type='b1' description='tests if panet is above safe limit' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange61' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagFlood' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Therm1Value' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringDateDayTimePast' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='36' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange60' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickRTCread' type='b1' description='to read RTC data' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagRain' type='b1' description='flag when rain detected' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterUART2master' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagTempBeep' type='b1' description='flag when temperature drops below value, for beeper' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange73' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickStringDayDateTime' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterTimerMSB' type='u8' description='timer values after conversion - MSB to display' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringTemperatureTankPast' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='30' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SolarPower' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WaterUsageMSB' type='u8' description='MSB of water usage' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TemperatureDifferenceValidPump' type='b1' description='switch on or off of pump based on panel/ tank temperature difference' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickStringParameterDescriptor' type='b1' description='update string parameter descriptor' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterSDtick' type='u8' description='count 10 second periods for sd card tick' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange72' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickAnalogTemp' type='b1' description='local analog temperature measurement tick' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeaterManualOn' type='b1' description='manual heating is valid' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange18' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SDstartStatus' type='u8' description='indicates start issue with FAT' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange71' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickPanelBiLed' type='b1' description='tick for panel bi led up down calculator' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeaterTimerOn' type='b1' description='output from heater timer' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange17' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WaterSpeed' type='u16' description='still to connect' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterIndex' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSwitchOneLatched' type='b1' description='switch 1 latched - not leading edge' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange70' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickHumidityTemperature' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSwitchThree' type='b1' description='push switch three output' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagTempBeepPast' type='b1' description='past valud of beep flag to make leading edge' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='HumidityPast' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='1' >
					<def class_type='variable' name='FlagChange16' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterTimerLSBpast' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagPumpStatus' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange15' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WindSpeedArray' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange14' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange29' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeaterLegionellaOnPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RTCwriteAddress' type='u8' description='RTC write address' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterNumber' type='u8' description='parameter being addressed' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringTime' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange13' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSubtractOnePastPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange28' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange12' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagAddOnePastPastPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange27' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeatingTimerOvertemp' type='b1' description='overtemp of heater timer' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagRTCpublicHoliday' type='b1' description='public holiday today' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSwitchFour' type='b1' description='push switch four output' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange11' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BarometricPressureLSB' type='u8' description='LSB of barometric pressure' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagAddOnePastPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange26' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickStringTemperatures' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickWindCalculation' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagEEPROMwrite' type='b1' description='eeprom write at slide switch changing to position 1' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagTimerSet' type='b1' description='shows if any timer is active' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange10' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickSDcardWrite' type='b1' description='flag for  update of sd card' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange25' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickDisplay' type='b1' description='for usual display update rate' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TemperatureLocal' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeatingTimerOvertempPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagRTCweekend' type='b1' description='saturday or sunday today' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSwitchLatchedPast' type='b1' description='for switch leading edge detector' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSwitchTwo' type='b1' description='push switch two output' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterPumpFrost' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange24' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterBuffer' type='s16' description='changes made to this number by the rotary encoder. stored in parameter array' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TraceNumberTwo' type='s16' description='show second trace number on external UART device' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagDisplayUpdateSpeed' type='b1' description='1 = 4hz  0 = 1hz' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Windspeed' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagRainPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterMainLoop' type='u16' description='counts main loop iterations in second' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='HeaterManualSetpointPast' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange23' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BarometricPressure' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SolarPowerPast' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='UART2receiveDataBuffer' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange22' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SlideSwitch' type='u8' description='slide switch input shifted to least signaficant portion of byte' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PT1000Value' type='s16' description='PT1000 value after LUT' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickOneSecond' type='b1' description='exact one second tick runs complete loop' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringDay' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TemperatureLocalPast' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Humidity' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WaterUsage' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange9' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TemperaturePSUlsb' type='u8' description='LSB of PSU temperature' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange21' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange36' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeaterLegionellaOn' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Therm2Value' type='s16' description='thermistor 2 lut return value' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterGeneralSelected' type='b1' description='shows which one of the general parameters are selected for adjustment' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagBeepForLowTemp' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringDateDayTime' type='T8' description='day date time string for display' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='36' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange8' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TemperatureLocalLSB' type='u8' description='LSB of local temperature' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TankOverTemperatureValid' type='b1' description='flages if tank overtemperature' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange20' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange35' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeaterTimerUndertemp' type='b1' description='detection of lower temperature value' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange7' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterSwitchDebounce' type='u8' description='for up down counting of 4 push switches' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TankFrozenValid' type='b1' description='is storage tank frozen' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange34' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickChangeDetector' type='b1' description='tick to drive variable change detector' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickStringRTCdescriptor' type='b1' description='change items be' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange49' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterTimerActivePast' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagFloodPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickTankBiLed' type='b1' description='tick for tank bi led calculator' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ParameterTimerSelected' type='b1' description='to show which of the10 timers  are active' isconst='0' isinit='0' usrinit='0' setinit='' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagHeaterTimerUndertempPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange6' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterHeaterManualSetpoint' type='u8' description='used to count time - reset setpoint to zero if range below cylinder temperature' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange33' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange48' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagDefrostSwitchOn' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagValveFloodStatus' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagRTCdayPast' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='StringDate' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange5' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CounterSystemTickSlot250mS' type='u8' description='counter for 0.25 second tick slots' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagSubtractOnePast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange32' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagChange47' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TickStringManual' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagDefrostSwitchOnPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagValveThermoStatus' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagValveThermoStatusPast' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='TickTimingSlowISR' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Interupt runs at 2Hz
1Hz from RTC produced one leading and one trailing edge.' textarea='63,72,63,72' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='FlagGlobalSecond = !FlagGlobalSecond' />
						</command>
						<command class_type='comment' title='' comment='10 second' textarea='529,-160,529,-160' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='CounterSDtick = CounterSDtick + 1' />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSDtick &gt; 19' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='CounterSDtick = 0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickSDcardWrite = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='1 minute' textarea='552,-170,552,-170' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='CounterPanelBiLed = CounterPanelBiLed + 1' />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterPanelBiLed &gt; 119' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='CounterPanelBiLed = 0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickPanelBiLed = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='5 minute' textarea='539,-193,539,-193' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='CounterTankBiLed = CounterTankBiLed + 1' />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterTankBiLed &gt; 599' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='CounterTankBiLed = 0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickTankBiLed = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintString' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='ObjectIndex' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='String1' type='T8*' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='40' />
						</param>
						<local name='Checksum' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='StringChars' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='LoopIndex' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.StringChars = Length$ (.String1)' />
						</command>
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.Checksum = 0x02 ^ .ObjectIndex ^ .StringChars' />
						</command>
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.LoopIndex = 0' />
						</command>
						<command class_type='loop' title='Loop' textarea='266,60,266,60' cmdcolor='16734080' cmdcolor_sec='16759780' type='2' exp='.StringChars' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.Checksum = .String1[.LoopIndex] ^ .Checksum' />
								</command>
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.LoopIndex = .LoopIndex + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='0x02' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.ObjectIndex' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.StringChars' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendString' >
							<argument exp='.String1' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.Checksum' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.Return = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='1' exp='.Return = 0x06' start='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='ReceiveChar' >
									<return exp='.Return' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='InitialiseParametersAndRTC' description='INI RTC      INI EEPROM    ' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='EEPROMfirstUse' type='u8' description='tests for a first use of the eeprom' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='PressButtonFlag' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='CountIndex' type='u8' description='loop counter to transfer eeprom to parameter array' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='RamBuffer' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='comment' title='' comment='INI RTC' textarea='1170,-273,1170,-273' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='Initialise' />
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='RTCreadAddress = (0x68 &lt;&lt; 1) + 1 // device base address shifted one left and read bit' />
							<exp exp='RTCWriteAddress = (0x68 &lt;&lt; 1) + 0 // device base address shifted one left and write bit' />
							<exp exp='// good for both DS1338 and DS3231' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='Start' />
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
							<argument exp='RTCwriteAddress' />
						</command>
						<command class_type='comment' title='' comment='register start address' textarea='392,-60,392,-60' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
							<argument exp='14' />
						</command>
						<command class_type='comment' title='' comment='configure control register' textarea='359,-56,359,-56' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
							<argument exp='0b00000000' />
						</command>
						<command class_type='comment' title='' comment='configure status register' textarea='349,-10,349,-10' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
							<argument exp='0b00000000' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='Stop' />
						<command class_type='comment' title='' comment='Detects if this is first usage' textarea='1213,-384,1213,-384' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
							<return exp='.EEPROMfirstUse' />
							<argument exp='100' />
						</command>
						<command class_type='input' title='INI parameters at startup with switch 0 press' cmdcolor='16711935' cmdcolor_sec='16737535' mode='1' port='1048576' mask='1' exp='.PressButtonFlag' />
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(.EEPROMfirstUse = 85) &amp;&amp; (.PressButtonFlag = 0)' swap='0' >
							<flowline />
							<flowline >
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='100' />
									<argument exp='85' />
								</command>
								<command class_type='comment' title='' comment='General parameters' textarea='336,-331,336,-331' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='0' />
									<argument exp='55' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='1' />
									<argument exp='8' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='2' />
									<argument exp='4' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='3' />
									<argument exp='80' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='4' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='5' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='6' />
									<argument exp='30' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='7' />
									<argument exp='0' />
								</command>
								<command class_type='comment' title='' comment='Boost periods' textarea='446,-274,446,-274' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='10' />
									<argument exp='36' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='11' />
									<argument exp='36' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='12' />
									<argument exp='102' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='13' />
									<argument exp='102' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='14' />
									<argument exp='114' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='15' />
									<argument exp='114' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='16' />
									<argument exp='30' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='17' />
									<argument exp='30' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='18' />
									<argument exp='30' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
									<argument exp='19' />
									<argument exp='30' />
								</command>
								<command class_type='comment' title='' comment='RTC' textarea='488,-213,488,-213' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='ParameterArray[20] = 0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='ParameterArray[21] = 0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='ParameterArray[22] = 8' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='ParameterArray[23] = 7 //sunday' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='ParameterArray[24] = 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='ParameterArray[25] = 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='ParameterArray[26] = 17' />
								</command>
								<command class_type='comment' title='' comment='Set RTC to 24 hour' textarea='111,-87,111,-87' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='Start' />
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='RTCwriteAddress' />
								</command>
								<command class_type='comment' title='' comment='register start address' textarea='108,-156,108,-156' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='2' />
								</command>
								<command class_type='comment' title='' comment='bit 6 set low for 24hour clock
' textarea='106,9,106,9' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='0b00000000' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='Stop' />
								<command class_type='comment' title='' comment='Write parameter array to RTC' textarea='62,-151,62,-151' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='FlagRTCwrite = 1' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' macro='WriteToRTC' />
							</flowline>
						</command>
						<command class_type='comment' title='' comment='write EPPROM to parameter array   [excludes RTC data which is past index 19]' textarea='446,-346,446,-346' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.CountIndex = 0' />
						</command>
						<command class_type='loop' title='Loop' textarea='313,59,313,59' cmdcolor='16734080' cmdcolor_sec='16759780' type='2' exp='20' start='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Read' >
									<return exp='ParameterArray[.CountIndex]' />
									<argument exp='.CountIndex' />
								</command>
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.CountIndex = .CountIndex + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintLed' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='ObjectIndex' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='LSB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Checksum' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.Checksum = 0x01 ^ 0x13 ^ .ObjectIndex ^ 0x00 ^ .LSB' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='0x01' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='0x13' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.ObjectIndex' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.LSB' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.Checksum' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.Return = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='1' exp='.Return = 0x06' start='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='ReceiveChar' >
									<return exp='.Return' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintNumber' description='print 7 segment numbers' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='ObjectIndex' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='LSB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='MSB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Checksum' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.Checksum = 0x01 ^ 0x0F ^ .ObjectIndex ^ .MSB ^ .LSB' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='0x01' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='0x0F' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.ObjectIndex' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.MSB' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.LSB' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.Checksum' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.Return = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='1' exp='.Return = 0x06' start='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='ReceiveChar' >
									<return exp='.Return' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='UARTslaveISR' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='TXdata' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='index' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='RXtimeout' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master &gt; 29' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='CounterUART2master = 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='CounterUART2master = CounterUART2master + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='Hardware instructions' textarea='768,-287,768,-287' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagPumpStatus = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.TXdata = 1' />
										</command>
										<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: UART2::SendChar(.TXdata)
FCD_047b2_UART2__SendChar(FCL_TXDATA);
' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
											<argument exp='.TXdata' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.TXdata = 0' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
											<argument exp='.TXdata' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 2' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagHeaterStatus = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.TXdata = 3' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
											<argument exp='.TXdata' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.TXdata = 2' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
											<argument exp='.TXdata' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 3' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagValveThermoStatus = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.TXdata = 5' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
											<argument exp='.TXdata' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.TXdata = 4' />
										</command>
										<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: UART2::SendChar(.TXdata)
FCD_047b2_UART2__SendChar(FCL_TXDATA);
' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
											<argument exp='.TXdata' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 4' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagValveFloodStatus = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.TXdata = 7' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
											<argument exp='.TXdata' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.TXdata = 6' />
										</command>
										<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: UART2::SendChar(.TXdata)
FCD_047b2_UART2__SendChar(FCL_TXDATA);
' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
											<argument exp='.TXdata' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.RXtimeout = 50' />
						</command>
						<command class_type='comment' title='' comment='data calls and returns' textarea='650,-281,650,-281' disable='1' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 5' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 10' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[0]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 6' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 11' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[1]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 7' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 12' />
								</command>
								<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: UART2::SendChar(.TXdata)
FCD_047b2_UART2__SendChar(FCL_TXDATA);
' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[2]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 8' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 13' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[3]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 9' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 14' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[4]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 10' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 15' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[5]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 11' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 16' />
								</command>
								<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: UART2::SendChar(.TXdata)
FCD_047b2_UART2__SendChar(FCL_TXDATA);
' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[6]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 12' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 17' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[7]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 13' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 18' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[8]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 14' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 19' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[9]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 15' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 20' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[10]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 16' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 21' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[11]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 17' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 22' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[12]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterUART2master = 18' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.TXdata = 23' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='SendChar' >
									<argument exp='.TXdata' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='ReceiveChar' >
									<return exp='UART2receiveDataBuffer[13]' />
									<argument exp='.RXtimeout' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='WriteToEEPROM' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='CountIndex' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagEEPROMwrite = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='FlagEEPROMwrite = 0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.CountIndex = 0' />
								</command>
								<command class_type='loop' title='Loop' textarea='270,98,270,98' cmdcolor='16734080' cmdcolor_sec='16759780' type='2' exp='20' >
									<flowline >
										<command class_type='comment' title='' comment='Exclude counts over 20 which are for the RTC' textarea='126,83,126,83' cmdcolor='16777215' cmdcolor_sec='16777215' />
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='eeprom1' macro='Write' >
											<argument exp='.CountIndex' />
											<argument exp='ParameterArray[.CountIndex]' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.CountIndex = .CountIndex + 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='RotaryEncoderISR' description='iISR for rotary encoder ' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='RotaryEncoder' type='u8' description='encoder input' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='YY' type='u8' description='calculation of rotary encoder movement' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='takes 13.4uS @ 16 meg // D11 code

confirmed to run at 100Hz' textarea='44,57,44,57' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='input' title='Rotary Encoder input' cmdcolor='16711935' cmdcolor_sec='16737535' mode='2' port='1048578' mask='3' exp='.RotaryEncoder' />
						<command class_type='calculation' title='trace' disable='1' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='TraceNumberOne = .RotaryEncoder' />
						</command>
						<command class_type='decision' title='Decision' textarea='152,23,152,23' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.RotaryEncoder = RotaryEncoderPast' swap='1' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.YY = (.RotaryEncoder) ^ (RotaryEncoderPast)' />
								</command>
								<command class_type='decision' title='is A equal to B' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(.RotaryEncoder &amp; 0b01) = ((.RotaryEncoder &amp; 0b10) &gt; 1)' swap='0' >
									<flowline >
										<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.YY = 0b10' swap='0' >
											<flowline >
												<command class_type='output' title='heartbeat output' disable='1' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048580' mask='4' exp='1' />
												<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='FlagRotaryEncoderAddOne = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='output' title='heartbeat output' disable='1' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048580' mask='4' exp='0' />
												<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.YY = 0b01' swap='0' >
													<flowline >
														<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
															<exp exp='FlagRotaryEncoderSubtractOne = 1' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.YY = 0b01' swap='0' >
											<flowline >
												<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='FlagRotaryEncoderAddOne = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.YY = 0b10' swap='0' >
													<flowline >
														<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
															<exp exp='FlagRotaryEncoderSubtractOne = 1' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='RotaryEncoderPast = .RotaryEncoder' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='OneSecondTick' description='one second global tick for all ( cleared after one complete  iteration)' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='1 second tick for all' textarea='496,-147,496,-147' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(FlagGlobalSecond = 1) &amp;&amp; (FlagGlobalSecondPast = 0)' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickOneSecond = 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickOneSecond = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='FlagGlobalSecondPast = FlagGlobalSecond' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PT1000LUT' description='get temperature count and convert to temperature using a LUT' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='TempCountIn' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='LUTreturnValue' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Index' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='RETVAL' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='PT1000 sensor
-10 to 160 deg.C
0.5 deg.C resolution' textarea='565,47,565,47' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='comment' title='' comment='fast forward LUT index' textarea='755,-145,755,-145' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.Index = 0' />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 28610' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.Index = 300' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 26887' swap='0' >
									<flowline >
										<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.Index = 200' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 24866' swap='0' >
											<flowline >
												<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.Index = 100' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='1' exp='(.LUTreturnValue &gt;= .TempCountIn) || (.Index &gt; 345) //escape if outside range' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='PT1000_LUT' macro='GetInt' >
									<return exp='.LUTreturnValue' />
									<argument exp='.Index' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.Index = .Index + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='LUTreturn = (.Index - 21) * 5' />
						</command>
						<command class_type='comment' title='' comment='eg 2.5 deg.C = 25' textarea='46,37,46,37' cmdcolor='16777215' cmdcolor_sec='16777215' />
					</flowline>
				</macro>
				<macro >
					<flowline name='InitialiseSDcard' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='FATreturnvalue' type='u8' description='greater than one if ini problem' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='StartLoopCount' type='u8' description='number of times taken to initialise FAT' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='input' title='Input' cmdcolor='16711935' cmdcolor_sec='16737535' mode='1' port='1048576' mask='16' exp='FlagSDcardInserted' />
						<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagSDcardInserted = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='' textarea='92,66,92,66' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='StringFATfilename = &quot;Data.txt&quot;' />
									<exp exp='.FATreturnvalue = 1' />
									<exp exp='.StartLoopCount = 0' />
									<exp exp='SDstartStatus = 0' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
								<command class_type='loop' title='' cmdcolor='16734080' cmdcolor_sec='16759780' type='1' exp='(.StartLoopCount &gt; 6) || (.FATreturnvalue &lt; 1)' start='0' >
									<flowline >
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='SD_Card' macro='Initialise' >
											<return exp='.FATreturnvalue' />
										</command>
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='1' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='500' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='0' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='500' type='1' />
										<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.StartLoopCount = .StartLoopCount + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='SDstartStatus = 0' />
								</command>
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='SDstartStatus = .StartLoopCount &lt;&lt; 4' />
								</command>
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.StartLoopCount &gt; 1' swap='0' >
									<flowline >
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='1' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='0' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='SD_Card' macro='CreateFile' >
									<return exp='.FATreturnvalue' />
									<argument exp='StringFATfilename' />
								</command>
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='SDstartStatus = SDstartStatus | 0b00000001' />
								</command>
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.FATreturnvalue &gt; 0' swap='0' >
									<flowline >
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='1' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='0' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='1' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='0' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='1' type='2' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='SD_Card' macro='OpenFile' >
									<return exp='.FATreturnvalue' />
									<argument exp='StringFATfilename' />
								</command>
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.FATreturnvalue &gt; 0' swap='0' >
									<flowline >
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='1' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='0' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='1' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='0' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='1' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='200' type='1' />
										<command class_type='output' title='FAT status LED' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='0' />
										<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='SDstartStatus = SDstartStatus | 0b00000010' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='SD_Card' macro='AppendStringToFile' >
									<argument exp='&quot;      SD card initialisation\r\n&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='SD_Card' macro='AppendByteToFile' >
									<argument exp='SDstartStatus' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='SD_Card' macro='AppendStringToFile' >
									<argument exp='&quot;\r\n&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='SD_Card' macro='AppendByteToFile' >
									<argument exp='SDstartStatus' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintThermometer' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='ObjectIndex' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='LSB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='MSB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Checksum' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.Checksum = 0x01 ^ 0x12 ^ .ObjectIndex ^ .MSB ^ .LSB' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='0x01' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='0x12' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.ObjectIndex' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.MSB' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.LSB' />
						</command>
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
							<argument exp='.Checksum' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.Return = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='1' exp='.Return = 0x06' start='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='ReceiveChar' >
									<return exp='.Return' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ThermistorLUT' description='get temperature count and convert to temperature using a LUT' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='TempCountIn' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='index' type='u16' description='value proportional to temperature' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='LUTreturnValue' type='u16' description='value fron the LUT' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='NTC10k thermistor
-10 to 100 deg.C
0.1 deg. C resolution' textarea='533,100,533,100' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='comment' title='' comment='fast forward LUT index' textarea='104,11,104,11' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='.index = 0' />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 27494' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.index = 1000' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 25285' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.index = 900' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 22641' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.index = 800' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 19601' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
															<exp exp='.index = 700' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 16284' swap='0' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
																	<exp exp='.index = 600' />
																</command>
															</flowline>
															<flowline >
																<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 12893' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
																			<exp exp='.index = 500' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 9677' swap='0' >
																			<flowline >
																				<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
																					<exp exp='.index = 400' />
																				</command>
																			</flowline>
																			<flowline >
																				<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 6862' swap='0' >
																					<flowline >
																						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
																							<exp exp='.index = 300' />
																						</command>
																					</flowline>
																					<flowline >
																						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 4592' swap='0' >
																							<flowline >
																								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
																									<exp exp='.index = 200' />
																								</command>
																							</flowline>
																							<flowline >
																								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.TempCountIn &gt; 2905' swap='0' >
																									<flowline >
																										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
																											<exp exp='.index = 100' />
																										</command>
																									</flowline>
																									<flowline />
																								</command>
																							</flowline>
																						</command>
																					</flowline>
																				</command>
																			</flowline>
																		</command>
																	</flowline>
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='2.2mS for 1160 loops
1.8uS per loop' textarea='39,45,39,45' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='1' exp='(.LUTreturnValue &gt;= .TempCountIn) || (.index &gt; 1101) //escape if outside range' start='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='Thermistor_LUT' macro='GetInt' >
									<return exp='.LUTreturnValue' />
									<argument exp='.index' />
								</command>
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.index = .index + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='LUTreturn = .index - 101' />
						</command>
						<command class_type='comment' title='' comment='eg 32.1 deg.C = 321' textarea='36,59,36,59' cmdcolor='16777215' cmdcolor_sec='16777215' />
					</flowline>
				</macro>
				<macro >
					<flowline name='TickTimingFastISR' description='system timing for critical components' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='runs at 15.6Hz
confirmed to run at a bit more than 1Hz for the 16 time slots' textarea='1895,315,1895,315' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='comment' title='' comment='Heartbeat' textarea='251,-200,251,-200' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 1' swap='0' >
							<flowline >
								<command class_type='output' title='heartbeat output' disable='1' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048580' mask='4' exp='1' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 8' swap='0' >
							<flowline >
								<command class_type='output' title='heartbeat output' disable='1' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048580' mask='4' exp='0' />
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='Counters' textarea='252,-370,252,-370' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='TickUART2TX = 1' />
							<exp exp='' />
						</command>
						<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='CounterSystemTickSlot1000mS = CounterSystemTickSlot1000mS + 1' />
							<exp exp='CounterSystemTickSlot250mS = CounterSystemTickSlot250mS + 1' />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS &gt; 15' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='CounterSystemTickSlot1000mS = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='1 second slots' textarea='365,-601,365,-601' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickPT1000 = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickTherm1 = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickTherm2 = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 3' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickAnalogTemp = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 4' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickRTCread = 1' />
									<exp exp='' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 5' swap='0' >
							<flowline />
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 6' swap='0' >
							<flowline />
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 7' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickTraceUART = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 8' swap='0' >
							<flowline />
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 9' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickHumidityTemperature = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 10' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickLEDindicator = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 11' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickLEDindicator = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 12' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickStringTemperatures = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 13' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagDisplayUpdateSpeed = 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='TickStringDayDateTime = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 14' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagDisplayUpdateSpeed = 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='TickChangedetector = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot1000mS = 15' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagDisplayUpdateSpeed = 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='TickDisplay = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='0.25 second slots' textarea='608,-684,608,-684' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot250mS &gt; 3' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='CounterSystemTickSlot250mS = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot250mS = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagDisplayUpdateSpeed = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='TickChangedetector = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot250mS = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagDisplayUpdateSpeed = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='TickDisplay = 1' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='TickStringDayDateTime = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot250mS = 2' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickTimerConversions = 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickStringManual = 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickManualChange = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='CounterSystemTickSlot250mS = 3' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickStringParameterDescriptor = 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickStringRTCdescriptor = 1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='WriteToRTC' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='ArrayBuffer' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='7' />
						</local>
						<local name='BufferA' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='BufferB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagRTCwrite = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='FlagRTCwrite = 0' />
								</command>
								<command class_type='comment' title='' comment='Decimal to BCD conversion' textarea='231,-94,231,-94' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='calculation' title='' textarea='36,444,36,444' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.BufferA = ParameterArray[20] / 10' />
									<exp exp='.BufferB = ParameterArray[20] MOD 10' />
									<exp exp='.ArrayBuffer[0] = (.BufferA &lt;&lt; 4) + .BufferB' />
									<exp exp='' />
									<exp exp='.BufferA = ParameterArray[21] / 10' />
									<exp exp='.BufferB = ParameterArray[21] MOD 10' />
									<exp exp='.ArrayBuffer[1] = (.BufferA &lt;&lt; 4) + .BufferB' />
									<exp exp='' />
									<exp exp='.BufferA = ParameterArray[22] / 10' />
									<exp exp='.BufferB = ParameterArray[22] MOD 10' />
									<exp exp='.ArrayBuffer[2] = (.BufferA &lt;&lt; 4) + .BufferB' />
									<exp exp='' />
									<exp exp='.BufferA = ParameterArray[23] / 10' />
									<exp exp='.BufferB = ParameterArray[23] MOD 10' />
									<exp exp='.ArrayBuffer[3] = (.BufferA &lt;&lt; 4) + .BufferB' />
									<exp exp='' />
									<exp exp='.BufferA = ParameterArray[24] / 10' />
									<exp exp='.BufferB = ParameterArray[24] MOD 10' />
									<exp exp='.ArrayBuffer[4] = (.BufferA &lt;&lt; 4) + .BufferB' />
									<exp exp='' />
									<exp exp='.BufferA = ParameterArray[25] / 10' />
									<exp exp='.BufferB = ParameterArray[25] MOD 10' />
									<exp exp='.ArrayBuffer[5] = (.BufferA &lt;&lt; 4) + .BufferB' />
									<exp exp='' />
									<exp exp='.BufferA = ParameterArray[26] / 10' />
									<exp exp='.BufferB = ParameterArray[26] MOD 10' />
									<exp exp='.ArrayBuffer[6] = (.BufferA &lt;&lt; 4) + .BufferB' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='Start' />
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='RTCwriteAddress' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='0' />
								</command>
								<command class_type='comment' title='' comment='Write order
second
minute
hour
day
date
month 
year' textarea='451,-196,451,-196' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='comment' title='' comment='RAM array to RTC' textarea='12,0,12,0' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='.ArrayBuffer[0]' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='.ArrayBuffer[1]' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='.ArrayBuffer[2]' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='.ArrayBuffer[3]' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='.ArrayBuffer[4]' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='.ArrayBuffer[5]' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
									<argument exp='.ArrayBuffer[6]' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='Stop' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ReadFromRTC' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='ArrayBuffer' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='7' />
						</local>
						<local name='BufferA' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='BufferB' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='TickRTCread = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickRTCread = 0' />
								</command>
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='SlideSwitch = 1' swap='0' >
									<flowline >
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='Start' />
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
											<argument exp='RTCwriteAddress' />
										</command>
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
											<argument exp='0' />
										</command>
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='Restart' />
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='TransmitByte' >
											<argument exp='RTCreadAddress' />
										</command>
										<command class_type='comment' title='' comment='RTC to RAM array' textarea='12,0,12,0' disable='1' cmdcolor='16777215' cmdcolor_sec='16777215' />
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='ReceiveByte' >
											<return exp='.ArrayBuffer[0]' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='ReceiveByte' >
											<return exp='.ArrayBuffer[1]' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='ReceiveByte' >
											<return exp='.ArrayBuffer[2]' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='ReceiveByte' >
											<return exp='.ArrayBuffer[3]' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='ReceiveByte' >
											<return exp='.ArrayBuffer[4]' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='ReceiveByte' >
											<return exp='.ArrayBuffer[5]' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='ReceiveByte' >
											<return exp='.ArrayBuffer[6]' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='I2C_Master1' macro='Stop' />
										<command class_type='comment' title='' comment='BCD to decimal conversion' textarea='276,-209,276,-209' cmdcolor='16777215' cmdcolor_sec='16777215' />
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.BufferA = .ArrayBuffer[0] &amp; 0x0F' />
											<exp exp='.BufferB = .ArrayBuffer[0] &gt;&gt; 4' />
											<exp exp='ParameterArray[20] = .BufferA + (.BufferB * 10)' />
											<exp exp='' />
											<exp exp='.BufferA = .ArrayBuffer[1] &amp; 0x0F' />
											<exp exp='.BufferB = .ArrayBuffer[1] &gt;&gt; 4' />
											<exp exp='ParameterArray[21] = .BufferA + (.BufferB * 10)' />
											<exp exp='' />
											<exp exp='.BufferA = .ArrayBuffer[2] &amp; 0x0F' />
											<exp exp='.BufferB = .ArrayBuffer[2] &gt;&gt; 4' />
											<exp exp='ParameterArray[22] = .BufferA + (.BufferB * 10)' />
											<exp exp='' />
											<exp exp='.BufferA = .ArrayBuffer[3] &amp; 0x0F' />
											<exp exp='.BufferB = .ArrayBuffer[3] &gt;&gt; 4' />
											<exp exp='ParameterArray[23] = .BufferA + (.BufferB * 10)' />
											<exp exp='' />
											<exp exp='.BufferA = .ArrayBuffer[4] &amp; 0x0F' />
											<exp exp='.BufferB = .ArrayBuffer[4] &gt;&gt; 4' />
											<exp exp='ParameterArray[24] = .BufferA + (.BufferB * 10)' />
											<exp exp='' />
											<exp exp='.BufferA = .ArrayBuffer[5] &amp; 0x0F' />
											<exp exp='.BufferB = .ArrayBuffer[5] &gt;&gt; 4' />
											<exp exp='ParameterArray[25] = .BufferA + (.BufferB * 10)' />
											<exp exp='' />
											<exp exp='.BufferA = .ArrayBuffer[6] &amp; 0x0F' />
											<exp exp='.BufferB = .ArrayBuffer[6] &gt;&gt; 4' />
											<exp exp='ParameterArray[26] = .BufferA + (.BufferB * 10)' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintPageChange' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='PageNumber' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Checksum' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='.PageNumber = SlideSwitch' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.Checksum = 0x01 ^ 0x0A ^ (.PageNumber - 1) ^ 0x00 ^ 0x00' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
									<argument exp='0x01' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
									<argument exp='0x0A' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
									<argument exp='.PageNumber-1' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
									<argument exp='0x00' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
									<argument exp='0x00' />
								</command>
								<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
									<argument exp='.Checksum' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='.Return = 0' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='1' exp='.Return = 0x06' start='0' >
									<flowline >
										<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='ReceiveChar' >
											<return exp='.Return' />
											<argument exp='0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='WriteToSDcard' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='TempString' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='10' />
						</local>
						<local name='TempStringLong' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='150' />
						</local>
						<local name='SDreturnvalue' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='tick at 10 seconds' textarea='12,0,12,0' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='comment' title='' comment='will stop execution if no card inserted  april 17' textarea='432,96,432,96' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='TickSDcardWrite = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickSDcardWrite = 0' />
								</command>
								<command class_type='input' title='Input' cmdcolor='16711935' cmdcolor_sec='16737535' mode='1' port='1048576' mask='16' exp='FlagSDcardInserted' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagSDcardInserted = 1' swap='0' >
									<flowline >
										<command class_type='output' title='Output' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='1' />
										<command class_type='calculation' title='Calculation' textarea='213,4,213,4' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='//SCALAR VALUES TO FOLLOW' />
											<exp exp='.TempStringLong = StringDate + &quot;,&quot;' />
											<exp exp='.TempStringLong = .TempStringLong + StringTime' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (Therm1Value)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (Therm2Value)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (PT1000Value)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (TemperatureLocal)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (TemperaturePSU)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (SolarPower)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (WaterSpeed)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (WaterUsage)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (Windspeed)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (Humidity)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (BarometricPressure)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='// STATUS BITS TO FOLLOW' />
											<exp exp='.TempString = ToString$ (FlagHeaterStatus)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (FlagPumpStatus)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (FlagValveThermoStatus)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (FlagRain)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (FlagDefrostSwitchOn)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempString = ToString$ (FlagTimerSet)' />
											<exp exp='.TempStringLong = .TempStringLong + .TempString' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;,&quot;' />
											<exp exp='.TempStringLong = .TempStringLong + &quot;\r\n&quot;' />
											<exp exp='' />
										</command>
										<command class_type='output' title='Output' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048578' mask='4' exp='0' />
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='SD_Card' macro='AppendStringToFile' >
											<return exp='.SDreturnvalue' />
											<argument exp='.TempStringLong' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</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' textarea='229,50,229,50' disable='1' ccode='OSCCON=0b11100000; //8 meg internal
//OSCCON=0b11110000; //16 meg internal
SLRCON=0b00011111;//all ports slow slew
ADCON1=0b00001000;//fixed voltage to AD ref
VREFCON0=0b11100000;//select 2.048 for AD ref.
OSCTUNE=0b01000000;// PLLEN
// this for PLL enabled at 32 meg.. found sd card did not work
' cmdcolor='3389439' cmdcolor_sec='3389439' language='C' />
						<command class_type='native' title='C Code' textarea='229,50,229,50' ccode='OSCCON=0b11110110; //16 meg internal RC
SLRCON=0b00011111;//all ports slow slew
ADCON1=0b00001000;//fixed voltage to AD ref
VREFCON0=0b11100000;//select 2.048 for AD ref.
' cmdcolor='3389439' cmdcolor_sec='3389439' language='C' />
						<command class_type='comment' title='' comment='4D display reset high' textarea='139,16,139,16' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='output' title='Output' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048579' mask='8' exp='1' />
						<command class_type='comment' title='' comment='4D display reset low' textarea='139,16,139,16' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='delay' title='delay for 4D display' cmdcolor='16777215' cmdcolor_sec='16777215' exp='50' type='1' />
						<command class_type='output' title='Output' cmdcolor='8411135' cmdcolor_sec='14990335' mode='1' port='1048579' mask='8' exp='0' />
						<command class_type='delay' title='delay for 4D display' disable='1' cmdcolor='16777215' cmdcolor_sec='16777215' exp='5' type='2' />
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='Initialise' />
						<command class_type='call' title='' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART2' macro='Initialise' />
						<command class_type='interrupt' title='SystemTimingSlow' disable='1' cmdcolor='15790320' cmdcolor_sec='3610239' enable='1' name='IOC0' call='TickTimingSlowISR' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='-x------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='-x------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='SystemTimingFast' cmdcolor='15790320' cmdcolor_sec='3610239' enable='1' name='TMR1' call='TickTimingFastISR' >
							<settings timer='1' prescale='4' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='2' />
								<option value='0' />
								<option value='2' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='15790320' cmdcolor_sec='3610239' enable='1' name='TMR2' call='RotaryEncoderISR' >
							<settings timer='1' prescale='16' postscale='8' rollover='208' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='2' />
								<option value='7' />
								<option value='208' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='15790320' cmdcolor_sec='3610239' enable='1' name='TMR5' call='UARTslaveISR' >
							<settings timer='1' prescale='4' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='0' />
								<option value='2' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='calculation' title='INI' textarea='66,-4,66,-4' cmdcolor='2408448' cmdcolor_sec='8978276' >
							<exp exp='CounterSwitchDebounce = 0' />
							<exp exp='' />
						</command>
						<command class_type='call' title='Call Macro' disable='1' cmdcolor='10526975' cmdcolor_sec='5751039' macro='InitialiseSDcard' />
						<command class_type='call' title='InitializeEEPROMand RTC' disable='1' cmdcolor='10526975' cmdcolor_sec='5751039' macro='InitialiseParametersAndRTC' />
						<command class_type='comment' title='' comment='Average main loop time 380uS with no IRQ running - D11 code and 16MHz clock' textarea='281,-158,281,-158' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='loop' title='main' cmdcolor='16734080' cmdcolor_sec='16759780' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Macro' disable='1' cmdcolor='10526975' cmdcolor_sec='5751039' macro='OneSecondTick' />
								<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='TraceUARTmonitor' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='TraceUARTmonitor' description='UART trace monitor to drive external display. Disconnect after development' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='NumberSegmented' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='5' />
						</local>
						<local name='InputNumber' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Temp1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='LoopCount' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='TickTraceUART = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickTraceUART = 0' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='1 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='TraceNumberOne = UART2receiveDataBuffer[0]' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
											<argument exp='254' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
											<argument exp='1' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='4' type='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
											<argument exp='254' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
											<argument exp='2' />
										</command>
										<command class_type='comment' title='' comment='print line 1' textarea='323,-232,323,-232' cmdcolor='16777215' cmdcolor_sec='16777215' />
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.InputNumber = TraceNumberOne' />
											<exp exp='' />
										</command>
										<command class_type='comment' title='' comment='extract individual numbers' textarea='226,18,226,18' cmdcolor='16777215' cmdcolor_sec='16777215' />
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.LoopCount = 0' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='2' exp='5' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.Temp1 = .InputNumber MOD 10' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.NumberSegmented[.LoopCount] = .Temp1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.LoopCount = .LoopCount + 1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.InputNumber = .InputNumber / 10' />
												</command>
											</flowline>
										</command>
										<command class_type='comment' title='' comment='reverse number order' textarea='226,18,226,18' cmdcolor='16777215' cmdcolor_sec='16777215' />
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.LoopCount = 4' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='2' exp='5' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.Temp1 = .NumberSegmented[.LoopCount]' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendNumber' >
													<argument exp='.Temp1' />
												</command>
												<command class_type='calculation' title='Calculation' textarea='56,-29,56,-29' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.LoopCount = .LoopCount - 1' />
												</command>
											</flowline>
										</command>
										<command class_type='comment' title='' comment='line 2 (DDRAM address)' textarea='377,-78,377,-78' cmdcolor='16777215' cmdcolor_sec='16777215' />
										<command class_type='delay' title='Delay' cmdcolor='16777215' cmdcolor_sec='16777215' exp='3' type='1' />
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
											<argument exp='254' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendChar' >
											<argument exp='0xC0' />
										</command>
										<command class_type='comment' title='' comment='print line 2' textarea='323,-232,323,-232' cmdcolor='16777215' cmdcolor_sec='16777215' />
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.InputNumber = TraceNumberTwo' />
											<exp exp='' />
										</command>
										<command class_type='comment' title='' comment='extract individual numbers' textarea='226,18,226,18' cmdcolor='16777215' cmdcolor_sec='16777215' />
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.LoopCount = 0' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='2' exp='5' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.Temp1 = .InputNumber MOD 10' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.NumberSegmented[.LoopCount] = .Temp1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.LoopCount = .LoopCount + 1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.InputNumber = .InputNumber / 10' />
												</command>
											</flowline>
										</command>
										<command class_type='comment' title='' comment='reverse number order' textarea='226,18,226,18' cmdcolor='16777215' cmdcolor_sec='16777215' />
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='.LoopCount = 4' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='16734080' cmdcolor_sec='16759780' type='2' exp='5' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.Temp1 = .NumberSegmented[.LoopCount]' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='10526975' cmdcolor_sec='5751039' component='UART1' macro='SendNumber' >
													<argument exp='.Temp1' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
													<exp exp='.LoopCount = .LoopCount - 1' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='WriteToDisplay' description='Write to 4D display' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='Checksum' type='u8' description='to make checksum for page page string' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='DisplayValueBuffer' type='s16' description='used for int to byte conversion' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='DisplayValueLSB' type='u8' description='LSB used for display string' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='DisplayValueMSB' type='u8' description='MSB used for display string' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='DisplayWriteArry' type='u8' description='string elements fo be sent to display' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='6' />
						</local>
						<local name='IndexOne' type='u8' description='local loop counter' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='IndexTwo' type='u8' description='local loop counter' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ObjectIDtemp' type='u8' description='id element of display string' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ObjectIndexTemp' type='u8' description='index element of display string' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='PageTemp' type='u8' description='temp storage of page returned by LUT' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='StringChars' type='u8' description='amount of characters in string - used for checksum' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='MANUAL HEATING SETPOINT PRINT' textarea='2292,-40,2292,-40' cmdcolor='16777215' cmdcolor_sec='16777215' />
						<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagManualStringChange = 1)' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='FlagManualStringChange = 0' />
									<exp exp='' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintString' >
									<argument exp='0x04' />
									<argument exp='StringTempManual' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='TickDisplay = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
									<exp exp='TickDisplay = 0' />
								</command>
								<command class_type='comment' title='' comment='PRINT PAGE CHANGE' textarea='1963,-553,1963,-553' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='' cmdcolor='16729600' cmdcolor_sec='16755300' exp='FlagSlideSwitchChange2 = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagSlideSwitchChange2 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintPageChange' >
											<argument exp='1' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintPageChange' >
											<argument exp='2' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintPageChange' >
											<argument exp='3' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintPageChange' >
											<argument exp='4' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagManualStringChange = 1' />
											<exp exp='' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='PRINT PAGE ONE' textarea='1963,-553,1963,-553' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='comment' title='' comment='Date, day and time' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange1 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange1 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintString' >
											<argument exp='0x00' />
											<argument exp='StringDateDayTime' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Tank temperature' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange2 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange2 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintString' >
											<argument exp='0x02' />
											<argument exp='StringTemperatureTank' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Panel temperature' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange3 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange3 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintString' >
											<argument exp='0x01' />
											<argument exp='StringTemperaturePanel' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Aux. temperature' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange4 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange4 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintString' >
											<argument exp='0x03' />
											<argument exp='StringTemperatureAux' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Ceiling temperature' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange5 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange5 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintThermometer' >
											<argument exp='0x00' />
											<argument exp='TemperaturePSUlsb' />
											<argument exp='TemperaturePSUmsb' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Room temperature' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange6 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange6 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintThermometer' >
											<argument exp='0x01' />
											<argument exp='TemperatureLocalLSB' />
											<argument exp='TemperatureLocalMSB' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Barometric pressure' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange7 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange7 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='0x01' />
											<argument exp='BarometricPressureLSB' />
											<argument exp='BarometricPressureMSB' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Solar power' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange8 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange8 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='0x02' />
											<argument exp='SolarPower' />
											<argument exp='0x00' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Humidity' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange9 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange9 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='0x03' />
											<argument exp='Humidity' />
											<argument exp='0x00' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Wind speed' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange10 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange10 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='0x00' />
											<argument exp='Windspeed' />
											<argument exp='0x00' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Water usage' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange11 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange11 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='0x04' />
											<argument exp='WaterUsageLSB' />
											<argument exp='WaterUsageMSB' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Legionella cycle' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange12 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange12 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='0x00' />
											<argument exp='FlagHeaterLegionellaOn' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Flood' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange13 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange13 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='0x00' />
											<argument exp='FlagFlood' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Timer set' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange14 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange14 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='0x04' />
											<argument exp='FlagTimerSet' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Valve status' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange15 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange15 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='0x06' />
											<argument exp='FlagValveThermoStatus' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Defrost status' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange16 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange16 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='0x01' />
											<argument exp='FlagFrostValid' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='SD card inserted' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange17 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange17 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='0x03' />
											<argument exp='FlagSDcardInserted' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Rain status' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 1) &amp;&amp; (FlagChange18 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange18 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='0x05' />
											<argument exp='FlagRain' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='PRINT PAGE TWO' textarea='1963,-553,1963,-553' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='comment' title='' comment='Descriptor string' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange20 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange20 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintString' >
											<argument exp='5' />
											<argument exp='StringParaDescriptor' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Electric heating limit' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange21 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange21 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='8' />
											<argument exp='ParameterArray[0]' />
											<argument exp='0x00' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Pump activation delta' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange22 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange22 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='5' />
											<argument exp='ParameterArray[1]' />
											<argument exp='0x00' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Pump deactivation delta' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange23 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange23 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='6' />
											<argument exp='ParameterArray[2]' />
											<argument exp='0x00' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Tank temperature limit' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange24 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange24 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='9' />
											<argument exp='ParameterArray[3]' />
											<argument exp='0x00' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Manual increment size' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange25 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange25 = 0' />
										</command>
										<command class_type='call' title='Call Macro' ccode='// Call Macro
// Call Macro: PrintNumber(7, ParameterArray[4], 0x00)
FCM_PrintNumber(7, FCV_PARAMETERARRAY[4], 0x00);
' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='7' />
											<argument exp='ParameterArray[4]' />
											<argument exp='0x00' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Frost protection temperature' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange26 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange26 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='11' />
											<argument exp='ParameterArray[5]' />
											<argument exp='0x00' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Valve delta temperature activation' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange27 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange27 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='10' />
											<argument exp='ParameterArray[6]' />
											<argument exp='0x00' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Legionella Status' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange28 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange28 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='7' />
											<argument exp='ParameterArray[7]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Parameter slot 1 indicator' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange29 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange29 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='10' />
											<argument exp='ParameterGeneralSelected[0]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Parameter slot 2 indicator' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange30 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange30 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='8' />
											<argument exp='ParameterGeneralSelected[1]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Parameter slot 3 indicator' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange31 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange31 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='9' />
											<argument exp='ParameterGeneralSelected[2]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Parameter slot 4 indicator' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange32 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange32 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='11' />
											<argument exp='ParameterGeneralSelected[3]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Parameter slot 5 indicator' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange33 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange33 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='14' />
											<argument exp='ParameterGeneralSelected[4]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Parameter slot 6 indicator' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange34 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange34 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='13' />
											<argument exp='ParameterGeneralSelected[5]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Parameter slot 7 indicator' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange35 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange35 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='12' />
											<argument exp='ParameterGeneralSelected[6]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Parameter slot 8 indicator' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 2) &amp;&amp; (FlagChange36 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange36 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='15' />
											<argument exp='ParameterGeneralSelected[7]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='PRINT PAGE THREE' textarea='1963,-553,1963,-553' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='comment' title='' comment='Time slot 1 ON selected' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange40 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange40 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='16' />
											<argument exp='ParameterTimerSelected[0]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 1 OFF selected' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange41 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange41 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='21' />
											<argument exp='ParameterTimerSelected[1]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 2 ON selected' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange42 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange42 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='17' />
											<argument exp='ParameterTimerSelected[2]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 2 OFF selected' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange43 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange43 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='22' />
											<argument exp='ParameterTimerSelected[3]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 3 ON selected' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange44 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange44 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='18' />
											<argument exp='ParameterTimerSelected[4]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 3 OFF selected' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange45 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange45 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='23' />
											<argument exp='ParameterTimerSelected[5]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 4 ON selected' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange46 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange46 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='19' />
											<argument exp='ParameterTimerSelected[6]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 4 OFF selected' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange47 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange47 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='24' />
											<argument exp='ParameterTimerSelected[7]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 5 ON selected' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange48 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange48 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='20' />
											<argument exp='ParameterTimerSelected[8]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 5 OFF selected' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange49 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange49 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='25' />
											<argument exp='ParameterTimerSelected[9]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Channel 1 active' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange50 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange50 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='26' />
											<argument exp='ParameterTimerActive[0]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Channel 2 active' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange51 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange51 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='27' />
											<argument exp='ParameterTimerActive[1]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Channel 3 active' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange52 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange52 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='28' />
											<argument exp='ParameterTimerActive[2]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Channel 4 active' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange53 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange53 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='29' />
											<argument exp='ParameterTimerActive[3]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Channel 5 active' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange54 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange54 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintLed' >
											<argument exp='30' />
											<argument exp='ParameterTimerActive[4]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 1 ON display' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange55 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange55 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='12' />
											<argument exp='ParameterTimerLSB[0]' />
											<argument exp='ParameterTimerMSB[0]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 1 OFF display' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange56 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange56 = 0' />
										</command>
										<command class_type='call' title='Call Macro' ccode='// Call Macro
// Call Macro: PrintNumber(17, ParameterTimerLSB[1], ParameterTimerLSB[1])
FCM_PrintNumber(17, FCV_PARAMETERTIMERLSB[1], FCV_PARAMETERTIMERLSB[1]);
' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='17' />
											<argument exp='ParameterTimerLSB[1]' />
											<argument exp='ParameterTimerMSB[1]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 2 ON display' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange57 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange57 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='13' />
											<argument exp='ParameterTimerLSB[2]' />
											<argument exp='ParameterTimerMSB[2]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 2 OFF display' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange58 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange58 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='18' />
											<argument exp='ParameterTimerLSB[3]' />
											<argument exp='ParameterTimerMSB[3]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 3 ON display' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange59 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange59 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='14' />
											<argument exp='ParameterTimerLSB[4]' />
											<argument exp='ParameterTimerMSB[4]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 3 OFF display' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange60 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange60 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='19' />
											<argument exp='ParameterTimerLSB[5]' />
											<argument exp='ParameterTimerMSB[5]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 4 ON display' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange61 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange61 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='15' />
											<argument exp='ParameterTimerLSB[6]' />
											<argument exp='ParameterTimerMSB[6]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 4 OFF display' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange62 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange62 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='20' />
											<argument exp='ParameterTimerLSB[7]' />
											<argument exp='ParameterTimerMSB[7]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 5 ON display' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange63 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange63 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='16' />
											<argument exp='ParameterTimerLSB[8]' />
											<argument exp='ParameterTimerMSB[8]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time slot 5 OFF display' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 3) &amp;&amp; (FlagChange64 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange64 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintNumber' >
											<argument exp='21' />
											<argument exp='ParameterTimerLSB[9]' />
											<argument exp='ParameterTimerMSB[9]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='PRINT PAGE FOUR' textarea='1963,-553,1963,-553' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='comment' title='' comment='RTC descriptor' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 4) &amp;&amp; (FlagChange70 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange70 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintString' >
											<argument exp='6' />
											<argument exp='StringRTCdescriptor' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Day' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 4) &amp;&amp; (FlagChange71 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange71 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintString' >
											<argument exp='9' />
											<argument exp='StringDay' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Date' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 4) &amp;&amp; (FlagChange72 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange72 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintString' >
											<argument exp='7' />
											<argument exp='StringDate' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Time' textarea='705,-113,705,-113' cmdcolor='16777215' cmdcolor_sec='16777215' />
								<command class_type='decision' title='Decision' cmdcolor='16729600' cmdcolor_sec='16755300' exp='(SlideSwitch = 4) &amp;&amp; (FlagChange73 = 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='2408448' cmdcolor_sec='8978276' >
											<exp exp='FlagChange73 = 0' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='10526975' cmdcolor_sec='5751039' macro='PrintString' >
											<argument exp='8' />
											<argument exp='StringTime' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='4' vmaj='1' codename='Thermistor_LUT' x='0' y='0' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='StorageType' data='001' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='1727,1736,1746,1755,1765,1774,1784,1793,1803,1813,1823,1832,1842,1852,1862,1872,1882,1892,1902,1913,1923,1933,1943,1954,1964,1974,1985,1995,2006,2017,2027,2038,2049,2059,2070,2081,2092,2103,2114,2125,2136,2147,2159,2170,2181,2192,2204,2215,2227,2238,2250,2261,2273,2285,2297,2308,2320,2332,2344,2356,2368,2380,2392,2405,2417,2429,2441,2454,2466,2479,2491,2504,2516,2529,2542,2555,2567,2580,2593,2606,2619,2632,2646,2659,2672,2685,2699,2712,2725,2739,2752,2766,2780,2793,2807,2821,2835,2849,2863,2877,2891,2905,2919,2933,2947,2962,2976,2991,3005,3020,3034,3049,3063,3078,3093,3108,3123,3138,3153,3168,3183,3198,3213,3229,3244,3259,3275,3290,3306,3321,3337,3353,3369,3384,3400,3416,3432,3448,3464,3481,3497,3513,3529,3546,3562,3579,3595,3612,3629,3645,3662,3679,3696,3713,3730,3747,3764,3781,3798,3816,3833,3850,3868,3885,3903,3921,3938,3956,3974,3992,4010,4028,4046,4064,4082,4100,4118,4137,4155,4174,4192,4211,4229,4248,4267,4285,4304,4323,4342,4361,4380,4399,4419,4438,4457,4477,4496,4516,4535,4555,4574,4594,4614,4634,4654,4674,4694,4714,4734,4754,4774,4795,4815,4835,4856,4876,4897,4918,4938,4959,4980,5001,5022,5043,5064,5085,5106,5128,5149,5170,5192,5213,5235,5256,5278,5300,5322,5343,5365,5387,5409,5431,5453,5476,5498,5520,5543,5565,5588,5610,5633,5655,5678,5701,5724,5747,5770,5793,5816,5839,5862,5885,5909,5932,5955,5979,6002,6026,6050,6073,6097,6121,6145,6169,6193,6217,6241,6265,6289,6314,6338,6362,6387,6411,6436,6461,6485,6510,6535,6560,6585,6610,6635,6660,6685,6710,6735,6761,6786,6811,6837,6862,6888,6914,6939,6965,6991,7017,7043,7069,7095,7121,7147,7173,7199,7226,7252,7278,7305,7331,7358,7385,7411,7438,7465,7492,7518,7545,7572,7599,7627,7654,7681,7708,7735,7763,7790,7818,7845,7873,7900,7928,7956,7984,8011,8039,8067,8095,8123,8151,8179,8208,8236,8264,8292,8321,8349,8378,8406,8435,8463,8492,8521,8550,8578,8607,8636,8665,8694,8723,8752,8781,8811,8840,8869,8898,8928,8957,8987,9016,9046,9075,9105,9135,9164,9194,9224,9254,9284,9314,9344,9374,9404,9434,9464,9494,9525,9555,9585,9616,9646,9677,9707,9738,9768,9799,9829,9860,9891,9922,9952,9983,10014,10045,10076,10107,10138,10169,10200,10232,10263,10294,10325,10357,10388,10419,10451,10482,10514,10545,10577,10608,10640,10672,10703,10735,10767,10799,10831,10862,10894,10926,10958,10990,11022,11054,11086,11119,11151,11183,11215,11247,11280,11312,11344,11377,11409,11442,11474,11506,11539,11572,11604,11637,11669,11702,11735,11767,11800,11833,11866,11898,11931,11964,11997,12030,12063,12096,12129,12162,12195,12228,12261,12294,12327,12360,12393,12427,12460,12493,12526,12559,12593,12626,12659,12693,12726,12759,12793,12826,12860,12893,12927,12960,12994,13027,13061,13094,13128,13161,13195,13229,13262,13296,13330,13363,13397,13431,13464,13498,13532,13566,13599,13633,13667,13701,13734,13768,13802,13836,13870,13904,13938,13971,14005,14039,14073,14107,14141,14175,14209,14243,14277,14311,14345,14379,14413,14447,14481,14515,14549,14583,14617,14651,14685,14719,14753,14787,14821,14855,14889,14923,14957,14991,15025,15059,15093,15127,15162,15196,15230,15264,15298,15332,15366,15400,15434,15468,15502,15536,15570,15604,15638,15672,15706,15740,15774,15808,15842,15876,15910,15944,15978,16012,16046,16080,16114,16148,16182,16216,16250,16284,16318,16352,16386,16420,16454,16488,16521,16555,16589,16623,16657,16691,16725,16758,16792,16826,16860,16893,16927,16961,16995,17028,17062,17096,17129,17163,17197,17230,17264,17298,17331,17365,17398,17432,17465,17499,17532,17566,17599,17633,17666,17700,17733,17766,17800,17833,17866,17900,17933,17966,17999,18033,18066,18099,18132,18165,18198,18232,18265,18298,18331,18364,18397,18430,18463,18496,18529,18561,18594,18627,18660,18693,18726,18758,18791,18824,18856,18889,18922,18954,18987,19019,19052,19084,19117,19149,19182,19214,19247,19279,19311,19344,19376,19408,19440,19472,19505,19537,19569,19601,19633,19665,19697,19729,19761,19793,19825,19856,19888,19920,19952,19984,20015,20047,20079,20110,20142,20173,20205,20236,20268,20299,20330,20362,20393,20424,20456,20487,20518,20549,20580,20611,20642,20673,20704,20735,20766,20797,20828,20859,20890,20920,20951,20982,21012,21043,21074,21104,21135,21165,21196,21226,21256,21287,21317,21347,21377,21408,21438,21468,21498,21528,21558,21588,21618,21648,21678,21707,21737,21767,21797,21826,21856,21886,21915,21945,21974,22003,22033,22062,22092,22121,22150,22179,22208,22238,22267,22296,22325,22354,22383,22411,22440,22469,22498,22527,22555,22584,22613,22641,22670,22698,22727,22755,22783,22812,22840,22868,22896,22925,22953,22981,23009,23037,23065,23093,23120,23148,23176,23204,23232,23259,23287,23314,23342,23369,23397,23424,23452,23479,23506,23534,23561,23588,23615,23642,23669,23696,23723,23750,23777,23804,23830,23857,23884,23910,23937,23964,23990,24017,24043,24069,24096,24122,24148,24174,24201,24227,24253,24279,24305,24331,24357,24383,24408,24434,24460,24486,24511,24537,24562,24588,24613,24639,24664,24690,24715,24740,24765,24791,24816,24841,24866,24891,24916,24941,24966,24990,25015,25040,25065,25089,25114,25138,25163,25187,25212,25236,25260,25285,25309,25333,25357,25381,25406,25430,25454,25477,25501,25525,25549,25573,25597,25620,25644,25667,25691,25714,25738,25761,25785,25808,25831,25855,25878,25901,25924,25947,25970,25993,26016,26039,26062,26084,26107,26130,26153,26175,26198,26220,26243,26265,26288,26310,26332,26355,26377,26399,26421,26443,26465,26487,26509,26531,26553,26575,26597,26619,26640,26662,26684,26705,26727,26748,26770,26791,26812,26834,26855,26876,26897,26919,26940,26961,26982,27003,27024,27045,27065,27086,27107,27128,27148,27169,27190,27210,27231,27251,27272,27292,27312,27333,27353,27373,27393,27413,27434,27454,27474,27494,27513,27533,27553,27573,27593,27612,27632,27652,27671,27691,27710,27730,27749,27769,27788,27807,27827,27846,27865,27884,27903,27922,27941,27960,27979,27998,28017,28036,28055,28073,28092,28111,28129,28148,28166,28185,28203,28222,28240,28258,28277,28295,28313,28331,28349,28368,28386,28404,28422,28440,28457,28475,28493,28511,28529,28546,28564,28582,28599,28617,28634,28652,28669,28687,28704,28721,28738,28756,28773,28790,28807,28824,28841,28858,28875,28892,28909,28926,28943,28960,28976,28993,29010,29026,29043,29059,29076,29092,29109,29125,29142,29158,29174,29191,29207,29223,29239,29255,29271' />
					<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='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='UART1' x='0' y='0' 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='CHANNEL' data='001' />
					<value target='BAUD_LIST' data='004' />
					<value target='BAUD' data='9600' />
					<value target='DBITS' data='008' />
					<value target='RETURN' data='000' />
					<value target='ToutVal' data='255' />
					<value target='FLOWEN' data='000' />
					<value target='ECHO' data='000' />
					<value target='TX' data='$PORTC.6' />
					<value target='RX' data='$PORTC.7' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='' />
					<value target='label' data='UART' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='ConsoleColumns' data='64' />
					<value target='DataSource' data='001' />
					<value target='com_port' data='003' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='2' codename='UART2' x='0' y='0' z='1.51' 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='CHANNEL' data='002' />
					<value target='BAUD_LIST' data='004' />
					<value target='BAUD' data='9600' />
					<value target='DBITS' data='008' />
					<value target='RETURN' data='000' />
					<value target='ToutVal' data='255' />
					<value target='FLOWEN' data='000' />
					<value target='ECHO' data='000' />
					<value target='TX' data='$PORTD.6' />
					<value target='RX' data='$PORTD.7' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='' />
					<value target='label' data='UART' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='ConsoleColumns' data='64' />
					<value target='DataSource' data='001' />
					<value target='com_port' data='003' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dcbf571f-a6fa-402d-bdd4-be00cca4070f' vmin='1' vmaj='1' codename='eeprom1' x='0' y='0' z='12.015' 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='1024 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='24219805-113d-4b12-b6bd-e1b0b0c33981' vmin='4' vmaj='1' codename='I2C_Master1' x='0' y='0' z='22.77' 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='CHANNEL' data='002' />
					<value target='BAUD_LIST' data='001' />
					<value target='SRC' data='000' />
					<value target='SMB' data='000' />
					<value target='StopDelay' data='0' />
					<value target='BAUD' data='10000' />
					<value target='SDA' data='$PORTD.1' />
					<value target='SCL' data='$PORTD.0' />
					<value target='label' data='I2C Master' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0b61bd39-05a3-46ee-a2a5-da7bffb583c5' vmin='7' vmaj='2' codename='SD_Card' x='0' y='0' z='24.675' 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='max_concurrent_files' data='1' />
					<value target='EOFtype' data='000' />
					<value target='Channel' data='001' />
					<value target='PR_SCALE' data='064' />
					<value target='PR_SCALE2' data='001' />
					<value target='cs_pin' data='$PORTD.2' />
					<value target='mosi_pin' data='$PORTC.5' />
					<value target='miso_pin' data='$PORTC.4' />
					<value target='sck_pin' data='$PORTC.3' />
					<value target='MosiRemap' data='000' />
					<value target='MisoRemap' data='000' />
					<value target='ClkRemap' data='000' />
					<value target='root_dir' data='$(srcdir)' />
					<value target='AutoInsertCard' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='4' vmaj='1' codename='PT1000_LUT' x='0' y='0' 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='22439,22466,22492,22518,22544,22570,22596,22622,22648,22674,22700,22726,22751,22777,22803,22828,22854,22880,22905,22930,22956,22981,23006,23032,23057,23082,23107,23132,23157,23182,23207,23232,23257,23282,23306,23331,23356,23380,23405,23429,23454,23478,23502,23527,23551,23575,23600,23624,23648,23672,23696,23720,23744,23768,23792,23815,23839,23863,23887,23910,23934,23957,23981,24004,24028,24051,24075,24098,24121,24144,24168,24191,24214,24237,24260,24283,24306,24329,24352,24374,24397,24420,24443,24465,24488,24510,24533,24555,24578,24600,24623,24645,24667,24690,24712,24734,24756,24778,24800,24822,24844,24866,24888,24910,24932,24954,24976,24997,25019,25041,25062,25084,25106,25127,25149,25170,25191,25213,25234,25255,25277,25298,25319,25340,25361,25382,25403,25424,25445,25466,25487,25508,25529,25550,25571,25591,25612,25633,25653,25674,25694,25715,25735,25756,25776,25797,25817,25837,25858,25878,25898,25918,25938,25959,25979,25999,26019,26039,26059,26079,26098,26118,26138,26158,26178,26197,26217,26237,26256,26276,26296,26315,26335,26354,26374,26393,26412,26432,26451,26470,26490,26509,26528,26547,26566,26585,26604,26623,26642,26661,26680,26699,26718,26737,26756,26775,26793,26812,26831,26850,26868,26887,26905,26924,26942,26961,26979,26998,27016,27035,27053,27071,27090,27108,27126,27144,27162,27181,27199,27217,27235,27253,27271,27289,27307,27325,27343,27361,27378,27396,27414,27432,27450,27467,27485,27503,27520,27538,27555,27573,27590,27608,27625,27643,27660,27678,27695,27712,27730,27747,27764,27781,27798,27816,27833,27850,27867,27884,27901,27918,27935,27952,27969,27986,28003,28020,28036,28053,28070,28087,28103,28120,28137,28154,28170,28187,28203,28220,28236,28253,28269,28286,28302,28319,28335,28351,28368,28384,28400,28417,28433,28449,28465,28481,28498,28514,28530,28546,28562,28578,28594,28610,28626,28642,28658,28674,28689,28705,28721,28737,28753,28768,28784,28800,28815,28831,28847,28862,28878,28893,28909,28924,28940,28955,28971,28986,29002,29017,29032,29048,29063,29078,29094,29109,29124,29139,29154,29170,29185,29200,29215' />
					<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='7aad74d6-b24e-4dab-91eb-5d72a973f12d' vmin='3' vmaj='1' codename='ADC' x='0' y='0' 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='channel' data='4' />
					<value target='vrefvol' data='2048' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='002' />
					<value target='actime' data='200' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.020000' />
					<value target='ScopeTraces' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='95a1525b-7e03-4836-8c09-59bf174f603b' vmin='2' vmaj='1' codename='DHT22' x='0' y='0' z='3.19278' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='dpin' data='$PORTA.5' />
					<value target='csum' data='1' />
					<value target='del20us' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='2105930' 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='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7884836' img='' style='0' size='25' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAWQcAAKQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='UARTslaveISR' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAWQcAAKQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TickTimingFastISR' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAWQcAAKQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TraceUARTmonitor' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAWQcAAKQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='OneSecondTick' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAWQcAAKQDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
