<root>
<document schema='101' license='0,30day_60132087,F4D684' title='' description='' guid='b55178e7-caeb-4fc6-8578-4564f938d6b9' target='PIC.16F.16F877A' >
	<config data='!0,3f72%0,2%2,0%3,0%6,1%7,0%9,3%b,1%8,1%d,1' clkspd='19660800' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_ict enabled='0' >
			<data name='speed' value='1000' />
			<data name='firmware' value='0000000000000000' />
			<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='userpins' value='0' />
		</dll_dbg_ict>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='b55178e7-caeb-4fc6-8578-4564f938d6b9' vmin='0' vmaj='1' visiblename='' description='' category='' 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' >
			<resources />
			<properties >
				<property name='Connections' hidden='0' >
					<property name='Connection' target='pin' typeid='5' hidden='0' locked='0' info='The pin to which the LED is connected.' />
					<property name='Polarity' target='polarity' typeid='16' hidden='0' locked='0' info='Active High:  Pin true -&gt; On color,  Pin false -&gt; Off color
Active Low:  Pin true -&gt; Off color, Pin false -&gt; On color.' filter='001Active_high
000Active_low' />
				</property>
				<property name='Simulation' hidden='0' >
					<property name='Color' target='on_color' typeid='1' hidden='0' locked='0' info='LED color when it is turned on.  When turned off, it will use a darker shade of the same hue.' />
				</property>
			</properties>
			<values >
				<value target='pin' data='$PORTA.0' />
				<value target='polarity' data='001' />
				<value target='on_color' data='8411135' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='in' type='u8' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' array='0' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='data' type='u16' array='0' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' array='0' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Main' description='' >
						<command class_type='call' title='Startup Comm Port to connect to Visi' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='Visi4D1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='LCD1' macro='Start' />
						<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='LCD1' macro='Cursor' >
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='LCD1' macro='PrintString' >
							<argument exp='&quot; Data Received&quot;' />
						</command>
						<command class_type='loop' title='Loop' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='1' type='0' start='1' count='1' breakend='0' >
							<flowline >
								<command class_type='delay' title='Remove this delay for the embedded version' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='100' type='1' />
								<command class_type='call' title='Attempt to receive any incoming data' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='Visi4D1' macro='VisiReceive' >
									<return exp='in' />
								</command>
								<command class_type='decision' title='Have we received a valid message / if so a 0 is returned' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='in = 0' swap='0' >
									<flowline >
										<command class_type='call' title='Collect Visi Object ID' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='Visi4D1' macro='VisiReadByteFromMessage' >
											<return exp='in' />
											<argument exp='1' />
										</command>
										<command class_type='decision' title='Decision' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='in = Visi4D1 :: VISI_ID_slider' swap='0' >
											<flowline >
												<command class_type='call' title='Read Data High Byte' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='Visi4D1' macro='VisiReadByteFromMessage' >
													<return exp='Data' />
													<argument exp='3' />
												</command>
												<command class_type='call' title='Read Data Low Byte' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='Visi4D1' macro='VisiReadByteFromMessage' >
													<return exp='in' />
													<argument exp='4' />
												</command>
												<command class_type='calculation' title='Combine data bytes into word' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' >
													<exp exp='Data = (Data &lt;&lt; 8) | in' />
												</command>
												<command class_type='call' title='Read Visi Component Index' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' component='Visi4D1' macro='VisiReadByteFromMessage' >
													<return exp='in' />
													<argument exp='2' />
												</command>
												<command class_type='decision' title='Index 0?' comment='' ccode='' textshow='1' textmode='0' textarea='36,0,36,0' break='0' mark='0' disable='0' hide='0' customize='0' exp='in = 0' swap='0' >
													<flowline />
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='6436a040-ccc8-46e5-82c1-68f8d87b16c5' vmin='1' vmaj='1' codename='Visi4D1' x='0' y='0' z='1.005' xsz='60' ysz='26' zsz='1.51' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='001' />
					<value target='BAUD_LIST' data='004' />
					<value target='BAUD' data='9600' />
					<value target='TX' data='$PORTC.6' />
					<value target='RX' data='$PORTC.7' />
					<value target='label' data='Visi' />
					<value target='ConsoleColumns' data='64' />
					<value target='com_port' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='0' vmaj='1' codename='led_5mm_clip1' x='-8' y='24' z='-3.25' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='0' vmaj='1' codename='led_5mm_clip2' x='8' y='24' z='-3.25' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.1' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='group' codename='group1' x='1.35325' y='-12.6303' z='7.12704' xsz='1' ysz='1' zsz='1' xang='1.17638e-007' yang='0.528022' zang='16.7514' xquat='-0.000671194' yquat='0.0045587' zquat='0.145662' wquat='0.989324' visible='1' interactive='1' solid='1' layer='0' >
				<resources />
				<properties />
				<values />
				<events />
				<apis />
				<variables />
				<macros />
				<component class_type='shape' codename='shape1' x='2.7202' y='14.7897' z='0.385438' xsz='32' ysz='32' zsz='10.5736' xang='-86.101' yang='-54.2341' zang='-19.4676' xquat='0.655172' yquat='0.225561' zquat='0.416644' wquat='-0.588455' visible='1' interactive='1' solid='1' layer='0' >
					<resources />
					<properties />
					<values >
						<value target='Shape' data='6' />
						<value target='Color' data='192' />
						<value target='Outline' data='0' />
						<value target='Thickness' data='0' />
						<value target='Image' data='' />
						<value target='Model' data='' />
						<value target='Unit' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='shape' codename='shape2' x='-1.48662' y='0.405578' z='-0.210646' xsz='32' ysz='32' zsz='19.3697' xang='-86.101' yang='-54.2341' zang='-19.4676' xquat='0.655172' yquat='0.225561' zquat='0.416644' wquat='-0.588455' visible='1' interactive='1' solid='1' layer='0' >
					<resources />
					<properties />
					<values >
						<value target='Shape' data='4' />
						<value target='Color' data='8398592' />
						<value target='Outline' data='0' />
						<value target='Thickness' data='0' />
						<value target='Image' data='' />
						<value target='Model' data='' />
						<value target='Unit' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='shape' codename='shape3' x='-2.46212' y='-18.1691' z='5.02651' xsz='-0.451083' ysz='16.8887' zsz='8.88178e-016' xang='176.101' yang='54.2342' zang='160.532' xquat='0.135116' yquat='0.879377' zquat='-0.0471765' wquat='0.454108' visible='1' interactive='1' solid='1' layer='0' >
					<resources />
					<properties />
					<values >
						<value target='Shape' data='150' />
						<value target='Color' data='14803425' />
						<value target='Outline' data='0' />
						<value target='Thickness' data='0.470000' />
						<value target='Image' data='' />
						<value target='Model' data='' />
						<value target='Unit' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
				<component class_type='shape' codename='shape4' x='-11.0189' y='-15.3831' z='-7.48875' xsz='-0.451083' ysz='16.8887' zsz='0' xang='176.101' yang='54.2342' zang='160.532' xquat='0.135116' yquat='0.879377' zquat='-0.0471765' wquat='0.454108' visible='1' interactive='1' solid='1' layer='0' >
					<resources />
					<properties />
					<values >
						<value target='Shape' data='150' />
						<value target='Color' data='14803425' />
						<value target='Outline' data='0' />
						<value target='Thickness' data='0.470000' />
						<value target='Image' data='' />
						<value target='Model' data='' />
						<value target='Unit' data='' />
					</values>
					<events />
					<apis />
					<variables />
					<macros />
				</component>
			</component>
			<component class_type='ref' guid='0953aac0-9c23-4c2f-9843-88954a4191ea' vmin='7' vmaj='1' codename='LCD1' x='0' y='-24' z='1.00334' xsz='80' ysz='24' zsz='1.00668' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' >
				<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='Rows' data='004' />
					<value target='Columns' data='020' />
					<value target='BackgroundColor' data='24832' />
					<value target='LineColor' data='0' />
					<value target='TextColor' data='0' />
					<value target='Font' data='@Gulim' />
					<value target='CursorPosX' data='15' />
					<value target='CursorPosY' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='108.833' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='0' perspective='0' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='139.121' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAzQMAAH8CAAA' zoom='75' scrollx='0' scrolly='47' flags='0' />
	</layout>
</document>
</root>
