<root>
<document schema='101' license='1,LifeLites,JBQN41' title='' description='' target='PIC.16F.16F690' >
	<config data='!0,3fd4%0,4%3,0%4,1%5,0%6,1%7,1%8,3%a,1%b,1' clkspd='8000000' 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 />
	<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='detect_signal' type='u8' description='Detect If Signal Is Present' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='bit2' type='u8' description='Toggle Bit' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='bit1' type='u8' description='Address' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='bit0' type='u8' description='Data' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Main' description='' >
						<command class_type='native' title='C Code' ccode='osccon=0b01110111; //8mhz
' language='C' />
						<command class_type='call' title='Setup RC5 E-Block' textarea='36,0,511,300' component='v5__rc50' macro='RXEnable' />
						<command class_type='loop' title='Loop' textarea='36,0,511,300' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Check For Signal' textarea='36,0,511,300' component='v5__rc50' macro='CheckRX' >
									<return exp='detect_signal' />
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' exp='detect_signal = 1' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='led_5mm1' macro='TurnOn' />
										<command class_type='call' title='Read Input Data' textarea='36,0,511,300' component='v5__rc50' macro='CollectData' >
											<return exp='bit0' />
											<argument exp='0' />
										</command>
										<command class_type='decision' title='Decision' exp='bit0 &gt; 0' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' component='led_5mm2' macro='TurnOn' />
											</flowline>
											<flowline >
												<command class_type='call' title='Call Component Macro' component='led_5mm2' macro='TurnOff' />
											</flowline>
										</command>
										<command class_type='call' title='Read Address' textarea='36,0,511,300' component='v5__rc50' macro='CollectData' >
											<return exp='bit1' />
											<argument exp='1' />
										</command>
										<command class_type='decision' title='Decision' exp='bit1 &gt; 0' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' component='led_5mm3' macro='TurnOn' />
											</flowline>
											<flowline >
												<command class_type='call' title='Call Component Macro' component='led_5mm3' macro='TurnOff' />
											</flowline>
										</command>
										<command class_type='call' title='Read Toggle Bit' textarea='36,0,511,300' component='v5__rc50' macro='CollectData' >
											<return exp='bit2' />
											<argument exp='2' />
										</command>
										<command class_type='decision' title='Decision' exp='bit2 &gt; 0' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' component='led_5mm4' macro='TurnOn' />
											</flowline>
											<flowline >
												<command class_type='call' title='Call Component Macro' component='led_5mm4' macro='TurnOff' />
											</flowline>
										</command>
										<command class_type='delay' title='Delay' textarea='36,0,511,300' exp='500' type='1' />
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' component='led_5mm1' macro='TurnOff' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='81e90a9f-1594-4b34-8aef-5dd671dddc30' vmin='1' vmaj='1' codename='v5__rc50' x='0' y='32' z='0.862859' xsz='0.533333' ysz='0.615385' 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' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='ir_freq' data='38000' />
					<value target='timer_enval' data='0' />
					<value target='timer_avr_enval' data='' />
					<value target='timer_pre_val' data='144' />
					<value target='timer_arm_enval' data='' />
					<value target='lwidth' data='3' />
					<value target='hwidth' data='23' />
					<value target='cwidth' data='11' />
					<value target='pwm_period' data='138' />
					<value target='pwm_duty' data='69' />
					<value target='pwm_scaler' data='0' />
					<value target='rx_mode' data='1' />
					<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='$PORTA.2' />
					<value target='v5rxaddress' data='0' />
					<value target='tx_mode' data='0' />
					<value target='tx_modulation' data='0' />
					<value target='tx_pwm_chan' data='0' />
					<value target='tx_pin' data='$PORTA.0' />
					<value target='tx_pwm_pin' data='-1' />
					<value target='RemapPin' data='' />
					<value target='label' data='RC5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led_5mm1' x='-16' y='-8' z='-1.90735e-007' 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='$PORTC.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led_5mm2' x='-8' y='-8' z='-1.90735e-007' 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='$PORTC.1' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led_5mm3' x='8' y='-8' z='-1.90735e-007' 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='$PORTC.2' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led_5mm4' x='16' y='-8' z='-1.90735e-007' 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='$PORTC.3' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</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='177.993' 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='0' flags='0' />
	</layout>
</document>
</root>
