<root>
<document schema='101' license='1,Chris mellors,A16HQC' title='' description='' target='PIC.16F.16F1937' >
	<config data='!0,fe2!10,1633%0,2%3,0%5,1%6,1%7,1%8,1%9,3%b,1%c,0%d,0%10,3%14,3%18,0%19,1%1a,1%1c,1%1d,0' clkspd='19660800' 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='0' head='' body='' />
	<debug >
		<watch expr='Message' />
		<watch expr='RX_ID' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='3ed92b8e-a66d-4996-a94f-f1248fac8196' 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='1' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<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='RX_ID' 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='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Message' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='CAN' description='' >
						<command class_type='call' title='Call Component Macro' component='can1' macro='CheckRx' >
							<return exp='Message' />
							<argument exp='0' />
						</command>
						<command class_type='decision' title='Decision' exp='Message = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='can1' macro='GetRxIDSimple' >
									<return exp='RX_ID' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='can1' macro='SetTxIDSimple' >
									<argument exp='0' />
									<argument exp='30' />
								</command>
								<command class_type='call' title='Call Component Macro' component='can1' macro='SetTxData' >
									<argument exp='0' />
									<argument exp='8' />
									<argument exp='RX_ID' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='can1' macro='SendBuffer' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb005' macro='Clear' />
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='Count = Count + 1' />
								</command>
								<command class_type='decision' title='Decision' exp='Count = 200' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Count = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='call' title='Call Component Macro' component='can1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='lcd_eb005' macro='Start' />
						<command class_type='interrupt' title='Interrupt' enable='1' name='TMR0' call='CAN' >
							<settings timer='1' prescale='256' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='0' />
								<option value='8' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='lcd_eb005' macro='Cursor' >
									<argument exp='1' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb005' macro='PrintString' >
									<argument exp='&quot;No Message&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb005' macro='Cursor' >
									<argument exp='1' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb005' macro='PrintNumber' >
									<argument exp='Count' />
								</command>
								<command class_type='call' title='Call Component Macro' component='lcd_eb005' macro='PrintString' >
									<argument exp='&quot;  &quot;' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='da332928-6342-4c2c-afc7-eaf33917d33e' vmin='2' vmaj='1' codename='can1' x='64' y='16' z='0.755' 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' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='000' />
					<value target='BUS_RATE' data='002' />
					<value target='SAMPLE' data='001' />
					<value target='SJW' data='000' />
					<value target='EXID' data='000' />
					<value target='REF' data='0' />
					<value target='OSC' data='19660800' />
					<value target='BAUD1' data='1' />
					<value target='BAUD2' data='209' />
					<value target='BAUD3' data='3' />
					<value target='SPIChannel' data='001' />
					<value target='TXPin' data='' />
					<value target='RXPin' data='' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='' />
					<value target='SDO' data='$PORTC.5' />
					<value target='SDI' data='$PORTC.4' />
					<value target='SCK' data='$PORTC.3' />
					<value target='SPI_CS' data='$PORTC.6' />
					<value target='MosiRemap' data='' />
					<value target='MisoRemap' data='' />
					<value target='ClkRemap' data='' />
					<value target='TXB0ID' data='0' />
					<value target='TXB0LEN' data='0' />
					<value target='TXB0DB0' data='0' />
					<value target='TXB0DB1' data='0' />
					<value target='TXB0DB2' data='0' />
					<value target='TXB0DB3' data='0' />
					<value target='TXB0DB4' data='0' />
					<value target='TXB0DB5' data='0' />
					<value target='TXB0DB6' data='0' />
					<value target='TXB0DB7' data='0' />
					<value target='TXB1ID' data='0' />
					<value target='TXB1LEN' data='0' />
					<value target='TXB1DB0' data='0' />
					<value target='TXB1DB1' data='0' />
					<value target='TXB1DB2' data='0' />
					<value target='TXB1DB3' data='0' />
					<value target='TXB1DB4' data='0' />
					<value target='TXB1DB5' data='0' />
					<value target='TXB1DB6' data='0' />
					<value target='TXB1DB7' data='0' />
					<value target='TXB2ID' data='0' />
					<value target='TXB2LEN' data='0' />
					<value target='TXB2DB0' data='0' />
					<value target='TXB2DB1' data='0' />
					<value target='TXB2DB2' data='0' />
					<value target='TXB2DB3' data='0' />
					<value target='TXB2DB4' data='0' />
					<value target='TXB2DB5' data='0' />
					<value target='TXB2DB6' data='0' />
					<value target='TXB2DB7' data='0' />
					<value target='RXB0CFG' data='002' />
					<value target='RXM0' data='0' />
					<value target='RXF0' data='0' />
					<value target='RXF1' data='0' />
					<value target='RXB1CFG' data='000' />
					<value target='RXM1' data='0' />
					<value target='RXF2' data='0' />
					<value target='RXF3' data='0' />
					<value target='RXF4' data='0' />
					<value target='RXF5' data='0' />
					<value target='MIAC' data='0' />
					<value target='label' data='CAN Bus' />
					<value target='Injector' data='' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d29dda88-17de-4008-991a-c881890d4c57' vmin='1' vmaj='1' codename='lcd_eb005' x='-8' y='56' z='3.575' xsz='1' ysz='1.32231' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='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' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' 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='16777215' img='' style='0' />
		<table rgb='15232' img='' style='0' size='25' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='16777215' img='' style='0' />
		<table rgb='15232' img='' style='0' size='25' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='CAN' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA4gQAAJEDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAA4gQAAJEDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
