<root>
<document schema='101' license='1,monie jacobsen,YUWNEC' title='' description='' target='PIC16.33E.MIAC (dsPIC) System' >
	<config data='' clkspd='140000000' 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='255' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='1' head='#define FCV_PRECISION 6
ROMARRAY_S MONTH_DAYS ROMARRAY_E ={0,31,28,31,30,31,30,31,31,30,31,30};
typedef union
{
  MX_FLOAT AsFloat;
  MX_UINT8  AsByte[4];
} MX_FloatUnion;

MX_FloatUnion FloatUnion;
' body='' />
	<debug >
		<watch expr='GetKey' />
		<watch expr='state' />
		<watch expr='Reset_Noed' />
		<watch expr='Flag_Ost_West_EndeStop' />
	</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='4095' />
			<data name='ClockPin' value='0' />
			<data name='DataPort' value='4095' />
			<data name='DataPin' value='0' />
			<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' />
		</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='' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Month' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='GetKey' type='u8' description='' isconst='0' isinit='1' usrinit='255' setinit='255' />
				</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='Mode' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='pi' type='f32' description='' isconst='0' isinit='1' usrinit='3.1415927410125732421875' setinit='3.14159265' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Hours' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='CursorX_pos' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='MonthCode' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='13' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Hide' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Reset_Noed' 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='Char_Position' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Date' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Enable' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Day' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Flag_Ost_West_EndeStop' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LeapYear' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='eeprom' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='twopi' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Minutes' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Year' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp5' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp4' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp3' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DelayValues' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='4' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp2' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='temp1' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Seconds' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp0' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='p' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Entered_Digit' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='6' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='term5' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='term4' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='FlagTvangRun' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='term3' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TimeCompensation' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='term2' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='term1' type='f32' description='' isconst='0' isinit='1' usrinit='0.0' setinit='0.00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OK' type='b1' 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>
				<variable public='0' >
					<def class_type='variable' name='Char_Number' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='DayOfTheWeek' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='arctangent' description='' >
						<return name='Return' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<param name='arc_theta' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Convert angle to radians' />
							<exp exp='p = .arc_theta' />
						</command>
						<command class_type='comment' title='' comment='arcsinx=x+(x^3)/6 +3(x^5)/40 + 15(x^7)/336 +105(x^9)/3456 +945(x^11)/42240 + .......' textarea='12,0,1523,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 3 and divide by 3' />
							<exp exp='term1 = fmul (p,p)' />
							<exp exp='term1 = fmul (term1,p)' />
							<exp exp='term1 = fdiv (term1,3)' />
						</command>
						<command class_type='calculation' title='8' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 5 and divide by 5' />
							<exp exp='term2 = fmul (p,p)' />
							<exp exp='term2 = fmul (term2,p)' />
							<exp exp='term2 = fmul (term2,p)' />
							<exp exp='term2 = fmul (term2,p)' />
							<exp exp='term2 = fdiv (term2,5)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 7 and divide by 7' />
							<exp exp='term3 = fmul (p,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fdiv (term3,7)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 9 and divide by 9' />
							<exp exp='term4 = fmul (p,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fdiv (term4,9)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 11 and divide by 11' />
							<exp exp='term5 = fmul (p,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fdiv (term5,11)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// p - term1 + term2 - term3 + term4 - term5' />
							<exp exp='term1 = fsub (p,term1)' />
							<exp exp='term1 = fadd (term1,term2)' />
							<exp exp='term1 = fsub (term1,term3)' />
							<exp exp='term1 = fadd (term1,term4)' />
							<exp exp='.Return = fsub (term1,term5)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='TvangRunOstWest' description='Automotive Controller PLC type module based on a PIC18F4455' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Beslutning' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Flag_Ost_West_EndeStop = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;Endestop aktiv!     &quot;' />
								</command>
								<command class_type='input' title='Reset' cmdcolor='3610239' cmdcolor_sec='3610239' mode='1' port='1048580' mask='2' exp='Reset_Noed' />
								<command class_type='decision' title='Beslutning' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Reset_Noed' swap='0' >
									<flowline >
										<command class_type='calculation' title='Beregning' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='Flag_Ost_West_EndeStop = 0' />
											<exp exp='//Reset_Noed = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='motor_reversible1' macro='Stop' />
										<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='OutputOFF' >
											<argument exp='1' />
										</command>
										<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='OutputOFF' >
											<argument exp='2' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;                    &quot;' />
								</command>
								<command class_type='calculation' title='Beregning' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Reset_Noed = 0' />
								</command>
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='GetKeypad' >
									<return exp='GetKey' />
								</command>
								<command class_type='decision' title='Beslutning' cmdcolor='3568629' cmdcolor_sec='3568629' exp='GetKey = 7' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='RUN Ost' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
										<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
											<argument exp='0' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;Ost:&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
											<argument exp='5' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;Reverse&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;   &quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='motor_reversible1' macro='StartReverse' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Beslutning' cmdcolor='3568629' cmdcolor_sec='3568629' exp='GetKey = 1' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='RUN West' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
										<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
											<argument exp='0' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;West:&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
											<argument exp='6' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;Forward&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;   &quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='motor_reversible1' macro='StartForwards' />
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='GetKey &gt; 9' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='motor_reversible1' macro='Stop' />
										<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
											<argument exp='0' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;                    &quot;' />
										</command>
										<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='OutputOFF' >
											<argument exp='1' />
										</command>
										<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='OutputOFF' >
											<argument exp='2' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Beregning' textarea='69,-12,69,-12' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='//FlagTvangRun = 0' />
									<exp exp='Flag_Ost_West_EndeStop = 0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='TvangRun' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='FlagTvangRun = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Set_Time_Date' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Char_Number = 5' />
							<exp exp='CursorX_pos = 3' />
							<exp exp='Char_Position = 0' />
							<exp exp='Enable = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayClear' />
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
							<argument exp='&quot; ADJUST &quot;' />
						</command>
						<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Mode' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Entered_Digit[0] = Date / 10 MOD 10' />
									<exp exp='Entered_Digit[1] = Date MOD 10' />
									<exp exp='Entered_Digit[2] = Month / 10 MOD 10' />
									<exp exp='Entered_Digit[3] = Month MOD 10' />
									<exp exp='Entered_Digit[4] = Year / 10 MOD 10' />
									<exp exp='Entered_Digit[5] = Year MOD 10' />
									<exp exp='' />
									<exp exp='Temp0 = Entered_Digit[0]' />
									<exp exp='Temp1 = Entered_Digit[1]' />
									<exp exp='Temp2 = Entered_Digit[2]' />
									<exp exp='Temp3 = Entered_Digit[3]' />
									<exp exp='Temp4 = Entered_Digit[4]' />
									<exp exp='Temp5 = Entered_Digit[5]' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;DATE&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
									<argument exp='3' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;DDMMYY&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Entered_Digit[0] = Hours / 10 MOD 10' />
									<exp exp='Entered_Digit[1] = Hours MOD 10' />
									<exp exp='Entered_Digit[2] = Minutes / 10 MOD 10' />
									<exp exp='Entered_Digit[3] = Minutes MOD 10' />
									<exp exp='Entered_Digit[4] = Seconds / 10 MOD 10' />
									<exp exp='Entered_Digit[5] = Seconds MOD 10' />
									<exp exp='' />
									<exp exp='' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;TIME 24H&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
									<argument exp='3' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;HHMMSS&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
							<argument exp='0' />
							<argument exp='4' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
							<argument exp='&quot;OK When Finished&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
							<argument exp='3' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
							<argument exp='CursorX_pos' />
							<argument exp='1' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Count = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintNumber' >
							<argument exp='Char_Number' />
						</command>
						<command class_type='loop' title='Loop' textarea='36,-150,36,-150' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='OK = 0' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='GetKeypad' >
									<return exp='GetKey' />
								</command>
								<command class_type='calculation' title='Calculation' textarea='186,3,186,3' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='CursorX_pos = Count + 3' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
									<argument exp='CursorX_pos' />
									<argument exp='1' />
								</command>
								<command class_type='switch' title='Switch' textarea='36,25,511,325' cmdcolor='3568629' cmdcolor_sec='3568629' exp='GetKey' >
									<case >
										<flowline />
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
												<exp exp='Char_Number = Char_Number - 1' />
												<exp exp='' />
											</command>
											<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Char_Number = 255' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Char_Number = 9' />
													</command>
												</flowline>
												<flowline />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
												<exp exp='Entered_Digit[Char_Position] = Char_Number' />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
												<exp exp='OK = 1' />
											</command>
										</flowline>
									</case>
									<case exp='5' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
												<exp exp='Char_Number = Char_Number + 1' />
												<exp exp='' />
											</command>
											<command class_type='decision' title='Up Button Detected' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Char_Number &gt; 9' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Char_Number = 0' />
													</command>
												</flowline>
												<flowline />
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
												<exp exp='Entered_Digit[Char_Position] = Char_Number' />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Char_Position &gt; 0' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Char_Position = Char_Position - 1' />
														<exp exp='Hide = 0' />
														<exp exp='CursorX_pos = CursorX_pos - 1' />
														<exp exp='' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='7' >
										<flowline >
											<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Char_Position &lt; 5' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='Char_Position = Char_Position + 1' />
														<exp exp='Hide = 0' />
														<exp exp='CursorX_pos = CursorX_pos + 1' />
														<exp exp='' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Char_Position = Count' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='Hide = !Hide' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='loop' title='Loop' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='GetKey = 255' >
									<flowline >
										<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='GetKeypad' >
											<return exp='GetKey' />
										</command>
									</flowline>
								</command>
								<command class_type='delay' title='Delay' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' exp='30' type='1' />
								<command class_type='decision' title='Flash Number' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(Hide = 1) &amp;&amp; (Char_Position = Count)' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot; &quot;' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Entered_Digit[Count] &lt;&gt; 100' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' textarea='36,184,511,484' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintNumber' >
													<argument exp='Entered_Digit[Count]' />
												</command>
												<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='Char_Number = Entered_Digit[Char_Position]' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Call Component Macro' textarea='36,184,511,484' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
													<argument exp='&quot;5&quot;' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Count &gt; 4' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='Count = 255' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Count = Count + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Mode' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(Entered_Digit[0] &lt;&gt; 100) &amp;&amp; (Entered_Digit[1] &lt;&gt; 100)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' textarea='133,20,965,20' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='Date = Entered_Digit[0] * 10 + Entered_Digit[1]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(Entered_Digit[2] &lt;&gt; 100) &amp;&amp; (Entered_Digit[3] &lt;&gt; 100)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='Month = Entered_Digit[2] * 10 + Entered_Digit[3]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(Entered_Digit[4] &lt;&gt; 100) &amp;&amp; (Entered_Digit[5] &lt;&gt; 0)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='Year = Entered_Digit[4] * 10 + Entered_Digit[5]' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(Entered_Digit[0] &lt;&gt; 100) &amp;&amp; (Entered_Digit[1] &lt;&gt; 100)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' textarea='36,0,868,0' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='Hours = Entered_Digit[0] * 10 + Entered_Digit[1]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(Entered_Digit[2] &lt;&gt; 100) &amp;&amp; (Entered_Digit[3] &lt;&gt; 100)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='Minutes = Entered_Digit[2] * 10 + Entered_Digit[3]' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(Entered_Digit[4] &lt;&gt; 100) || (Entered_Digit[5] &lt;&gt; 100)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='Seconds = Entered_Digit[4] * 10 + Entered_Digit[5]' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='OK = 0' />
							<exp exp='Mode = 0' />
							<exp exp='Enable = 1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Hours &gt; 23' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Hours = 23' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Minutes &gt; 59' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Minutes = 59' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Seconds &gt; 59' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Seconds = 59' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Year &lt; 2000' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Year = Year + 2000' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetValue' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Index' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Clear the display' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayClear' />
						<command class_type='decision' title='Menu Set Time and Date' cmdcolor='3568629' cmdcolor_sec='3568629' exp='SetValue.Index = 0' swap='0' >
							<flowline >
								<command class_type='loop' title='løkke intil OK' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='GetKey &lt;&gt; 6' start='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
											<argument exp='0' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;F1 Adjust Time&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
											<argument exp='0' />
											<argument exp='3' />
										</command>
										<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;F2 Adjust Date&quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
											<argument exp='0' />
											<argument exp='4' />
										</command>
										<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;Return!              &quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot;  &quot;' />
										</command>
										<command class_type='call' title='Call Component Macro' textarea='90,4,565,304' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='GetKeypad' >
											<return exp='GetKey' />
										</command>
										<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='GetKey = 2' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Set_Time_Date' />
												<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayClear' />
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='GetKey = 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='Mode = 1' />
												</command>
												<command class_type='call' title='Call Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Set_Time_Date' />
												<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayClear' />
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='LeapYear = ! (Year MOD (Year / 4)) //1 = leap year' />
										</command>
										<command class_type='decision' title='Time Compensation Adjustment' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(Hours MOD 2 = 0) &amp;&amp; (TimeCompensation = 1) &amp;&amp; (Seconds &gt;= 20)' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='TimeCompensation = 0' />
													<exp exp='Seconds = Seconds + 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Hours MOD 2 &gt; 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='TimeCompensation = 1' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
										<command class_type='call' title='Kald Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DayOfTheWeek' />
									</flowline>
								</command>
								<command class_type='call' title='Kald Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WaitKeyRelease' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Menu 1' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='SetValue.Index = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' textarea='36,0,573,0' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;WindSpeed:&quot;' />
								</command>
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;Return = &apos;OK&apos;&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Menu 2' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='SetValue.Index = 2' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' textarea='36,0,573,0' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;Start Op:&quot;' />
								</command>
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;Return = &apos;OK&apos;&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Menu 3' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='SetValue.Index = 3' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' textarea='36,0,573,0' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;Stop:&quot;' />
								</command>
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayCursor' >
									<argument exp='0' />
									<argument exp='3' />
								</command>
								<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
									<argument exp='&quot;Return = &apos;OK&apos;&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='loop' title='Venter på tastetryk' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='GetKey &lt;&gt; 255' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='GetKeypad' >
									<return exp='GetKey' />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Value update loop' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='GetKey &lt;&gt; 6' start='0' >
							<flowline >
								<command class_type='call' title='Read the keypad' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='GetKeypad' >
									<return exp='GetKey' />
								</command>
								<command class_type='decision' title='Key pressed?' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='GetKey &lt;&gt; 255' swap='0' >
									<flowline >
										<command class_type='decision' title='Down cursor?' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='GetKey = 3' swap='0' >
											<flowline >
												<command class_type='decision' title='Value &gt; 0?' cmdcolor='3568629' cmdcolor_sec='3568629' exp='DelayValues[SetValue.Index] &gt; 1' swap='0' >
													<flowline >
														<command class_type='calculation' title='Mindsk værdien' textarea='36,0,1535,0' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='DelayValues[SetValue.Index] = DelayValues[SetValue.Index] - 1' />
														</command>
														<command class_type='decision' title='Relay dwell?' cmdcolor='3568629' cmdcolor_sec='3568629' exp='SetValue.Index = 1' swap='0' >
															<flowline >
																<command class_type='decision' title='Dwell = 0?' cmdcolor='3568629' cmdcolor_sec='3568629' exp='DelayValues[SetValue.Index] = 0' swap='0' >
																	<flowline >
																		<command class_type='calculation' title='Dwell=1' cmdcolor='7895044' cmdcolor_sec='7895044' >
																			<exp exp='DelayValues[SetValue.Index] = 1' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Up cursor' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='GetKey = 5' swap='0' >
											<flowline >
												<command class_type='decision' title='Value &lt; 255' cmdcolor='3568629' cmdcolor_sec='3568629' exp='DelayValues[SetValue.Index] &lt; 255' swap='0' >
													<flowline >
														<command class_type='calculation' title='Increment value' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='DelayValues[SetValue.Index] = DelayValues[SetValue.Index] + 1' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='comment' title='' comment='Display ny verdi' textarea='12,0,487,300' cmdcolor='1975743' cmdcolor_sec='1975743' />
										<command class_type='call' title='Write_EEPROM' cmdcolor='1975743' cmdcolor_sec='1975743' component='flasheeprom1' macro='Write' >
											<argument exp='0' />
											<argument exp='DelayValues[0]' />
										</command>
										<command class_type='call' title='Write_EEPROM' cmdcolor='1975743' cmdcolor_sec='1975743' component='flasheeprom1' macro='Write' >
											<argument exp='1' />
											<argument exp='DelayValues[1]' />
										</command>
										<command class_type='call' title='Write_EEPROM' cmdcolor='1975743' cmdcolor_sec='1975743' component='flasheeprom1' macro='Write' >
											<argument exp='2' />
											<argument exp='DelayValues[2]' />
										</command>
										<command class_type='call' title='Write_EEPROM' cmdcolor='1975743' cmdcolor_sec='1975743' component='flasheeprom1' macro='Write' >
											<argument exp='3' />
											<argument exp='DelayValues[3]' />
										</command>
										<command class_type='call' title='Erase unwanted digit' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='PrintString' >
											<argument exp='&quot; &quot;' />
										</command>
										<command class_type='decision' title='OK key?' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='GetKey = 6' swap='0' >
											<flowline >
												<command class_type='goto' title='Gå til forbindelse punkt' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='' />
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Forbindelses punkt' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='A' />
						<command class_type='call' title='Kald Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WaitKeyRelease' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Ost_West_EndeStop' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Beregning' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Flag_Ost_West_EndeStop = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='arcsine' description='' >
						<return name='Return' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<param name='arc_theta' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Convert angle to radians' />
							<exp exp='p = .arc_theta' />
						</command>
						<command class_type='comment' title='' comment='arcsinx=x+(x^3)/6 +3(x^5)/40 + 15(x^7)/336 +105(x^9)/3456 +945(x^11)/42240 + .......' textarea='12,0,1548,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 3 and divide by 6' />
							<exp exp='term1 = fmul (p,p)' />
							<exp exp='term1 = fmul (term1,p)' />
							<exp exp='term1 = fdiv (term1,6)' />
						</command>
						<command class_type='calculation' title='8' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 5 multiply by 3 and divide by 120' />
							<exp exp='term2 = fmul (p,p)' />
							<exp exp='term2 = fmul (term2,p)' />
							<exp exp='term2 = fmul (term2,p)' />
							<exp exp='term2 = fmul (term2,p)' />
							<exp exp='term2 = fmul (3,term2)' />
							<exp exp='term2 = fdiv (term2,40)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 7 multiply by 15 and divide by 336' />
							<exp exp='term3 = fmul (p,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (15,term3)' />
							<exp exp='term3 = fdiv (term3,336)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 9 multiply by 105 and divide by 3456' />
							<exp exp='term4 = fmul (p,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (105,term4)' />
							<exp exp='term4 = fdiv (term4,3456)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 11 multiply by 945 and divide by 42240' />
							<exp exp='term5 = fmul (p,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (945,term5)' />
							<exp exp='term5 = fdiv (term5,42240)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// p + term1 + term2 + term3 + term4 + term5' />
							<exp exp='term1 = fadd (p,term1)' />
							<exp exp='term1 = fadd (term1,term2)' />
							<exp exp='term1 = fadd (term1,term3)' />
							<exp exp='term1 = fadd (term1,term4)' />
							<exp exp='.Return = fadd (term1,term5)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='WaitKeyRelease' description='Wait until the key press has been released' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='GetKey != 255' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='GetKeypad' >
									<return exp='GetKey' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='100' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='MIAC dsPIC (MI5809)
17-06-2018' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayStart' />
						<command class_type='interrupt' title='Interrupt Flag_Tvang_Run' cmdcolor='3610239' cmdcolor_sec='3610239' enable='1' name='TMR2' call='TvangRun' >
							<settings timer='1' prescale='1' postscale='-1' rollover='65536' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='65536' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='interrupt' title='Interrupt Ost_West_EndeStop' cmdcolor='3610239' cmdcolor_sec='3610239' enable='1' name='INT0' call='Ost_West_EndeStop' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='call' title='Kald Komponent Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='miac_dspic1' macro='DisplayClear' />
						<command class_type='loop' title='løkke' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='1' >
							<flowline >
								<command class_type='delay' title='forskydning' cmdcolor='7895044' cmdcolor_sec='7895044' exp='100' type='1' />
								<command class_type='decision' title='Beslutning' cmdcolor='3568629' cmdcolor_sec='3568629' exp='FlagTvangRun = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Kald Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='TvangRunOstWest' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='cosine' description='' >
						<return name='Return' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<param name='deg' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='calculation' title='Calculation' ccode='//Calculation
//Calculation:
//  // Enter angle in degrees
//  deg = 89
//  deg = deg - 360 * (deg &gt;= 180)
//  rad = 0.0174532925 // (pi/180)
//  // Convert angle to radians
//  p = fmul (deg,rad)
FCV_DEG = 89;
FCV_DEG = flt_sub(FCV_DEG, flt_fromi(360 * (flt_ge(FCV_DEG, 180))));
FCV_RAD = 0.0174532925;
FCV_P = flt_mul(FCV_DEG, FCV_RAD);
' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Angle in radians' />
							<exp exp='p = .deg - twopi * (.deg &gt; pi)' />
						</command>
						<command class_type='comment' title='' comment='cosx=1-(x^2)/2! +(x^4)/4! - (x^6)/6! +(x^8)/8! -(x^10)/10! + .......' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise P to the power 2 and divide by 2' />
							<exp exp='term1 = fmul (p,p)' />
							<exp exp='term1 = fdiv (term1,2)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 4 and divide by 24' />
							<exp exp='term2 = fmul (p,p)' />
							<exp exp='term2 = fmul (term2,p)' />
							<exp exp='term2 = fmul (term2,p)' />
							<exp exp='term2 = fdiv (term2,24)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 6 and divide by 720' />
							<exp exp='term3 = fmul (p,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fmul (term3,p)' />
							<exp exp='term3 = fdiv (term3,720)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 8 and divide by 40320' />
							<exp exp='term4 = fmul (p,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fmul (term4,p)' />
							<exp exp='term4 = fdiv (term4,40320)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// Raise p to the power 10  and divide by 3628800' />
							<exp exp='term5 = fmul (p,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fmul (term5,p)' />
							<exp exp='term5 = fdiv (term5,3628800)' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='// 1 - term1 + term2 - term3 + temr4 - term5' />
							<exp exp='term1 = fsub (1,term1)' />
							<exp exp='term1 = fadd (term1,term2)' />
							<exp exp='term1 = fsub (term1,term3)' />
							<exp exp='term1 = fadd (term1,term4)' />
							<exp exp='.Return = fsub (term1,term5)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DayOfTheWeek' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='LeapYear = 1' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Month = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='MonthCode[1] = 0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Month = 2' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='MonthCode[2] = 3' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Day = (Year - 2000) / 4 + (Year - 2000) + 6 + Date + MonthCode[Month]' />
							<exp exp='Day = day MOD 7' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Day' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='DayOfTheWeek = &quot;Sat&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='DayOfTheWeek = &quot;Sun&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='DayOfTheWeek = &quot;Mon&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='DayOfTheWeek = &quot;Tue&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='DayOfTheWeek = &quot;Wed&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='DayOfTheWeek = &quot;Thu&quot;' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='DayOfTheWeek = &quot;Fri&quot;' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='596e6f4d-d87a-4e8b-b108-c0501127c382' vmin='2' vmaj='1' codename='miac_dspic1' x='-129.404' y='108.885' z='56.75' xsz='133' ysz='98.5' zsz='57.75' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='LCD_X' data='0' />
					<value target='LCD_Y' data='3' />
					<value target='ORIGIN_X' data='3' />
					<value target='ORIGIN_Y' data='8' />
					<value target='ROWS' data='5' />
					<value target='COLS' data='20' />
					<value target='WIDTH' data='6' />
					<value target='HEIGHT' data='10' />
					<value target='TEMP_VAL' data='0b0000000' />
					<value target='GLYPH_COUNT' data='128' />
					<value target='Q1' data='$PORTD.0' />
					<value target='Q2' data='$PORTD.1' />
					<value target='Q3' data='$PORTD.2' />
					<value target='Q4' data='$PORTD.3' />
					<value target='A' data='$PORTD.4' />
					<value target='B' data='$PORTD.5' />
					<value target='C' data='$PORTD.6' />
					<value target='D' data='$PORTD.7' />
					<value target='DISPLAY_COLOUR' data='0xFF5757' />
					<value target='I1' data='$PORTB.0' />
					<value target='I2' data='$PORTB.1' />
					<value target='E1' data='$PORTF.0' />
					<value target='E2' data='$PORTF.1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9d687cd1-0972-49af-b179-46df5fdc55fe' vmin='0' vmaj='1' codename='flasheeprom1' x='-21.75' y='150' z='4.20888' xsz='0.384615' ysz='0.2' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='FPSIZE' data='1024' />
					<value target='simfilename' data='test.eep' />
					<value target='NRPAGES' data='2' />
					<value target='AUTOADDR' data='1' />
					<value target='FLASHADDRESS' data='0' />
					<value target='CLEARPAGES' data='4' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='3becc5a1-4034-45ca-b84f-d995c6cacdb2' vmin='2' vmaj='1' codename='motor_reversible1' x='-120' y='30' z='0' xsz='1.6' ysz='1.6' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pinA' data='$PORTD.0' />
					<value target='pinB' data='$PORTD.1' />
					<value target='pattern_fwd' data='001' />
					<value target='pattern_rvs' data='002' />
					<value target='pattern_stop' data='000' />
					<value target='speed' data='250.000000' />
					<value target='acceleration' data='0.000000' />
					<value target='deceleration' data='0.000000' />
					<value target='show_actuator' data='1' />
					<value target='direction' data='000' />
					<value target='target_object' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ddad9cb9-122d-4f29-aaa9-233d3a967ca8' vmin='1' vmaj='1' codename='dash_switch1' x='-50' y='39.3675' 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 >
					<value target='pin' data='$PORTE.1' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='Text' data='Reset E1' />
					<value target='Font' data='Arial' />
					<value target='label_color' data='12632256' />
					<value target='slider_color' data='5921370' />
					<value target='bezel_color' data='1973790' />
					<value target='on_color' data='49152' />
					<value target='off_color' data='128' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ddad9cb9-122d-4f29-aaa9-233d3a967ca8' vmin='1' vmaj='1' codename='dash_switch2' x='20' y='37.6175' z='2.55' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTD.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='Text' data='Interrup NoedStop D0' />
					<value target='Font' data='Arial' />
					<value target='label_color' data='12632256' />
					<value target='slider_color' data='5921370' />
					<value target='bezel_color' data='1973790' />
					<value target='on_color' data='49152' />
					<value target='off_color' data='128' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='1' lighting='2' brightness='51' 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='-83.2202' ye='104.879' ze='296.952' xt='-83.2202' yt='104.879' 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---------------------wUAAAAYAAAA8wIAAFsDAAA' zoom='80' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TvangRunOstWest' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8wIAAFsDAAA' zoom='75' scrollx='483' scrolly='0' flags='0' />
		<view type='0' name='Ost_West_EndeStop' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8wIAAFsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='TvangRun' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8wIAAFsDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
