<root>
<document schema='100' platform='pic8' license='Upgraded,v5 User,******' title='' description='' guid='' target='18F2550' >
	<config data='' clkspd='19660800' simspd='1' usewdt='0' constif='0' />
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' protect='205' />
		<definition guid='' vmin='0' vmaj='1' visiblename='' description='' category='' dynamic='0' standalone='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' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='value' type='ubyte' array='0' byref='0' description='' isconst='0' isinit='0' usrinit='0x0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='bool' array='0' byref='0' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Temp' type='sint' array='0' byref='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='complete' type='uint' array='0' byref='0' description='' isconst='0' isinit='0' usrinit='0x0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='index' type='uint' array='0' byref='0' description='' isconst='0' isinit='0' usrinit='0x0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='bool' array='0' byref='0' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Main' description='' >
						<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' >
							<exp exp='index = 0' />
							<exp exp='complete = 0' />
							<exp exp='Temp = 200' />
							<exp exp='' />
						</command>
						<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='Start' />
						<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' exp='1' type='0' start='1' count='1' breakend='0' >
							<flowline name='Main' description='' >
								<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__switchbank0' macro='ReadState' >
									<return exp='value' />
									<argument exp='index' />
								</command>
								<command class_type='decision' title='Decision' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' exp='value = 1' swap='0' >
									<flowline name='Main' description='' >
										<command class_type='input' title='Input' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' mode='2' port='2' mask='23' exp='complete' />
										<command class_type='comment' title='' comment='Read Port C with mask' ccode='' textshow='1' textmode='0' textarea='12,0,487,300' break='0' mark='0' disable='0' hide='0' customize='0' />
										<command class_type='switch' title='Switch' comment='' ccode='' textshow='1' textmode='0' textarea='36,25,511,325' break='0' mark='0' disable='0' hide='0' customize='0' exp='complete' >
											<case >
												<flowline name='Main' description='' >
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='Clear' />
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='PrintASCII' >
														<argument exp='&quot;Not a valid entry&quot;' />
													</command>
												</flowline>
											</case>
											<case exp='1' >
												<flowline name='Main' description='' >
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='Clear' />
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='Cursor' >
														<argument exp='0' />
														<argument exp='1' />
													</command>
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='PrintASCII' >
														<argument exp='&quot;Pre-Heat = &quot;' />
													</command>
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='PrintNumber' >
														<argument exp='Temp' />
													</command>
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='PrintASCII' >
														<argument exp='&quot;C&quot;' />
													</command>
												</flowline>
											</case>
											<case exp='2' >
												<flowline name='Main' description='' >
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='ClearLine' >
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' >
														<exp exp='Temp = Temp + 10' />
													</command>
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='PrintNumber' >
														<argument exp='Temp' />
													</command>
												</flowline>
											</case>
											<case exp='4' >
												<flowline name='Main' description='' >
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='Clear' />
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' >
														<exp exp='Temp = Temp - 10' />
													</command>
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='PrintNumber' >
														<argument exp='Temp' />
													</command>
												</flowline>
											</case>
											<case exp='16' >
												<flowline name='Main' description='' >
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='Clear' />
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='Cursor' >
														<argument exp='0' />
														<argument exp='0' />
													</command>
													<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' component='v5__lcddisplay0' macro='PrintNumber' >
														<argument exp='complete' />
													</command>
												</flowline>
											</case>
										</command>
									</flowline>
									<flowline name='Main' description='' >
										<command class_type='decision' title='Decision' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' exp='index &gt;= 3' swap='0' >
											<flowline name='Main' description='' >
												<command class_type='comment' title='' comment='Only using 4 switches' ccode='' textshow='1' textmode='0' textarea='12,0,487,300' break='0' mark='0' disable='0' hide='0' customize='0' />
												<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' >
													<exp exp='index = 0' />
												</command>
												<command class_type='goto' title='Goto Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='' />
											</flowline>
											<flowline name='Main' description='' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' >
									<exp exp='index = index + 1' />
									<exp exp='' />
								</command>
								<command class_type='delay' title='Delay' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' exp='100' type='1' />
								<command class_type='label' title='Connection Point' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,511,300' break='0' mark='0' disable='0' hide='0' customize='0' labelid='0' labelname='A' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c0df38ee-7a7e-4a0a-bfd5-5a7745203826' vmin='0' vmaj='0' codename='v5__switchbank0' x='1.14286' y='14.8571' 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' >
				<resources />
				<properties />
				<values >
					<value target='count' data='4' />
					<value target='port' data='5' />
					<value target='pin0' data='$PORTC.0' />
					<value target='pin1' data='$PORTC.1' />
					<value target='pin2' data='$PORTC.2' />
					<value target='pin3' data='$PORTC.4' />
					<value target='pin4' data='$PORTA.0' />
					<value target='pin5' data='$PORTA.0' />
					<value target='pin6' data='$PORTA.0' />
					<value target='pin7' data='$PORTA.0' />
					<value target='debounce' data='100' />
					<value target='align' data='0' />
					<value target='property' data='4' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0953aac0-9c23-4c2f-9843-88954a4191ea' vmin='0' vmaj='0' codename='v5__lcddisplay0' x='-1.14286' y='-14.8571' z='0' xsz='97.7143' ysz='25.7143' zsz='1.14286' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' >
				<resources />
				<properties />
				<values >
					<value target='Pin_Data_0' data='$PORTB.0' />
					<value target='Pin_Data_1' data='$PORTB.1' />
					<value target='Pin_Data_2' data='$PORTB.2' />
					<value target='Pin_Data_3' data='$PORTB.3' />
					<value target='Pin_RS' data='$PORTB.4' />
					<value target='Pin_E' data='$PORTB.5' />
					<value target='Font' data='Arial' />
					<value target='columns' data='20' />
					<value target='rows' data='4' />
					<value target='TextColor' data='0xFFFFFF' />
					<value target='BackgroundColor' data='0xFF0000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
</document>
</root>
