<root>
<document schema='101' license='1,30day_67332800,U5VWEK' title='' description='' target='PIC.16F.16F1508' >
	<config data='!0,3922!10,1dff%0,2%3,0%5,1%6,0%7,0%9,0%b,1%10,3%19,0%1a,1%1c,1%1d,0' clkspd='19660800' simspd='2' 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='TxData' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='ad299690-0507-40dd-9f3a-56ecc9479b17' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='Misc' 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 />
			<macros >
				<macro >
					<flowline name='nRF_Init' description='' >
						<command class_type='comment' title='' comment='01 / Vcc
02 / A5 = Osc1
03 / A4 = Osc1
04 / A3 = Mclr / Reset
05 / C5 = N/c
06 / C4 = N/c
07 / C3 = nRF_CS
08 / C6 = nRF_SCK
09 / C7 = nRF_SDO
10 / B7 = Tx - UART

11 / B6 = -- Gnd
12 / B5 = Rx - UART
13 / B4 = nRF_SDI
14 / C2 = nRF_CE
15 / C1 = N/C 
16 / C0 = -- Gnd
17 / A2 = Int
18 / A1 = PGC
19 / A0 = PGD
20 / Gnd' textarea='12,0,12,0' />
						<command class_type='comment' title='' comment='Initialise the NRF24L01+ as a transmitter

Maybe not the best configuration at this point but it works :-)' textarea='114,60,114,60' />
						<command class_type='comment' title='' comment='Nr 1: 

24= Write reg SETUP_RETR
4F = 01001111' textarea='70,60,70,60' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x24' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x4F' />
						</command>
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
						<command class_type='comment' title='' comment='Nr 8: 

26 = Write reg RF_SETUP
07 = 00000111' textarea='106,64,513,64' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x26' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,10,56,10' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x07' />
						</command>
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
						<command class_type='comment' title='' comment='Nr 12: 

3C = Write reg EN_AA (auto enable ack)
00 = 00000000' textarea='116,67,752,67' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x3C' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,10,56,10' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x00' />
						</command>
						<command class_type='output' title='Output' textarea='63,27,63,27' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
						<command class_type='comment' title='' comment='Nr 13: 

27 = Write reg STATUS
70 = 01110000' textarea='103,60,103,60' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x27' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,10,56,10' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x70' />
						</command>
						<command class_type='output' title='Output' textarea='63,27,63,27' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
						<command class_type='comment' title='' comment='Nr 14: 

25 = Write reg RF_CH
4C = 01001100' textarea='102,67,102,67' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x25' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,10,56,10' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x4C' />
						</command>
						<command class_type='output' title='Output' textarea='63,27,63,27' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
						<command class_type='comment' title='' comment='Nr 15: 

E2 = Flush RX fifo' textarea='83,47,83,47' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0xE2' />
						</command>
						<command class_type='output' title='Output' textarea='63,27,63,27' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
						<command class_type='comment' title='' comment='Nr 16: 

E1 = Flush TX fifo' textarea='96,40,96,40' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0xE1' />
						</command>
						<command class_type='output' title='Output' textarea='63,27,63,27' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
						<command class_type='comment' title='' comment='Nr 18: 

2A Write reg RX adrr Pipe 0

11 11 11 11 11 11' textarea='99,86,99,86' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x2A' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x11' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x11' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x11' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x11' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x11' />
						</command>
						<command class_type='output' title='Output' textarea='63,27,63,27' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
						<command class_type='comment' title='' comment='Nr 19: 

30 = Write reg TX addr Pipe

I use these RX settings.

11 11 11 11 11 11

Make sure the RX settings are accordingly' textarea='122,173,122,173' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x30' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x11' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x11' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x11' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x11' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='56,7,56,7' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x11' />
						</command>
						<command class_type='output' title='Output' textarea='63,27,63,27' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
						<command class_type='comment' title='' comment='Nr 20: 

31 = Write reg EN_AA (auto enable ack)
20 = 00100000' textarea='119,70,119,70' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x31' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x20' />
						</command>
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='comment' title='' comment='Nr 21: 

20 = Write reg CONFIG
0E = 00001110' textarea='109,69,109,69' />
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x20' />
						</command>
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
							<argument exp='0x0E' />
						</command>
						<command class_type='output' title='Output' mode='1' port='1048578' mask='8' exp='1' />
						<command class_type='delay' title='Delay' exp='40' type='0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='delay' title='Delay' exp='10' type='0' />
						<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='Initialise' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='SPI_Master1' macro='SendChar' >
									<argument exp='0x27' />
								</command>
								<command class_type='delay' title='Delay' exp='1' type='2' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='4627d2fb-b41e-44cf-b125-e8511e5ebaa4' vmin='2' vmaj='1' codename='SPI_Master1' x='-64' y='40' z='1.51' 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='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL' data='001' />
					<value target='PR_SCALE' data='016' />
					<value target='CKP' data='000' />
					<value target='CKE' data='001' />
					<value target='SMP' data='000' />
					<value target='DAC_En' data='$PORTC.4' />
					<value target='NVM_En' data='$PORTC.5' />
					<value target='MOSI' data='$PORTC.7' />
					<value target='MISO' data='$PORTB.4' />
					<value target='CLK' data='$PORTB.6' />
					<value target='MosiRemap' data='' />
					<value target='MisoRemap' data='' />
					<value target='ClkRemap' data='' />
					<value target='label' data='SPI  Master' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
				</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='289' 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='300' 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---------------------wAAAAAUAAAAWQcAAHkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='nRF_Init' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAWQcAAHkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
