<root>
<document schema='101' license='1,JohnCrow,HRKH69' title='' description='' target='PIC.18F.18F4550' >
	<config data='!0,27!8,4c!10,1f!18,1e!20,81!28,81!30,f!38,c0!40,f!48,e0!50,ff!58,ff!60,ff!68,ff%5,1%3,0%0,7%8,c%e,1%f,0%15,0%10,1%11,3%13,3%18,0%19,f%28,1%29,0%2a,0%2f,1%30,1%32,1%35,0%36,0%37,0%40,1%41,1%42,1%43,1%4f,1%4e,1%50,1%51,1%52,1%53,1%5f,1%5e,1%5d,1%60,1%61,1%62,1%63,1%6e,1' clkspd='19660800' 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='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='37345c84-55ae-484d-920f-d37033868639' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Month' type='u8' description='Month' isconst='0' isinit='1' usrinit='5' setinit='5' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Hours' type='u8' description='Hours' isconst='0' isinit='1' usrinit='9' setinit='9' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SwitchPress' type='u8' description='Set Up Ranges' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Date' type='u8' description='Date' isconst='0' isinit='1' usrinit='5' setinit='5' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Time_S' type='T8' description='Time String' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Day_S' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Minutes' type='u8' description='Minutes' isconst='0' isinit='1' usrinit='30' setinit='30' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Year' type='u8' description='Year' isconst='0' isinit='1' usrinit='14' setinit='14' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='X_Touch' type='u8' description='Setup Touch' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp_S' type='T8' description='Temperature' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Seconds' type='u8' description='Seconds' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ScreenTouched' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Century' type='u8' description='Century' isconst='0' isinit='1' usrinit='20' setinit='20' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Date_S' type='T8' description='Date String' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='SetTime' description='' >
						<command class_type='call' title='Clear Display' component='gLCD_EB076_4D1' macro='ClearDisplay' />
						<command class_type='call' title='Box For Time' component='gLCD_EB076_4D1' macro='DrawRectangle' >
							<argument exp='10' />
							<argument exp='10' />
							<argument exp='230' />
							<argument exp='60' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Display Setup Menu' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Time Setup Menu&quot;' />
							<argument exp='10' />
							<argument exp='80' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S0 Increase Hours&quot;' />
							<argument exp='10' />
							<argument exp='100' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S1 Decrease Hours&quot;' />
							<argument exp='10' />
							<argument exp='115' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S2 Increase Minutes&quot;' />
							<argument exp='10' />
							<argument exp='130' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S3 Decrease Minutes&quot;' />
							<argument exp='10' />
							<argument exp='145' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S7 Set Time&quot;' />
							<argument exp='10' />
							<argument exp='160' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Hours&quot;' />
							<argument exp='60' />
							<argument exp='40' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Minutes&quot;' />
							<argument exp='130' />
							<argument exp='40' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='loop' title='Loop' type='1' exp='SwitchPress = 128' start='0' >
							<flowline >
								<command class_type='call' title='Display Hours' component='gLCD_EB076_4D1' macro='PrintNumber' >
									<argument exp='Hours' />
									<argument exp='90' />
									<argument exp='20' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Decision' exp='Hours &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Add Leading Zero' component='gLCD_EB076_4D1' macro='Print' >
											<argument exp='&quot;0&quot;' />
											<argument exp='80' />
											<argument exp='20' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Display Seperator' disable='1' component='gLCD_EB076_4D1' macro='Print' >
									<argument exp='&quot;:&quot;' />
									<argument exp='115' />
									<argument exp='30' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Display Minutes' component='gLCD_EB076_4D1' macro='PrintNumber' >
									<argument exp='Minutes' />
									<argument exp='145' />
									<argument exp='20' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Decision' exp='Minutes &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Add Leading Zero' component='gLCD_EB076_4D1' macro='Print' >
											<argument exp='&quot;0&quot;' />
											<argument exp='135' />
											<argument exp='20' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='input' title='Read Switchbank' mode='0' port='1048577' mask='255' exp='SwitchPress' />
								<command class_type='decision' title='Decision' exp='SwitchPress = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Increase Hours' >
											<exp exp='Hours = Hours + 1' />
											<exp exp='' />
										</command>
										<command class_type='decision' title='Decision' exp='Hours &gt; 23' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Hours = 23' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='SwitchPress = 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Decrease Hours' >
											<exp exp='Hours = Hours - 1' />
										</command>
										<command class_type='decision' title='Decision' exp='Hours = 255' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='Check Hours dont go less then 0
(255 is used because of roll over)' textarea='12,0,12,0' />
												<command class_type='calculation' title='Calculation' >
													<exp exp='Hours = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='SwitchPress = 4' swap='0' >
									<flowline >
										<command class_type='calculation' title='Increase Minutes' >
											<exp exp='Minutes = Minutes + 1' />
										</command>
										<command class_type='decision' title='Decision' exp='Minutes &gt; 59' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Minutes = 59' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='SwitchPress = 8' swap='0' >
									<flowline >
										<command class_type='calculation' title='Decrease Minutes' >
											<exp exp='Minutes = Minutes - 1' />
										</command>
										<command class_type='decision' title='Decision' exp='Minutes = 255' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='Check Minutes dont go less then 0
(255 is used because of roll over)' textarea='12,0,12,0' />
												<command class_type='calculation' title='Calculation' >
													<exp exp='Minutes = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
									<argument exp='&quot;                      &quot;' />
									<argument exp='20' />
									<argument exp='20' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Write Time To DS3231' component='DS3231' macro='WriteTime' >
							<argument exp='Seconds' />
							<argument exp='Minutes' />
							<argument exp='Hours' />
						</command>
						<command class_type='call' title='Display Time Setup Finished' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Time Setup OK&quot;' />
							<argument exp='70' />
							<argument exp='250' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='2' />
						<command class_type='call' title='Clear Setup Screen' component='gLCD_EB076_4D1' macro='ClearDisplay' />
						<command class_type='call' title='Setup Main Screen' macro='SetupScreen' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetDate' description='' >
						<command class_type='call' title='Clear Screen' component='gLCD_EB076_4D1' macro='ClearDisplay' />
						<command class_type='call' title='Box For Time' component='gLCD_EB076_4D1' macro='DrawRectangle' >
							<argument exp='10' />
							<argument exp='10' />
							<argument exp='230' />
							<argument exp='60' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Display Setup Menu' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Date Setup Menu&quot;' />
							<argument exp='10' />
							<argument exp='80' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S0 Increase Date&quot;' />
							<argument exp='10' />
							<argument exp='100' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S1 Decrease Date&quot;' />
							<argument exp='10' />
							<argument exp='115' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S2 Increase Month&quot;' />
							<argument exp='10' />
							<argument exp='130' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S3 Decrease Month&quot;' />
							<argument exp='10' />
							<argument exp='145' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S4 Increase Year&quot;' />
							<argument exp='10' />
							<argument exp='160' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S5 Decrease Year&quot;' />
							<argument exp='10' />
							<argument exp='175' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;S7 Set Date&quot;' />
							<argument exp='10' />
							<argument exp='190' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Date&quot;' />
							<argument exp='50' />
							<argument exp='40' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Month&quot;' />
							<argument exp='100' />
							<argument exp='40' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Year&quot;' />
							<argument exp='155' />
							<argument exp='40' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='loop' title='Loop' type='1' exp='SwitchPress = 128' start='0' >
							<flowline >
								<command class_type='call' title='Show Date' component='gLCD_EB076_4D1' macro='PrintNumber' >
									<argument exp='Date' />
									<argument exp='65' />
									<argument exp='20' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Decision' exp='Date &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
											<argument exp='&quot;0&quot;' />
											<argument exp='55' />
											<argument exp='20' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Show Month' component='gLCD_EB076_4D1' macro='PrintNumber' >
									<argument exp='Month' />
									<argument exp='120' />
									<argument exp='20' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Decision' exp='Month &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
											<argument exp='&quot;0&quot;' />
											<argument exp='110' />
											<argument exp='20' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='PrintNumber' >
									<argument exp='Year' />
									<argument exp='165' />
									<argument exp='20' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='input' title='Input' mode='0' port='1048577' mask='255' exp='SwitchPress' />
								<command class_type='decision' title='Decision' exp='SwitchPress = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Date = Date + 1' />
										</command>
										<command class_type='decision' title='Decision' exp='Date &gt; 31' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Date = 31' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='SwitchPress = 2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Date = Date - 1' />
										</command>
										<command class_type='decision' title='Decision' exp='Date &lt; 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Date = 1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='SwitchPress = 4' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Month = Month + 1' />
										</command>
										<command class_type='decision' title='Decision' exp='Month &gt; 12' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Month = 12' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='SwitchPress = 8' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Month = Month - 1' />
										</command>
										<command class_type='decision' title='Decision' exp='Month &lt; 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Month = 1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='SwitchPress = 16' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Year = Year + 1' />
										</command>
										<command class_type='decision' title='Decision' exp='Year &gt; 99' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Year = 99' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='SwitchPress = 32' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Year = Year - 1' />
										</command>
										<command class_type='decision' title='Decision' exp='Year = 255' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Year = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
								<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
									<argument exp='&quot;                      &quot;' />
									<argument exp='20' />
									<argument exp='20' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Setup OK' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Date Setup OK&quot;' />
							<argument exp='65' />
							<argument exp='250' />
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Write Date To DS3231' component='DS3231' macro='WriteDate' >
							<argument exp='Date' />
							<argument exp='Month' />
							<argument exp='Year' />
							<argument exp='21' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='2' />
						<command class_type='call' title='Clear Display' component='gLCD_EB076_4D1' macro='ClearDisplay' />
						<command class_type='call' title='Show Main Screen' macro='SetupScreen' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetupScreen' description='' >
						<command class_type='call' title='Setup Display' component='gLCD_EB076_4D1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='G4D_EnableTouchscreenPicaso' />
						<command class_type='call' title='Set Date Touch Area' component='gLCD_EB076_4D1' macro='G4D_SetTouchRegionPicaso' >
							<argument exp='10' />
							<argument exp='260' />
							<argument exp='220' />
							<argument exp='300' />
						</command>
						<command class_type='call' title='Set Background Colour = Blue' component='gLCD_EB076_4D1' macro='SetBackgroundColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='255' />
						</command>
						<command class_type='call' title='Set Foreground Colour =  Yellow' component='gLCD_EB076_4D1' macro='SetForegroundColour' >
							<argument exp='255' />
							<argument exp='255' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='ClearDisplay' />
						<command class_type='call' title='Box For Time' component='gLCD_EB076_4D1' macro='DrawRectangle' >
							<argument exp='10' />
							<argument exp='10' />
							<argument exp='230' />
							<argument exp='60' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Box For Date' component='gLCD_EB076_4D1' macro='DrawRectangle' >
							<argument exp='10' />
							<argument exp='80' />
							<argument exp='230' />
							<argument exp='130' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Box For Temperature' component='gLCD_EB076_4D1' macro='DrawRectangle' >
							<argument exp='10' />
							<argument exp='150' />
							<argument exp='230' />
							<argument exp='200' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Setup Time Lable' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Set Time&quot;' />
							<argument exp='25' />
							<argument exp='280' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='DrawRectangle' >
							<argument exp='15' />
							<argument exp='270' />
							<argument exp='85' />
							<argument exp='300' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Setup Date Lable' component='gLCD_EB076_4D1' macro='Print' >
							<argument exp='&quot;Set Date&quot;' />
							<argument exp='165' />
							<argument exp='280' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' component='gLCD_EB076_4D1' macro='DrawRectangle' >
							<argument exp='155' />
							<argument exp='270' />
							<argument exp='225' />
							<argument exp='300' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='call' title='Setup DS3231' component='DS3231' macro='Initialise' />
						<command class_type='call' title='Setup Screen' macro='SetupScreen' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='DS3231' macro='ReadTime' >
									<return exp='Time_S' />
									<argument exp='1' />
									<argument exp='&quot;:&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='DS3231' macro='ReadDate' >
									<return exp='Date_S' />
									<argument exp='&quot;-&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='DS3231' macro='ReadTemperature' >
									<return exp='Temp_S' />
									<argument exp='1' />
									<argument exp='1' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='DS3231' macro='AutoTimeAdjust' />
								<command class_type='call' title='Call Component Macro' component='DS3231' macro='DayOfWeek' >
									<return exp='Day_S' />
								</command>
								<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
									<argument exp='Time_S' />
									<argument exp='90' />
									<argument exp='18' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
									<argument exp='Day_S' />
									<argument exp='99' />
									<argument exp='38' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='Print' >
									<argument exp='Date_S' />
									<argument exp='90' />
									<argument exp='100' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Show Sensor Temperature' component='gLCD_EB076_4D1' macro='Print' >
									<argument exp='&quot;Sensor Temperature&quot;' />
									<argument exp='50' />
									<argument exp='160' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='' component='gLCD_EB076_4D1' macro='Print' >
									<argument exp='Temp_S' />
									<argument exp='95' />
									<argument exp='178' />
									<argument exp='2' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='G4D_GetTouchCoordinatesPicaso' >
									<return exp='ScreenTouched' />
								</command>
								<command class_type='decision' title='Decision' exp='ScreenTouched = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='gLCD_EB076_4D1' macro='G4D_ReadTouchCoordinatesPicaso' >
											<return exp='X_Touch' />
											<argument exp='0' />
										</command>
										<command class_type='decision' title='Decision' exp='X_Touch &gt; 0 &amp; X_Touch &lt; 100' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' macro='SetTime' />
											</flowline>
											<flowline >
												<command class_type='call' title='Call Macro' macro='SetDate' />
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c6586b24-9a1c-4e19-8051-8ae5923c418a' vmin='1320' vmaj='16' codename='gLCD_EB076_4D1' x='-16' y='36' z='19.536' xsz='3.64742' ysz='3.40645' zsz='3.40645' 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='pixel_height' data='320' />
					<value target='pixel_width' data='240' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='colour_bit_depth' data='16' />
					<value target='red_bit_depth' data='5' />
					<value target='green_bit_depth' data='6' />
					<value target='blue_bit_depth' data='5' />
					<value target='channel' data='000' />
					<value target='reset_pin' data='$PORTC.5' />
					<value target='tx_pin' data='$PORTC.6' />
					<value target='rx_pin' data='$PORTC.7' />
					<value target='HighSpeed' data='1' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='000' />
					<value target='DisplayMethod' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='a032b252-4991-4fbc-bdde-18646f741455' vmin='1320' vmaj='16' codename='DS3231' x='144' y='104' z='0.755' 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='SQW' data='003' />
					<value target='En32kHz' data='1' />
					<value target='DayReturn' data='002' />
					<value target='AlarmInt' data='0' />
					<value target='DOF' data='000' />
					<value target='BST' data='0' />
					<value target='Alarm1Rate' data='003' />
					<value target='Alarm2Rate' data='002' />
					<value target='CHANNEL' data='000' />
					<value target='BAUD_LIST' data='001' />
					<value target='SRC' data='000' />
					<value target='SMB' data='000' />
					<value target='BAUD' data='50000' />
					<value target='SDA' data='$PORTD.4' />
					<value target='SCL' data='$PORTD.3' />
					<value target='label' data='DS3231' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='208101fb-f735-4e83-980b-c1d2b4be28ff' vmin='40' vmaj='16' codename='switch_array_push1' x='-24' y='-136' z='8.57143' xsz='1.78571' ysz='1.78571' zsz='1.78571' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='count' data='8' />
					<value target='port' data='001' />
					<value target='polarity' data='000' />
					<value target='debounce' data='0' />
					<value target='align' data='000' />
					<value target='spacing' data='13.000000' />
					<value target='reverse' data='0' />
					<value target='show_labels' data='004' />
					<value target='label_color' data='16711680' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='-13' ye='-10' ze='520' xt='-13' yt='-10' 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='7360576' 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' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAHgIAAHYCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetTime' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAHgIAAHYCAAA' zoom='79' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetDate' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAHgIAAHYCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetupScreen' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAHgIAAHYCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
