<root>
<document schema='101' license='1,fotios,5AGFPC' title='ATM90E32_SPI' description='' target='PIC.16F.16F18877' >
	<config data='!0,3f8c!10,37fd!20,3f92!30,1fff!40,3fff%0,4%4,0%8,1%b,1%d,1%10,1%11,0%15,1%16,3%19,1%1a,1%1b,0%1c,1%1d,1%20,12%25,0%28,7%2b,7%30,3%3c,1%3d,0%40,1%41,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='19' />
			<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 />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='21' />
			<data name='CalculatedCommsDelay' value='21' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='13097bd4-3262-408a-a797-0597e38517a7' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' 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='LoRaAddress' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LoRaMISO' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LoRaMOSI' type='u8' description='' isconst='0' 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>
			</variables>
			<macros >
				<macro >
					<flowline name='LoRa_SPI_Write' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='For Write Set bit 7 of LoRaAddress' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='LoRaAddress = LoRaAddress OR 0x80' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='10' type='1' />
						<command class_type='output' title='CS1 Low' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048576' mask='32' exp='0' />
						<command class_type='output' title='CS2 Low' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='16' exp='0' />
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='5' type='0' />
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='cal_spi1' macro='Master_Byte' >
							<argument exp='LoRaAddress' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='cal_spi2' macro='Master_Byte' >
							<argument exp='LoRaAddress' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='cal_spi1' macro='Master_Byte' >
							<argument exp='LoRaMOSI' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='cal_spi2' macro='Master_Byte' >
							<argument exp='LoRaMOSI' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='5' type='0' />
						<command class_type='output' title='CS1 High' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048576' mask='32' exp='1' />
						<command class_type='output' title='CS2 High' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='16' exp='1' />
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='10' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='C Code' ccode='/*
  New oscillator is INTOSC = 8MHz
  For 1MHz OSCFRQ = 0x00
  For 2MHz        = 0x01
  For 4MHz        = 0x02
  For 8MHz        = 0x03
  For 12MHz       = 0x04
  For 16MHz       = 0x05
  For 32MHz       = 0x06 
*/
OSCCON1=0x60;
OSCFRQ=0x03;' cmdcolor='3389439' cmdcolor_sec='3389439' language='C' />
						<command class_type='output' title='CS1 HIGH' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048576' mask='32' exp='1' />
						<command class_type='output' title='CS2 HIGH' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='16' exp='1' />
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='10' type='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='cal_spi1' macro='Master_Init' />
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='cal_spi2' macro='Master_Init' />
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='lcd_4x20' macro='Start' />
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='lcd_4x20' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='lcd_4x20' macro='PrintString' >
							<argument exp='&quot;SX1272 LoRa&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='500' type='1' />
						<command class_type='comment' title='' comment='Put SX1272 in SLEEP mode' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='LoRaAddress = 0x01' />
							<exp exp='LoRaMOSI = 0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='2408448' cmdcolor_sec='6618980' macro='LoRa_SPI_Write' />
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='500' type='1' />
						<command class_type='comment' title='' comment='Select LoRa mode' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='LoRaAddress = 0x01' />
							<exp exp='LoRaMOSI = 0x80' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='2408448' cmdcolor_sec='6618980' macro='LoRa_SPI_Write' />
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='500' type='1' />
						<command class_type='comment' title='' comment='Put SX1272 in STBY mode
Don&apos;t change bit 7 (LoRa mode)' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='LoRaAddress = 0x01' />
							<exp exp='LoRaMOSI = 0x81' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='2408448' cmdcolor_sec='6618980' macro='LoRa_SPI_Write' />
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='500' type='1' />
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='lcd_4x20' macro='ClearLine' >
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='lcd_4x20' macro='ClearLine' >
									<argument exp='1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='LoRaMISO = 0' />
								</command>
								<command class_type='comment' title='' comment='Read LoRa OpMode Register
It should return 0x01' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='LoRaAddress = 0x01' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='2408448' cmdcolor_sec='6618980' macro='LoRa_SPI_Read' />
								<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='lcd_4x20' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='LoRaMISO' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='100' type='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='LoRaMISO = 0' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='500' type='1' />
								<command class_type='comment' title='' comment='Read SX1272 ID' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='LoRaAddress = 0x42' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='2408448' cmdcolor_sec='6618980' macro='LoRa_SPI_Read' />
								<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='100' type='1' />
								<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='lcd_4x20' macro='Cursor' >
									<argument exp='0' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='lcd_4x20' macro='PrintNumber' >
									<argument exp='LoRaMISO' />
								</command>
								<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='2' type='2' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='LoRa_SPI_Read' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='For Read Clear bit 7 of LoRaAddress' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='LoRaAddress = LoRaAddress AND 0x7F' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='10' type='1' />
						<command class_type='output' title='CS1 Low' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048576' mask='32' exp='0' />
						<command class_type='output' title='CS2 Low' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='16' exp='0' />
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='5' type='0' />
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='cal_spi1' macro='Master_Byte' >
							<argument exp='LoRaAddress' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='cal_spi2' macro='Master_Byte' >
							<argument exp='LoRaAddress' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='cal_spi1' macro='Master_Byte' >
							<return exp='LoRaMISO' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='2408448' cmdcolor_sec='6618980' component='cal_spi2' macro='Master_Byte' >
							<return exp='LoRaMISO' />
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='5' type='0' />
						<command class_type='output' title='CS1 High' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048576' mask='32' exp='1' />
						<command class_type='output' title='CS2 High' cmdcolor='7895044' cmdcolor_sec='7895044' mode='1' port='1048577' mask='16' exp='1' />
						<command class_type='delay' title='Delay' cmdcolor='16729600' cmdcolor_sec='7895044' exp='10' type='1' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape1' x='-20' y='70' z='1.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' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTD.3' />
					<value target='polarity' data='000' />
					<value target='on_color' data='32768' />
					<value target='Shape' data='004' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<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='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape2' x='0' y='70' z='1.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' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.3' />
					<value target='polarity' data='000' />
					<value target='on_color' data='65535' />
					<value target='Shape' data='004' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<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='c67171df-0ad6-4b11-8361-cfe14b072847' vmin='2' vmaj='1' codename='cal_spi1' x='-30' y='50' z='0' xsz='25' ysz='25' zsz='25' 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='ENABLED' data='1' />
					<value target='REF' data='1' />
					<value target='CHANNEL' data='001' />
					<value target='MOSI' data='$PORTC.4' />
					<value target='MOSIPins' data='004' />
					<value target='MISO' data='$PORTC.5' />
					<value target='MISOPins' data='021' />
					<value target='CLK' data='$PORTC.3' />
					<value target='CLKPins' data='003' />
					<value target='SS' data='' />
					<value target='PR_SCALE' data='016' />
					<value target='BMODE' data='2' />
					<value target='CKP' data='000' />
					<value target='CKE' data='001' />
					<value target='SMP' data='000' />
					<value target='MOSI_PORT' data='$PORTC.4' />
					<value target='MOSI_TRIS' data='$PORTC.4' />
					<value target='MOSI_PIN' data='4' />
					<value target='MISO_PORT' data='$PORTC.5' />
					<value target='MISO_TRIS' data='$PORTC.5' />
					<value target='MISO_PIN' data='5' />
					<value target='SCK_PORT' data='$PORTC.3' />
					<value target='SCK_TRIS' data='$PORTC.3' />
					<value target='SCK_PIN' data='3' />
					<value target='SS_PORT' data='' />
					<value target='SS_TRIS' data='' />
					<value target='SS_PIN' data='0' />
					<value target='Remappable' data='1' />
					<value target='MOSIReg' data='004' />
					<value target='CLKREG' data='003' />
					<value target='MOSIRPNUM' data='21' />
					<value target='MOSIBank' data='b' />
					<value target='MOSIBank2' data='c' />
					<value target='CLKRPNUM' data='20' />
					<value target='CLKBank' data='b' />
					<value target='MISORPREG' data='SSP1DATPPS' />
					<value target='MISOBank' data='b' />
					<value target='CS_PORT' data='' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='SPIName' data='' />
					<value target='MISOReg' data='000' />
					<value target='SPIClock' data='' />
					<value target='MISOBank2' data='c' />
					<value target='CLKBank2' data='c' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape3' x='20' y='50' z='1.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' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.4' />
					<value target='polarity' data='000' />
					<value target='on_color' data='255' />
					<value target='Shape' data='004' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<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='a2b40602-5421-4e2f-ba82-96db1be51d69' vmin='1' vmaj='1' codename='lcd_4x20' x='0' y='110' z='3.575' 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='Pin_Data_0' data='$PORTC.2' />
					<value target='Pin_Data_1' data='$PORTA.6' />
					<value target='Pin_Data_2' data='$PORTC.1' />
					<value target='Pin_Data_3' data='$PORTC.0' />
					<value target='Pin_RS' data='$PORTA.7' />
					<value target='Pin_E' data='$PORTD.1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape4' 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 >
					<value target='pin' data='$PORTA.0' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='Shape' data='000' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<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='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape5' x='20' y='70' z='1.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' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTA.4' />
					<value target='polarity' data='000' />
					<value target='on_color' data='49188' />
					<value target='Shape' data='004' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<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='248e0a81-43e3-4ff7-b87d-69c04add1fb9' vmin='1' vmaj='0' codename='led_shape6' x='-40' y='70' z='1.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' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTD.4' />
					<value target='polarity' data='000' />
					<value target='on_color' data='65535' />
					<value target='Shape' data='004' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<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='c67171df-0ad6-4b11-8361-cfe14b072847' vmin='2' vmaj='1' codename='cal_spi2' x='0' y='50' z='0' xsz='25' ysz='25' zsz='25' 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='ENABLED' data='1' />
					<value target='REF' data='1' />
					<value target='CHANNEL' data='002' />
					<value target='MOSI' data='$PORTB.2' />
					<value target='MOSIPins' data='010' />
					<value target='MISO' data='$PORTB.3' />
					<value target='MISOPins' data='011' />
					<value target='CLK' data='$PORTB.1' />
					<value target='CLKPins' data='009' />
					<value target='SS' data='' />
					<value target='PR_SCALE' data='016' />
					<value target='BMODE' data='2' />
					<value target='CKP' data='000' />
					<value target='CKE' data='001' />
					<value target='SMP' data='000' />
					<value target='MOSI_PORT' data='$PORTB.2' />
					<value target='MOSI_TRIS' data='$PORTB.2' />
					<value target='MOSI_PIN' data='2' />
					<value target='MISO_PORT' data='$PORTB.3' />
					<value target='MISO_TRIS' data='$PORTB.3' />
					<value target='MISO_PIN' data='3' />
					<value target='SCK_PORT' data='$PORTB.1' />
					<value target='SCK_TRIS' data='$PORTB.1' />
					<value target='SCK_PIN' data='1' />
					<value target='SS_PORT' data='' />
					<value target='SS_TRIS' data='' />
					<value target='SS_PIN' data='0' />
					<value target='Remappable' data='1' />
					<value target='MOSIReg' data='010' />
					<value target='CLKREG' data='009' />
					<value target='MOSIRPNUM' data='23' />
					<value target='MOSIBank' data='b' />
					<value target='MOSIBank2' data='d' />
					<value target='CLKRPNUM' data='22' />
					<value target='CLKBank' data='b' />
					<value target='MISORPREG' data='SSP2DATPPS' />
					<value target='MISOBank' data='b' />
					<value target='CS_PORT' data='' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='SPIName' data='' />
					<value target='MISOReg' data='000' />
					<value target='SPIClock' data='' />
					<value target='MISOBank2' data='d' />
					<value target='CLKBank2' data='d' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='2105930' img='' style='0' />
		<camera xe='-10.2024' ye='71.2604' ze='133.524' xt='-10.2024' yt='71.2604' 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' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='LoRa_SPI_Read' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA1gUAAAEEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='LoRa_SPI_Write' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA1gUAAAEEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA1gUAAAEEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
