<root>
<document schema='101' license='1,JohnCrow,FUD4XJ' title='' description='Connections

Port A = EB060 RC6=5 Board
Port B = Custom 4x20 Display

Port C = Custom DS3231 Clock Board (I2C)
C3 = SCL
C4 = SDA

C0 = Alarm Control

RC5 Control Buttons

Red     = Setup Time
Green  = Setup Date
Yellow = Setup Alarm 1
Blue    = Setup Alarm 2

* = Read Alarm 1
# = Read Alarm 2

Menu = Show Help Menu
UP     = Show Temperature
' target='PIC.16F.16F1939' >
	<config data='!0,fe2!10,1633%0,2%3,0%5,1%6,1%7,1%8,1%9,3%b,1%c,0%d,0%10,3%14,3%18,0%19,1%1a,1%1c,1%1d,0' 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='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='0' head='' body='' />
	<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='9' />
			<data name='CalculatedCommsDelay' value='9' />
		</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='71c78c0e-856a-4b0b-819d-3387e0ca6669' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' 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='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm1_Minutes_High' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RX_Data' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Date_Low' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm2_Hours' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Hours' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Minutes_High' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CheckMinutes' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='RTC_Hours' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm1_Hours_Low' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Date' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm1_Minutes_Low' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm2_Hours_Low' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Year_Low' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm2_Hours_High' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CheckSeconds' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm1_Hours' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm1_Minutes' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Check_Rx' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Day' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CheckDate' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Time_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='Alarm2_Minutes' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm1_Hours_High' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CheckMonth' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Minutes' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Hours_High' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Minutes_Low' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Year_High' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Month_High' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Year' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CheckHours' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Date_High' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Month_Low' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RTC_Minutes' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temperature_CS' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Date_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='Hours_Low' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm2_Minutes_Low' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Alarm2_Minutes_High' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='ReadAlarm2' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='comment' title='' comment='Display Time' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Alarm 2 Settings&quot;' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='7' />
							<argument exp='2' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm2_Hours &lt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='Print Leading Zero For Less Than 10' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;0&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Alarm2_Hours' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;:&quot;' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm2_Minutes &lt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;0&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Alarm2_Minutes' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='ReadAlarm1' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='2' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Alarm 1 Settings&quot;' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='7' />
							<argument exp='2' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm1_Hours &lt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='Print Leading Zero For Less Than 10' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;0&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Alarm1_Hours' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;:&quot;' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm1_Minutes &lt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='Print Leading Zero For Less Than 10' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;0&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Alarm1_Minutes' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetupAlarm2' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Setup Time' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='label' title='Connection Point' cmdcolor='3433116' cmdcolor_sec='3433116' labelid='0' labelname='B' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='4' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Alarm 2 Setup&quot;' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Enter Hours   &quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Hour High Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Alarm2_Hours_High' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Alarm2_Hours = Alarm2_Hours_High * 10' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Hour Low Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Alarm2_Hours_Low' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Alarm2_Hours = Alarm2_Hours + Alarm2_Hours_Low' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm2_Hours &lt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='Print Leading Zero For Less Than 10' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;0&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Alarm2_Hours' />
						</command>
						<command class_type='call' title='Enter Minutes' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Enter Minutes &quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Minutes High Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Alarm2_Minutes_High' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Alarm2_Minutes = Alarm2_Minutes_High * 10' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Minutes Low Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Alarm2_Minutes_Low' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Alarm2_Minutes = Alarm2_Minutes + Alarm2_Minutes_Low' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm2_Minutes &lt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='Print Leading Zero For Less Than 10' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;0&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='((Alarm2_Hours &lt; 0) || (Alarm2_Hours &gt; 23) || (Alarm2_Minutes &lt; 0) || (Alarm2_Minutes &gt; 59))' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='Error Check' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='5' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Time Error&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='6' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Re-Enter&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
								<command class_type='goto' title='Goto Connection Point' cmdcolor='3433116' cmdcolor_sec='3433116' labelid='0' labelname='' />
							</flowline>
							<flowline >
								<command class_type='call' title='Display Minutes' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Alarm2_Minutes' />
								</command>
								<command class_type='call' title='Store Alarm2 Hour In EEPROM' cmdcolor='3446692' cmdcolor_sec='3446692' component='eeprom1' macro='Write' >
									<argument exp='2' />
									<argument exp='Alarm2_Hours' />
								</command>
								<command class_type='call' title='Store Alarm2 Minutes In EEPROM' cmdcolor='3446692' cmdcolor_sec='3446692' component='eeprom1' macro='Write' >
									<argument exp='3' />
									<argument exp='Alarm2_Minutes' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
								<command class_type='call' title='Clear LCD' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='Finished Time Setup' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='1' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Alarm 2 Setup Done&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='2' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Saving To EEPROM&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetupAlarm1' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='label' title='Connection Point' cmdcolor='3433116' cmdcolor_sec='3433116' labelid='0' labelname='A' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='4' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Alarm 1 Setup&quot;' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Enter Hours   &quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Hour High Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Alarm1_Hours_High' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Alarm1_Hours = Alarm1_Hours_High * 10' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Hour Low Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Alarm1_Hours_Low' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Alarm1_Hours = Alarm1_Hours + Alarm1_Hours_Low' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm1_Hours &lt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='Print Leading Zero For Less Than 10' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;0&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Alarm1_Hours' />
						</command>
						<command class_type='call' title='Enter Minutes' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Enter Minutes &quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Minutes High Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Alarm1_Minutes_High' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Alarm1_Minutes = Alarm1_Minutes_High * 10' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Minutes Low Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Alarm1_Minutes_Low' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Alarm1_Minutes = Alarm1_Minutes + Alarm1_Minutes_Low' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm1_Minutes &lt; 10' swap='0' >
							<flowline >
								<command class_type='call' title='Print Leading 0 For Less Than 10' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;0&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='((Alarm1_Hours &lt; 0) || (Alarm1_Hours &gt; 23) || (Alarm1_Minutes &lt; 0) || (Alarm1_Minutes &gt; 59))' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='Error Check' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='5' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Time Error&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='6' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Re-Enter&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
								<command class_type='goto' title='Goto Connection Point' cmdcolor='3433116' cmdcolor_sec='3433116' labelid='0' labelname='' />
							</flowline>
							<flowline >
								<command class_type='call' title='Display Minutes' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Alarm1_Minutes' />
								</command>
								<command class_type='call' title='Store Alarm1 Hour In EEPROM' cmdcolor='3446692' cmdcolor_sec='3446692' component='eeprom1' macro='Write' >
									<argument exp='0' />
									<argument exp='Alarm1_Hours' />
								</command>
								<command class_type='call' title='Store Alarm1 Minutes In EEPROM' cmdcolor='3446692' cmdcolor_sec='3446692' component='eeprom1' macro='Write' >
									<argument exp='1' />
									<argument exp='Alarm1_Minutes' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
								<command class_type='call' title='Clear LCD' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='Finished Time Setup' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='1' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Alarm 1 Setup Done&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='2' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Saving To EEPROM&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetupTime' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='label' title='Connection Point' cmdcolor='3433116' cmdcolor_sec='3433116' labelid='0' labelname='C' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Enter Hours &quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Hour High Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Hours_High' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Hours = Hours_High * 10' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Hour Low Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Hours_Low' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Hours = Hours + Hours_Low' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Hours' />
						</command>
						<command class_type='call' title='Enter Minutes' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Enter Minutes &quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Minutes High Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Minutes_High' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Minutes = Minutes_High * 10' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Minutes Low Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Minutes_Low' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Minutes = Minutes + Minutes_Low' />
						</command>
						<command class_type='call' title='Display Minutes' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Minutes' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Seconds Set To 00&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;OK To Program Time&quot;' />
						</command>
						<command class_type='loop' title='Press OK To Program Time' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='RX_Data = 37' start='0' >
							<flowline >
								<command class_type='call' title='Check For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read RC5 Data' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='RX_Data' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='comment' title='' comment='Ok Button = 37' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
							</flowline>
						</command>
						<command class_type='comment' title='' comment='Error Check' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='((Hours &lt; 0) || (Hours &gt; 23) || (Minutes &lt; 0) || (Minutes &gt; 59))' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='Error Check' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='6' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Time Error&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='7' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Re-Enter&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
								<command class_type='goto' title='Goto Connection Point' cmdcolor='3433116' cmdcolor_sec='3433116' labelid='0' labelname='' />
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='Write Hours To DS3231' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='WriteTimeHour' >
							<argument exp='Hours' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Write Minutes To DS3231' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='WriteTimeMinutes' >
							<argument exp='Minutes' />
						</command>
						<command class_type='call' title='Write 0 Seconds To DS3231' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='WriteTimeSeconds' >
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='1' type='2' />
						<command class_type='call' title='Clear LCD' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='Finished Time Setup' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Time Setup Finished&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='1' type='2' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetupDate' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='label' title='Connection Point' cmdcolor='3433116' cmdcolor_sec='3433116' labelid='0' labelname='D' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='Clear LCD' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Start Of Date Setup' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Enter Date &quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Date HighByte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Date_High' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Date = Date_High * 10' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Date Low Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Date_Low' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Date = Date + Date_Low' />
						</command>
						<command class_type='call' title='Display Date' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Date' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Enter Month &quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Month High Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Month_High' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Month = Month_High * 10' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Month Low Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Month_Low' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Month = Month + Month_Low' />
						</command>
						<command class_type='call' title='Display Month' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Month' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Enter Year' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Enter Year &quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Year High Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Year_High' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Year = Year_High * 10' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Year Low Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Year_Low' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4630130' cmdcolor_sec='4630130' >
							<exp exp='Year = Year + Year_Low' />
						</command>
						<command class_type='call' title='Display Year' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Year' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Enter Day &quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='Check_Rx = 1' start='0' >
							<flowline >
								<command class_type='call' title='Wait For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read Day Number' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='Day' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Display Day Number' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
							<argument exp='Day' />
						</command>
						<command class_type='comment' title='' comment='Error Check' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='((Date &lt; 0) || (Date &gt; 31) || (Month &lt; 1) || (Month &gt; 12) || (Day &lt; 1 || Day &gt; 7) || (Year &lt; 0 || Year &gt; 99))' swap='0' >
							<flowline >
								<command class_type='comment' title='' comment='Error Check' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='6' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Date Error&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='7' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Re-Enter&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
								<command class_type='goto' title='Goto Connection Point' cmdcolor='3433116' cmdcolor_sec='3433116' labelid='0' labelname='' />
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Write Date Info To DS 3231' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='WriteDate' >
							<argument exp='Date' />
							<argument exp='Month' />
							<argument exp='Year' />
							<argument exp='21' />
						</command>
						<command class_type='call' title='Clear LCD' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='Finished Date Setup' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Date Setup Finished&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Temperature' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='Read Temperature' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='ReadTemperature' >
							<return exp='Temperature_CS' />
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Display Temperature' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='2' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Temperature &quot;' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='Temperature_CS' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintAscii' >
							<argument exp='178' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;C&quot;' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='1' />
							<argument exp='3' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Help' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='comment' title='' comment='Title Line (Fixed)' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='5' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Help Menu&quot;' />
						</command>
						<command class_type='comment' title='' comment='Page 1' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Red    = Set Time&quot;' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Green  = Set Date&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
						<command class_type='comment' title='' comment='Page 2' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Yellow = Set Alarm1&quot;' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Blue   = Set Alarm2&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
						<command class_type='comment' title='' comment='Page 3' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;* = Read Alarm1     &quot;' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;# = Read Alarm2    &quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
						<command class_type='comment' title='' comment='Page 4' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;UP = Temperature    &quot;' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;                   &quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Alarm2Active' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Loop Until OK Pressed' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='RX_Data = 37' >
							<flowline >
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='3' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Alarm 2 Active&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='7' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Alarm2_Hours' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='9' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;:&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='10' />
									<argument exp='2' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm2_Minutes &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Print Leading 0 For Less Than 10' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Alarm2_Minutes' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='2' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Press OK To Stop&quot;' />
								</command>
								<command class_type='output' title='Output' cmdcolor='4404371' cmdcolor_sec='4404371' mode='1' port='1048578' mask='1' exp='1' />
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
								<command class_type='output' title='Output' cmdcolor='4404371' cmdcolor_sec='4404371' mode='1' port='1048578' mask='1' exp='0' />
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
								<command class_type='call' title='Check For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read RC5 Data' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='RX_Data' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Alarm1Active' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Loop Until OK Pressed' cmdcolor='3442081' cmdcolor_sec='3442081' type='1' exp='RX_Data = 37' >
							<flowline >
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='3' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Alarm 1 Active&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='7' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Alarm1_Hours' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='9' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;:&quot;' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='10' />
									<argument exp='2' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm1_Minutes &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Print Leading 0 For Less Than 10' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Alarm1_Minutes' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='2' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Press OK To Stop&quot;' />
								</command>
								<command class_type='output' title='Output' cmdcolor='4404371' cmdcolor_sec='4404371' mode='1' port='1048578' mask='1' exp='1' />
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
								<command class_type='output' title='Output' cmdcolor='4404371' cmdcolor_sec='4404371' mode='1' port='1048578' mask='1' exp='0' />
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
								<command class_type='call' title='Check For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read RC5 Data' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='RX_Data' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Setup RTC' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='Initialise' />
						<command class_type='call' title='Enable Rx on RC5 E-Block' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='RXEnable' />
						<command class_type='call' title='Setup LCD' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Start' />
						<command class_type='comment' title='' comment='Check Clock Is Set' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='ReadTimeINT' >
							<return exp='CheckHours' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='ReadTimeINT' >
							<return exp='CheckMinutes' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='ReadTimeINT' >
							<return exp='CheckSeconds' />
							<argument exp='0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='((CheckHours = 0) &amp;&amp; (CheckMinutes = 0) &amp;&amp; (CheckSeconds = 0))' swap='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Clock Not Set&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
								<command class_type='call' title='Call Setup Time Macro' cmdcolor='3446692' cmdcolor_sec='3446692' macro='SetupTime' />
							</flowline>
							<flowline />
						</command>
						<command class_type='comment' title='' comment='Check Alarm Is Set' textarea='12,0,12,0' cmdcolor='5416530' cmdcolor_sec='5416530' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='ReadDateINT' >
							<return exp='CheckMonth' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='ReadDateINT' >
							<return exp='CheckDate' />
							<argument exp='1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='((CheckMonth = 01) &amp;&amp; (CheckDate = 01))' swap='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Date Not Set&quot;' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
								<command class_type='call' title='Call Setup Date Macro' cmdcolor='3446692' cmdcolor_sec='3446692' macro='SetupDate' />
							</flowline>
							<flowline />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='200' type='1' />
						<command class_type='call' title='Read Last Alarm 1 Hours From EEPROM' cmdcolor='3446692' cmdcolor_sec='3446692' component='eeprom1' macro='Read' >
							<return exp='Alarm1_Hours' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Read Last Alarm 1 Minutes From EEPROM' cmdcolor='3446692' cmdcolor_sec='3446692' component='eeprom1' macro='Read' >
							<return exp='Alarm1_Minutes' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Read Last Alarm 2 Hours From EEPROM' cmdcolor='3446692' cmdcolor_sec='3446692' component='eeprom1' macro='Read' >
							<return exp='Alarm2_Hours' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Read Last Alarm 2  Minutes From EEPROM' cmdcolor='3446692' cmdcolor_sec='3446692' component='eeprom1' macro='Read' >
							<return exp='Alarm2_Minutes' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;Loading EEprom Alarms&quot;' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='(Alarm1_Hours = 0) &amp;&amp; (Alarm1_Minutes = 1)' swap='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='0' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Alarm 1 Not Set&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='0' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Alarm 1 = &quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm1_Hours &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Print Leading Zero' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Alarm1_Hours' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;:&quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm1_Minutes &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Print Leading Zero' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Alarm1_Minutes' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='(Alarm2_Hours = 2) &amp;&amp; (Alarm2_Minutes = 3)' swap='0' >
							<flowline >
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='0' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Alarm 2 Not Set&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
									<argument exp='0' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;Alarm 2 = &quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm2_Hours &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Print Leading Zero' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Alarm2_Hours' />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
									<argument exp='&quot;:&quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Alarm2_Minutes &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Print Leading Zero' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='Alarm2_Minutes' />
								</command>
							</flowline>
						</command>
						<command class_type='delay' title='Delay' cmdcolor='3486869' cmdcolor_sec='3486869' exp='2' type='2' />
						<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Clear' />
						<command class_type='loop' title='Loop' cmdcolor='3442081' cmdcolor_sec='3442081' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Check For Signal From Remote' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CheckRx' >
									<return exp='Check_Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='Check_Rx = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Read RC5 Data' cmdcolor='3446692' cmdcolor_sec='3446692' component='RC5' macro='CollectData' >
											<return exp='RX_Data' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay For Contact Bounce' cmdcolor='3486869' cmdcolor_sec='3486869' exp='500' type='1' />
										<command class_type='decision' title='Red Button - Setup Time' cmdcolor='3424919' cmdcolor_sec='3424919' exp='RX_Data = 11' swap='0' >
											<flowline >
												<command class_type='call' title='Call Setup Time Macro' cmdcolor='3446692' cmdcolor_sec='3446692' macro='SetupTime' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Green Button - Setup Date' cmdcolor='3424919' cmdcolor_sec='3424919' exp='RX_Data = 46' swap='0' >
											<flowline >
												<command class_type='call' title='Call Setup Date Macro' cmdcolor='3446692' cmdcolor_sec='3446692' macro='SetupDate' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='* Button - Read Alarm 1 Settings' cmdcolor='3424919' cmdcolor_sec='3424919' exp='RX_Data = 10' swap='0' >
											<flowline >
												<command class_type='call' title='Call Read Alarm Setting Macro' cmdcolor='3446692' cmdcolor_sec='3446692' macro='ReadAlarm1' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='# Button - Read Alarm 2 Settings' cmdcolor='3424919' cmdcolor_sec='3424919' exp='RX_Data = 14' swap='0' >
											<flowline >
												<command class_type='call' title='Call Read Alarm 2 Setting Macro' cmdcolor='3446692' cmdcolor_sec='3446692' macro='ReadAlarm2' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Yellow Button - Setup Alarm 1' cmdcolor='3424919' cmdcolor_sec='3424919' exp='RX_Data = 56' swap='0' >
											<flowline >
												<command class_type='call' title='Call Setup Alarm 1 Macro' cmdcolor='3446692' cmdcolor_sec='3446692' macro='SetupAlarm1' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Blue Button - Setup Alarm 2' cmdcolor='3424919' cmdcolor_sec='3424919' exp='RX_Data = 41' swap='0' >
											<flowline >
												<command class_type='call' title='Call Setup Alarm 2 Macro' cmdcolor='3446692' cmdcolor_sec='3446692' macro='SetupAlarm2' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Up Arrow - Read Temperature' cmdcolor='3424919' cmdcolor_sec='3424919' exp='RX_Data = 20' swap='0' >
											<flowline >
												<command class_type='call' title='Call Read Temperature Macro' cmdcolor='3446692' cmdcolor_sec='3446692' macro='Temperature' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Home Button - Help Menu' cmdcolor='3424919' cmdcolor_sec='3424919' exp='RX_Data = 13' swap='0' >
											<flowline >
												<command class_type='call' title='Call Help menu' cmdcolor='3446692' cmdcolor_sec='3446692' macro='Help' />
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Read Date' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='ReadDate' >
											<return exp='Date_S' />
											<argument exp='&quot;-&quot;' />
										</command>
										<command class_type='call' title='Read Time' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='ReadTime' >
											<return exp='Time_S' />
											<argument exp='1' />
											<argument exp='&quot;:&quot;' />
										</command>
										<command class_type='call' title='Display Time' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
											<argument exp='&quot;RC5 Controlled Clock&quot;' />
										</command>
										<command class_type='call' title='Display Time' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
											<argument exp='6' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
											<argument exp='Time_S' />
										</command>
										<command class_type='call' title='Display Date' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='Cursor' >
											<argument exp='6' />
											<argument exp='3' />
										</command>
										<command class_type='call' title='' cmdcolor='3446692' cmdcolor_sec='3446692' component='lcd_4x20' macro='PrintString' >
											<argument exp='Date_S' />
										</command>
										<command class_type='call' title='Read RTC Hours As Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='ReadTimeINT' >
											<return exp='RTC_Hours' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Read RTC Minutes As Byte' cmdcolor='3446692' cmdcolor_sec='3446692' component='DS3231' macro='ReadTimeINT' >
											<return exp='RTC_Minutes' />
											<argument exp='1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='(RTC_Minutes = Alarm1_Minutes) &amp;&amp; (RTC_Hours = Alarm1_Hours)' swap='0' >
											<flowline >
												<command class_type='call' title='Alarm 1' cmdcolor='3446692' cmdcolor_sec='3446692' macro='Alarm1Active' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='3424919' cmdcolor_sec='3424919' exp='((RTC_Minutes = Alarm2_Minutes) &amp;&amp; (RTC_Hours = Alarm2_Hours))' swap='0' >
											<flowline >
												<command class_type='call' title='Alarm 2' cmdcolor='3446692' cmdcolor_sec='3446692' macro='Alarm2Active' />
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='81e90a9f-1594-4b34-8aef-5dd671dddc30' vmin='2' vmaj='1' codename='RC5' x='0' y='0' 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='ir_freq' data='36000' />
					<value target='timer_enval' data='1' />
					<value target='timer_avr_enval' data='' />
					<value target='timer_pre_val' data='119' />
					<value target='timer_arm_enval' data='' />
					<value target='lwidth' data='3' />
					<value target='hwidth' data='23' />
					<value target='cwidth' data='11' />
					<value target='pwm_period' data='138' />
					<value target='pwm_duty' data='69' />
					<value target='pwm_scaler' data='0' />
					<value target='rx_mode' data='001' />
					<value target='rx_invert_signal' data='1' />
					<value target='rx_addr_mask' data='0' />
					<value target='rx_addr_val' data='0' />
					<value target='rx_a0' data='0' />
					<value target='rx_a1' data='0' />
					<value target='rx_a2' data='0' />
					<value target='rx_a3' data='0' />
					<value target='rx_a4' data='0' />
					<value target='rx_pin' data='$PORTA.2' />
					<value target='v5rxaddress' data='0' />
					<value target='tx_mode' data='000' />
					<value target='tx_modulation' data='001' />
					<value target='tx_pwm_chan' data='001' />
					<value target='tx_pin' data='$PORTA.2' />
					<value target='tx_pwm_pin' data='$PORTC.2' />
					<value target='RemapPin' data='' />
					<value target='label' data='RC5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='a2b40602-5421-4e2f-ba82-96db1be51d69' vmin='1' vmaj='1' codename='lcd_4x20' x='0' y='60' z='3.575' 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='Pin_Data_0' data='$PORTB.0' />
					<value target='Pin_Data_1' data='$PORTB.1' />
					<value target='Pin_Data_2' data='$PORTB.2' />
					<value target='Pin_Data_3' data='$PORTB.3' />
					<value target='Pin_RS' data='$PORTB.4' />
					<value target='Pin_E' data='$PORTB.5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='a032b252-4991-4fbc-bdde-18646f741455' vmin='68' vmaj='1' codename='DS3231' x='60' y='0' 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='0' />
					<value target='En32kHz' data='1' />
					<value target='DayReturn' data='001' />
					<value target='AlarmInt' data='1' />
					<value target='DOF' data='000' />
					<value target='TimeFrmt' data='000' />
					<value target='BST' data='1' />
					<value target='Alarm1Rate' data='004' />
					<value target='Alarm2Rate' data='004' />
					<value target='CHANNEL' data='001' />
					<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='$PORTC.4' />
					<value target='SCL' data='$PORTC.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='dcbf571f-a6fa-402d-bdd4-be00cca4070f' vmin='1' vmaj='1' codename='eeprom1' x='70' y='60' z='10' 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='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='EESize' data='256 byte' />
					<value target='EEbitdepth' data='8 bit' />
					<value target='InitialValues' data='0,1,0x2,0x03,&apos;A&apos;,&apos;b&apos;,&quot;Hello&quot;' />
					<value target='InitValsParsed' data='0,1,0x2,0x03,&apos;A&apos;,&apos;b&apos;,&apos;H&apos;,&apos;e&apos;,&apos;l&apos;,&apos;l&apos;,&apos;o&apos;' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='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' />
		<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---------------------wUAAAAYAAAA9QIAAFADAAA' zoom='75' scrollx='24' scrolly='0' flags='0' />
		<view type='0' name='Help' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QIAAFADAAA' zoom='75' scrollx='0' scrolly='960' flags='0' />
		<view type='0' name='SetupTime' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QIAAFADAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Temperature' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QIAAFADAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetupDate' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QIAAFADAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetupAlarm1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QIAAFADAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetupAlarm2' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QIAAFADAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Alarm2Active' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA9QIAAFADAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
