<root>
<document scada='0' schema='102' license='1,billduck,RVNTW4' title='' description='' fcversion='524545' target='ARD.ATMEGA.Arduino Uno R3 PDIP' >
	<config data='' clkspd='16000000' simspd='1' usewdt='0' constif='0' commport='30' />
	<plugins >
		<dll_models 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='3' />
			<data name='ClockPin' value='1' />
			<data name='DataPort' value='3' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='11' />
			<data name='CalculatedCommsDelay' value='11' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='f0f99171-294d-4a3a-a995-9eee2e644c48' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Count' 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='MinuteFromMidnight' type='s16' description='Minute of day, beginning at midnight. 24 x 60 = 1440 minutes per 24 hours.' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='HOUR_b' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MINUTE_b' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='GetTime' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='MINUTEb' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='HOURb' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Get Minutes' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetMins' >
							<return exp='MINUTE_b' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Get Hour' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetHours' >
							<return exp='HOUR_b' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Description' description='Explains the moves throughout the day' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='DisplayDelay' type='s16' description='' isconst='1' isinit='1' usrinit='5' setinit='5' />
						<command class_type='call' title='&quot;At 7, move East&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot;At 7, move East&quot;' />
						</command>
						<command class_type='call' title='Cursor 0,1' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='&quot;Dwell to 9:45&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot; Dwell to 9:45&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='.DisplayDelay' type='2' />
						<command class_type='call' title='CLS' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Clear' />
						<command class_type='call' title='&quot;24 Moves to 3:30&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot;24 Moves to 3:30&quot;' />
						</command>
						<command class_type='call' title='Cursor 0,1' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='&quot;Horiz&apos;tl @ 6:30&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot; Horiz&apos;tl @ 6:30&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='.DisplayDelay' type='2' />
						<command class_type='call' title='CLS' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Clear' />
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='Remove Display' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='LCD Start' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Start' />
						<command class_type='call' title='RTC Initialize' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='Initialise' />
						<command class_type='call' title='Call Version' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Version' />
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call GetTime' cmdcolor='1879295' cmdcolor_sec='5751039' macro='' />
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='MinuteFromMidnight = HOUR_b * 60 + MINUTE_b' />
								</command>
								<command class_type='call' title='Display Minute From Midnight' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintNumber' >
									<argument exp='MinuteFromMidnight' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='5' type='2' />
								<command class_type='call' title='CLS' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Clear' />
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Count = 55' start='0' >
									<flowline >
										<command class_type='call' title='Display Count' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintNumber' >
											<argument exp='Count' />
										</command>
										<command class_type='call' title='&quot; Seconds&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
											<argument exp='&quot; Seconds&quot;' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='995' type='1' />
										<command class_type='call' title='CLS' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Clear' />
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='Count = Count + 1' />
											<exp exp='' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Count = 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Instructions' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='CLS_Delay' type='s16' description='Delay for Clearing The Screen' isconst='1' isinit='1' usrinit='4' setinit='4' />
						<command class_type='call' title='&quot;Run-&gt;Tap up&apos;r PB&quot;' textarea='39,16,39,16' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot;Run-&gt;Tap up&apos;r PB&quot;' />
						</command>
						<command class_type='call' title='Cursor 0,1' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='&quot;Stop-&gt;Tap lw&apos;r PB&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot;Stop-&gt;Tap lwr PB&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='.CLS_Delay' type='2' />
						<command class_type='call' title='CLS' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Clear' />
						<command class_type='call' title='&quot;To change Time&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot;To change Time&quot;' />
						</command>
						<command class_type='call' title='Cursor 0,1' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='&quot; Tap Right PB.&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot; Tap Right PB.&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='.CLS_Delay' type='2' />
						<command class_type='call' title='CLS' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Clear' />
						<command class_type='call' title='&quot;To Jog Azimuth&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot;To Jog Azimuth&quot;' />
						</command>
						<command class_type='call' title='Cursor 0,1' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='&quot; Tap Left PB.&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot; Tap Left PB.&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='.CLS_Delay' type='2' />
						<command class_type='call' title='CLS' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Version' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='1' type='2' />
						<command class_type='call' title='&quot;Minute as Byte&quot;' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='PrintString' >
							<argument exp='&quot;Minute as Byte&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='2' type='2' />
						<command class_type='call' title='CLS' cmdcolor='1879295' cmdcolor_sec='5751039' component='Display_2x16' macro='Clear' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='f0e01201-8951-4748-87c3-d1f8423bb6e4' vmin='1' vmaj='2' codename='RTC1' x='0' y='30' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='RTCModule' data='001' />
					<value target='I2CAddr' data='208' />
					<value target='cal_i2c1::CHANNEL' data='000' />
					<value target='cal_i2c1::SDA' data='$PORTC.4' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTC.5' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='Simulation' data='0' />
					<value target='RTCType' data='0' />
					<value target='ClockSource' data='000' />
					<value target='FracDiv' data='000' />
					<value target='Prescaler' data='000' />
					<value target='Divider' data='0' />
					<value target='MaxDivider' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='8462ac99-ca8f-429b-953a-36dbe58ada72' vmin='4' vmaj='1' codename='LCD_PB' x='0' y='0' z='0' xsz='11.8794' ysz='11.8794' zsz='16' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='angle_start' data='225.000000' />
					<value target='angle_sweep' data='270.000000' />
					<value target='color' data='16777215' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='0' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0953aac0-9c23-4c2f-9843-88954a4191ea' vmin='5' vmaj='2' codename='Display_2x16' x='-3.21239' y='-33.165' z='26.6521' xsz='80' ysz='20' zsz='1.71986' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='LCD_Mode' data='000' />
					<value target='Pin_Data_0' data='$PORTD.4' />
					<value target='Pin_Data_1' data='$PORTD.5' />
					<value target='Pin_Data_2' data='$PORTD.6' />
					<value target='Pin_Data_3' data='$PORTD.7' />
					<value target='Pin_Data_4' data='$PORTA.1' />
					<value target='Pin_Data_5' data='$PORTA.1' />
					<value target='Pin_Data_6' data='$PORTA.1' />
					<value target='Pin_Data_7' data='$PORTA.1' />
					<value target='LCD_Port' data='$PORTA' />
					<value target='Pin_RS' data='$PORTB.0' />
					<value target='Pin_E' data='$PORTB.1' />
					<value target='LCD_Use_Write' data='0' />
					<value target='Pin_RW' data='$PORTA.0' />
					<value target='Rows' data='002' />
					<value target='Columns' data='016' />
					<value target='RemapCharacters' data='0' />
					<value target='DelayTiming' data='100' />
					<value target='BackgroundColor' data='49152' />
					<value target='LineColor' data='0' />
					<value target='TextColor' data='0' />
					<value target='Font' data='Fixedsys' />
					<value target='CursorPosX' data='12' />
					<value target='CursorPosY' data='1' />
					<value target='DoubleDelay' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='-3.33201' ye='4.19479' ze='96.1354' xt='-3.33201' yt='4.19479' 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='100' />
		<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---------------------wUAAAAcAAAAKAUAANsCAAA' zoom='75' scrollx='0' scrolly='650' flags='0' />
		<view type='0' name='GetTime' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAcAAAAKAUAANsCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Version' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAcAAAAKAUAANsCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
