<root>
<document scada='0' schema='102' license='1,monie jacobsen,X6U4U7' title='' description='' fcversion='524801' target='PIC16.33E.BL0032' >
	<config data='' clkspd='140000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins />
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='Count' />
		<watch expr='Press' />
	</debug>
	<traces />
	<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='2' />
			<data name='CalculatedCommsDelay' value='2' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</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='b928895b-5c7b-475c-8d85-a6855f1b47b5' 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 >
				<property name='Output Mode' target='LED_BL0167::OutputMode' typeid='16' hidden='0' locked='0' info='' filter='000Port
001Custom Pins' />
			</properties>
			<values >
				<value target='LED_BL0167::OutputMode' data='001' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Month' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Dato' type='u8' description='0' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Count' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PinChange' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Helttal' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Press' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LongPress' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='KeyPressed' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Update_Anemometer' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Sec' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Tick' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DateOld' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Year' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Decimaltal' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Min' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Tast' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Timer' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='SecOld' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FREQUENCY' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='TimerISR' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Cálculo' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Tick = Tick + 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tick = 50' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Tick = 0' />
									<exp exp='FREQUENCY = PinChange' />
									<exp exp='PinChange = 0' />
									<exp exp='Update_Anemometer = 1' />
								</command>
								<command class_type='native' title='C Code' ccode='TMR1=0;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DS3231' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetYear' >
							<return exp='Year' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetMonth' >
							<return exp='Month' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetDate' >
							<return exp='Dato' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetHours' >
							<return exp='Timer' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetMins' >
							<return exp='Min' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='GetSecs' >
							<return exp='Sec' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Indstil_Ur' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Clear' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot;  Indstil klokken!&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='2' type='2' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Clear' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot;Tryk tast&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
							<argument exp='8' />
							<argument exp='3' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot;# =Next!&quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 11' start='0' >
							<flowline >
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
											<return exp='Tast' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Tast' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
									<argument exp='0' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot;Timer:&quot;' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='Timer = 0' />
									<exp exp='Min = 0' />
									<exp exp='Sec = 0' />
									<exp exp='Year = 0' />
									<exp exp='Month = 0' />
									<exp exp='Dato = 0' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
											<return exp='Tast' />
										</command>
									</flowline>
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
								<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 11' >
									<flowline >
										<command class_type='call' title='Timer' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
											<return exp='Tast' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tast &lt; 255' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tast = 11 OR Tast = 10' swap='0' >
													<flowline />
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='Timer = (Timer * 10) + Tast' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
															<argument exp='0' />
															<argument exp='2' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
															<argument exp='&quot;Timer:&quot;' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
															<argument exp='Timer' />
														</command>
														<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
															<return exp='Tast' />
														</command>
														<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
															<flowline >
																<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
																	<return exp='Tast' />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
												<command class_type='delay' title='' cmdcolor='12632064' cmdcolor_sec='16769676' exp='20' type='1' />
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetHours' >
											<argument exp='Timer' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot;Min:&quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Tast' />
								</command>
							</flowline>
						</command>
						<command class_type='delay' title='' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 11' >
							<flowline >
								<command class_type='call' title='Minuter' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Tast' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tast &lt; 255' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tast = 11 OR Tast = 10' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Min = (Min * 10) + Tast' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
													<argument exp='0' />
													<argument exp='2' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
													<argument exp='&quot;Min:&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
													<argument exp='Min' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
													<return exp='Tast' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
													<flowline >
														<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
															<return exp='Tast' />
														</command>
													</flowline>
												</command>
												<command class_type='delay' title='' cmdcolor='12632064' cmdcolor_sec='16769676' exp='20' type='1' />
											</flowline>
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMins' >
									<argument exp='Min' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot;Year:&quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Tast' />
								</command>
							</flowline>
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 11' >
							<flowline >
								<command class_type='call' title='Set Year' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Tast' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tast &lt; 255' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tast = 11 OR Tast = 10' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Year = (Year * 10) + Tast' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
													<argument exp='0' />
													<argument exp='2' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
													<argument exp='&quot;Year:&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
													<argument exp='Year' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
													<return exp='Tast' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
													<flowline >
														<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
															<return exp='Tast' />
														</command>
													</flowline>
												</command>
												<command class_type='delay' title='' cmdcolor='12632064' cmdcolor_sec='16769676' exp='20' type='1' />
											</flowline>
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetYear' >
											<argument exp='Year' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot;Month:&quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Tast' />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 11' >
							<flowline >
								<command class_type='call' title='Set Month' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Tast' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tast &lt; 255' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tast = 11 OR Tast = 10' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Month = (Month * 10) + Tast' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
													<argument exp='0' />
													<argument exp='2' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
													<argument exp='&quot;Month:&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
													<argument exp='Month' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
													<return exp='Tast' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
													<flowline >
														<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
															<return exp='Tast' />
														</command>
													</flowline>
												</command>
												<command class_type='delay' title='' cmdcolor='12632064' cmdcolor_sec='16769676' exp='20' type='1' />
											</flowline>
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetMonth' >
											<argument exp='Month' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='ClearLine' >
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot;Dato:&quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Tast' />
								</command>
							</flowline>
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 11' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Tast' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tast &lt; 255' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Tast = 11 OR Tast = 10' swap='0' >
											<flowline />
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Dato = (Dato * 10) + Tast' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
													<argument exp='0' />
													<argument exp='2' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
													<argument exp='&quot;Dato:&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
													<argument exp='Dato' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
													<return exp='Tast' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
													<flowline >
														<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
															<return exp='Tast' />
														</command>
													</flowline>
												</command>
												<command class_type='delay' title='' cmdcolor='12632064' cmdcolor_sec='16769676' exp='20' type='1' />
											</flowline>
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetDate' >
											<argument exp='Dato' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='Tast = 255' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Tast' />
								</command>
							</flowline>
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SetSecs' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Sec = 10' />
							<exp exp='SecOld = 20' />
							<exp exp='DateOld = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Clear' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Aneometer' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='//FREQUENCY = FREQUENCY + 1' />
							<exp exp='PinChange = PinChange + 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Vindmaaler' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Chamar Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Wind' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot;Wind: &quot;' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Helttal = FREQUENCY / 10' />
							<exp exp='Decimaltal = (FREQUENCY MOD 10)' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
							<argument exp='Helttal' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot;.&quot;' />
						</command>
						<command class_type='call' title='Chamar Macro de Componente' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
							<argument exp='Decimaltal' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
							<argument exp='&quot; m/s &quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='reset_display' type='u16' description='Set to True to show display' isconst='0' isinit='1' usrinit='1' setinit='true' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='//LCD I2C : SDA = F4 og SCL = F5' />
							<exp exp='//MCP23017 : SDA = F4 og SCL = F5' />
							<exp exp='//RTC DS3231 : SDA = B.11 og SCL = B.12' />
							<exp exp='//Keypad EB014 : Column = E0, E1, E2 og Row E4, E5, E6, E7' />
							<exp exp='//Swith BL0145 : B0 til B7' />
							<exp exp='//LED BL0167 : D0 til D7' />
							<exp exp='//anemometer : INT4 = F0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='Initialise' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Timer = 0' />
							<exp exp='Min = 0' />
							<exp exp='Sec = 0' />
							<exp exp='Dato = 0' />
							<exp exp='Month = 0' />
							<exp exp='Year = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Start' />
						<command class_type='calculation' title='Interrupt 50Hz' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='//Timer 1' />
							<exp exp='//1:64' />
							<exp exp='//21875' />
							<exp exp='//Interrupt Frequency: 50Hz' />
						</command>
						<command class_type='interrupt' title='Interrupt freq 50Hz' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='TMR1' call='TimerISR' >
							<settings timer='1' prescale='64' postscale='-1' rollover='21875' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='2' />
								<option value='21875' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt Windspeed' cmdcolor='17151' cmdcolor_sec='355583' enable='1' name='INT4' call='Aneometer' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='39' />
								<option value='0' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='group' title='Group' cmdcolor='3568629' cmdcolor_sec='3568629' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='MCP23017' macro='Initialise' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='BacklightControl' >
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Clear' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='RTC1' macro='SQWandINTcontrol' >
									<argument exp='1' />
									<argument exp='0' />
									<argument exp='3' />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='DS3231' />
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
									<return exp='Press' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Press = 255' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
											<argument exp='11' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
											<argument exp='&quot;  &quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='Count = 0' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='1' exp='(Press = 255) || (Count &gt; 100)' start='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
													<return exp='Press' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Press &lt; 255' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='KeyPressed = Press' />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='Count = Count + 1' />
												</command>
												<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='5' type='1' />
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Count &gt; 80' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='LongPress = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='LongPress = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='LongPress' swap='0' >
											<flowline >
												<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='KeyPressed' >
													<case >
														<flowline />
													</case>
													<case exp='0' >
														<flowline />
													</case>
													<case exp='1' >
														<flowline />
													</case>
													<case exp='2' >
														<flowline />
													</case>
													<case exp='3' >
														<flowline />
													</case>
													<case exp='4' >
														<flowline />
													</case>
													<case exp='5' >
														<flowline />
													</case>
													<case exp='6' >
														<flowline />
													</case>
													<case exp='7' >
														<flowline />
													</case>
													<case exp='8' >
														<flowline />
													</case>
													<case exp='9' >
														<flowline />
													</case>
												</command>
												<command class_type='switch' title='Switch' textarea='36,98,36,98' cmdcolor='12615680' cmdcolor_sec='15376912' exp='KeyPressed' >
													<case >
														<flowline />
													</case>
													<case exp='10' >
														<flowline >
															<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Vis_Display_Timer_Min_Sek' />
															<command class_type='call' title='Ur Indstilling' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Indstil_Ur' />
														</flowline>
													</case>
													<case exp='11' >
														<flowline />
													</case>
												</command>
											</flowline>
											<flowline >
												<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='12615680' cmdcolor_sec='15376912' exp='KeyPressed' >
													<case >
														<flowline />
													</case>
													<case exp='0' >
														<flowline />
													</case>
													<case exp='1' >
														<flowline />
													</case>
													<case exp='2' >
														<flowline />
													</case>
													<case exp='3' >
														<flowline />
													</case>
													<case exp='4' >
														<flowline />
													</case>
													<case exp='5' >
														<flowline />
													</case>
													<case exp='6' >
														<flowline />
													</case>
													<case exp='7' >
														<flowline />
													</case>
													<case exp='8' >
														<flowline />
													</case>
													<case exp='9' >
														<flowline />
													</case>
												</command>
												<command class_type='switch' title='Switch' textarea='40,87,40,87' cmdcolor='12615680' cmdcolor_sec='15376912' exp='KeyPressed' >
													<case >
														<flowline />
													</case>
													<case exp='10' >
														<flowline />
													</case>
													<case exp='11' >
														<flowline />
													</case>
												</command>
												<command class_type='call' title='Call Component Macro' break='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
													<argument exp='0' />
													<argument exp='2' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
													<argument exp='&quot;KeyPad nr:&quot;' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
													<argument exp='11' />
													<argument exp='2' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
													<argument exp='KeyPressed' />
												</command>
												<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
													<argument exp='&quot;    &quot;' />
												</command>
											</flowline>
										</command>
										<command class_type='comment' title='' comment='Cannot then use KeyPad again!
Or continue with the codes afterwards!' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
										<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='Press &lt; 255' start='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' break='1' cmdcolor='1879295' cmdcolor_sec='5751039' component='keypad_EB014' macro='GetNumber' >
													<return exp='Press' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='delay' title='Delay' cmdcolor='12632064' cmdcolor_sec='16769676' exp='100' type='1' />
								<command class_type='decision' title='Windspeed' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Update_Anemometer = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Vindmaaler' />
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='Update_Anemometer = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Vis_Display_Timer_Min_Sek' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Print Sec' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Sec &lt;&gt; SecOld' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='SecOld = Sec' />
									<exp exp='' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot;Time: &quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Timer &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
											<argument exp='Timer' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
											<argument exp='Timer' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot;:&quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Min &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
											<argument exp='Min' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
											<argument exp='Min' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot;:&quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Sec &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
											<argument exp='Sec' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
											<argument exp='Sec' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Sec % 1 = 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Increment Count' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='Update_Anemometer = 1' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Print Dato' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Dato &lt;&gt; DateOld' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='DateOld = Dato' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot;Date: &quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Dato &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
											<argument exp='Dato' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
											<argument exp='Dato' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot;-&quot;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Month &lt; 10' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
											<argument exp='&quot;0&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
											<argument exp='Month' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
											<argument exp='Month' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot;-&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintString' >
									<argument exp='&quot;20&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' component='lcd_I2C1' macro='PrintNumber' >
									<argument exp='Year' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='76bb1b8c-43da-48d3-b53f-a9907f03a528' vmin='0' vmaj='1' codename='MCP23017' x='-55' y='-11' z='4.61266' xsz='0.625' ysz='0.625' zsz='0.625' 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='ExtAddress' data='000' />
					<value target='cal_i2c1::CHANNEL' data='002' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::SDA' data='$PORTF.4' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTF.5' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='reset_pin' data='$PORTC.0' />
					<value target='label' data='MCP23017' />
					<value target='cal_i2c1::ScopeTraces' data='0' />
					<value target='cal_i2c1::ConsoleData' data='0' />
					<value target='cal_i2c1::Injector' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='bcd6a955-12c6-4ed4-a22f-f16eb62e0762' vmin='0' vmaj='2' codename='lcd_I2C1' x='-20' y='30' z='0' xsz='1.5' ysz='1.66116' 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='Address' data='32' />
					<value target='cal_i2c1::CHANNEL' data='002' />
					<value target='cal_i2c1::BAUD_LIST' data='002' />
					<value target='cal_i2c1::BAUD' data='400000' />
					<value target='cal_i2c1::StopDel' data='0' />
					<value target='cal_i2c1::SDA' data='$PORTF.4' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTF.5' />
					<value target='cal_i2c1::SCLPins' data='000' />
					<value target='Rows' data='004' />
					<value target='Columns' data='020' />
					<value target='UseBL' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='b3a7287a-4070-49d1-9122-bf6169f67cd1' vmin='0' vmaj='1' codename='Switch_BL0145' x='20' y='-66' z='16.3738' 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='count' data='8' />
					<value target='port' data='011' />
					<value target='PortByte' data='$PORTD_L' />
					<value target='pin0' data='$PORTB.0' />
					<value target='pin1' data='$PORTB.1' />
					<value target='pin2' data='$PORTB.2' />
					<value target='pin3' data='$PORTB.3' />
					<value target='pin4' data='$PORTB.4' />
					<value target='pin5' data='$PORTB.5' />
					<value target='pin6' data='$PORTB.6' />
					<value target='pin7' data='$PORTB.7' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='103aab27-2ea3-483c-9710-fc3c495288a7' vmin='0' vmaj='1' codename='LED_BL0167' x='20' y='-30' z='6.875' 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='OutputMode' data='001' />
					<value target='Port' data='$PORTA0' />
					<value target='LED_0' data='$PORTD.0' />
					<value target='LED_1' data='$PORTD.1' />
					<value target='LED_2' data='$PORTD.2' />
					<value target='LED_3' data='$PORTD.3' />
					<value target='LED_4' data='$PORTD.4' />
					<value target='LED_5' data='$PORTD.5' />
					<value target='LED_6' data='$PORTD.6' />
					<value target='LED_7' data='$PORTD.7' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e871d984-b0e0-4185-8d94-b11d28040996' vmin='0' vmaj='1' codename='keypad_EB014' x='-60' y='-60' z='14.655' 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='port' data='005' />
					<value target='pin_col1' data='$PORTE.0' />
					<value target='pin_col2' data='$PORTE.1' />
					<value target='pin_col3' data='$PORTE.2' />
					<value target='pin_row1' data='$PORTE.4' />
					<value target='pin_row2' data='$PORTE.5' />
					<value target='pin_row3' data='$PORTE.6' />
					<value target='pin_row4' data='$PORTE.7' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f0e01201-8951-4748-87c3-d1f8423bb6e4' vmin='1' vmaj='2' codename='RTC1' x='60' y='50' z='13.325' 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='002' />
					<value target='I2CAddr' data='208' />
					<value target='cal_i2c1::CHANNEL' data='000' />
					<value target='cal_i2c1::SDA' data='$PORTB.11' />
					<value target='cal_i2c1::SDAPins' data='000' />
					<value target='cal_i2c1::SCL' data='$PORTB.12' />
					<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='1' />
					<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='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='1' vmaj='1' codename='sw_push_rnd_pnl1' x='-120' y='-80' 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='pin' data='$PORTF.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='000' />
				</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='-43.5573' ye='-23.1033' ze='237.035' xt='-43.5573' yt='-23.1033' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='-51' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='-2.81729' ye='3.22298' ze='2256.52' xt='-2.81729' yt='3.22298' 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---------------------wUAAAAaAAAA8wMAAO0CAAA' zoom='65' scrollx='19' scrolly='2983' flags='0' />
		<view type='0' name='DS3231' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAA8wMAAO0CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TimerISR' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAA8wMAAO0CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Vindmaaler' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAA8wMAAO0CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Aneometer' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAA8wMAAO0CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Indstil_Ur' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAA8wMAAO0CAAA' zoom='50' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Vis_Display_Timer_Min_Sek' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAaAAAA8wMAAO0CAAA' zoom='55' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
