<root>
<document schema='101' license='1,LifeLites,JBQN41' title='' description='' target='PIC.18F.18F25K50' >
	<config data='!0,23!8,e8!10,19!18,3c!20,0!28,51!30,a0!38,ff!40,f!48,c0!50,f!58,e0!60,f!68,40%0,1%1,1%3,0%5,1%8,8%d,1%e,1%f,1%10,1%11,0%13,3%16,0%18,0%1a,f%28,1%29,0%2c,1%2e,1%2f,0%30,0%32,0%36,0%37,1%40,1%41,1%42,1%43,1%4e,1%4f,1%50,1%51,1%52,1%53,1%5d,1%5e,1%5f,1%60,1%61,1%62,1%63,1%6e,1' clkspd='48000000' simspd='1' usewdt='1' 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 />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='a4fbfcc8-fc41-49d4-91f7-ae19e1169ed5' 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='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rxtog' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rxdata' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rxcmd' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='rxaddr' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Main' description='' >
						<command class_type='native' title='C Code' ccode='osccon = 0b01110000;
osccon2 = 0b00010000;
// wait for oscillator to tune
while (osccon2.PLLRDY != 1) ;

// enable USB tuning
actcon = 0b10010000;' language='C' />
						<command class_type='delay' title='Delay' exp='1' type='2' />
						<command class_type='call' title='Call Component Macro' component='RC5' macro='RXEnable' />
						<command class_type='call' title='Call Component Macro' component='GLCD' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='GLCD' macro='ClearDisplay' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='RC5' macro='CheckRx' >
									<return exp='rxdata' />
								</command>
								<command class_type='decision' title='Decision' exp='rxdata' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='RC5' macro='CollectData' >
											<return exp='rxaddr' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='RC5' macro='CollectData' >
											<return exp='rxcmd' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='RC5' macro='CollectData' >
											<return exp='rxtog' />
											<argument exp='2' />
										</command>
										<command class_type='call' title='Call Component Macro' component='GLCD' macro='ClearDisplay' />
										<command class_type='call' title='Call Component Macro' component='GLCD' macro='Print' >
											<argument exp='&quot;RX REVCD&quot;' />
											<argument exp='6' />
											<argument exp='0' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='GLCD' macro='PrintNumber' >
											<argument exp='rxaddr' />
											<argument exp='6' />
											<argument exp='16' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='GLCD' macro='PrintNumber' >
											<argument exp='rxcmd' />
											<argument exp='6' />
											<argument exp='32' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='GLCD' macro='PrintNumber' >
											<argument exp='rxtog' />
											<argument exp='6' />
											<argument exp='48' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
										<command class_type='delay' title='Delay' exp='1' type='2' />
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' component='GLCD' macro='Print' >
											<argument exp='&quot;WAITING&quot;' />
											<argument exp='6' />
											<argument exp='0' />
											<argument exp='2' />
											<argument exp='0' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='f6ab6074-68ba-4cd4-9274-f973102f8518' vmin='6' vmaj='1' codename='GLCD' x='1.98502' y='43.008' z='0' xsz='2.28327' ysz='2.85388' zsz='0' 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='pixel_height' data='64' />
					<value target='pixel_width' data='128' />
					<value target='monochrome' data='1' />
					<value target='foreground_colour' data='16777215' />
					<value target='background_colour' data='0' />
					<value target='colour_bit_depth' data='1' />
					<value target='red_bit_depth' data='0' />
					<value target='green_bit_depth' data='0' />
					<value target='blue_bit_depth' data='0' />
					<value target='SD_pin' data='$PORTB.0' />
					<value target='SCK_pin' data='$PORTB.1' />
					<value target='DisplayMethod' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='81e90a9f-1594-4b34-8aef-5dd671dddc30' vmin='1' vmaj='1' codename='RC5' x='0' y='-40' 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='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='ir_freq' data='38000' />
					<value target='timer_enval' data='7' />
					<value target='timer_avr_enval' data='' />
					<value target='timer_pre_val' data='155' />
					<value target='timer_arm_enval' data='' />
					<value target='lwidth' data='175' />
					<value target='hwidth' data='255' />
					<value target='cwidth' data='215' />
					<value target='pwm_period' data='315' />
					<value target='pwm_duty' data='157' />
					<value target='pwm_scaler' data='0' />
					<value target='rx_mode' data='002' />
					<value target='rx_invert_signal' data='1' />
					<value target='rx_addr_mask' data='0' />
					<value target='rx_addr_val' data='0' />
					<value target='rx_a0' data='0' />
					<value target='rx_a1' data='0' />
					<value target='rx_a2' data='0' />
					<value target='rx_a3' data='0' />
					<value target='rx_a4' data='0' />
					<value target='rx_pin' data='$PORTB.2' />
					<value target='v5rxaddress' data='0' />
					<value target='tx_mode' data='000' />
					<value target='tx_modulation' data='001' />
					<value target='tx_pwm_chan' data='001' />
					<value target='tx_pin' data='$PORTA.0' />
					<value target='tx_pwm_pin' data='$PORTC.2' />
					<value target='RemapPin' data='' />
					<value target='label' data='RC5' />
				</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='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='0' ye='0' ze='176.701' 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---------------------wAAAAAUAAAAuAMAALwDAAA' zoom='75' scrollx='0' scrolly='96' flags='0' />
	</layout>
</document>
</root>
