<root>
<document scada='0' schema='102' license='1,79829088,0H6AEK' title='' description='' fcversion='590592' target='ARD.ATMEGA.Arduino Nano 328 115200' >
	<config data='' clkspd='16000000' simspd='0' usewdt='0' constif='0' commport='4' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='Main.display' />
		<watch expr='Main.start' />
		<watch expr='SetDigit.driver' />
		<watch expr='spiTransfer.opCode' />
		<watch expr='spiTransfer.i' />
		<watch expr='spiTransfer.maxbytes' />
		<watch expr='spiTransfer.offset' />
		<watch expr='buffer' />
		<watch expr='spiTransfer.data' />
		<watch expr='spiAll.maxbytes' />
	</debug>
	<traces />
	<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='1' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='11' />
			<data name='CalculatedCommsDelay' value='11' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</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='0' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='40aa79c2-ce76-476f-8b38-dc08fb9142d6' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<gdiopts FullContainer='1' FullTransparency='1' ShowGdi='1' ShowOpengl='1' />
		<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' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties >
				<property name='Connections' folder='cal_spi1::property_2' hidden='0' >
					<property name='Channel' target='cal_spi1::CHANNEL' typeid='16' hidden='0' locked='0' info='SPI Channel selector' filter='000Software
001Channel 1
' />
					<property name='MOSI' target='cal_spi1::MOSI' typeid='5' hidden='0' locked='0' info='SPI Data Out Pin SDO - Also Known as Master Out Slave In (MOSI) when used in Master mode.' />
					<property name='MOSI Remap Pin' target='cal_spi1::MOSIPins' typeid='16' hidden='1' locked='0' info='Select which the target pin to assign the MOSI hardware pin functionality.' filter='000$PORTC.0
001$PORTC.1
002$PORTC.2
003$PORTC.3
004$PORTC.4
005$PORTC.5
006$PORTC.6
007$PORTC.7
008$PORTB.0
009$PORTB.1
010$PORTB.2
011$PORTB.3
012$PORTB.4
013$PORTB.5
014$PORTB.6
015$PORTB.7' />
					<property name='MISO' target='cal_spi1::MISO' typeid='5' hidden='0' locked='0' info='SPI Data In Pin SDI - Also Known as Master In Slave Out (MISO) when used in Master mode.' />
					<property name='MISO Remap Pin' target='cal_spi1::MISOPins' typeid='16' hidden='1' locked='0' info='Select which the target pin to assign the MISO hardware pin functionality.' filter='016$PORTC.0
017$PORTC.1
018$PORTC.2
019$PORTC.3
020$PORTC.4
021$PORTC.5
022$PORTC.6
023$PORTC.7
008$PORTB.0
009$PORTB.1
010$PORTB.2
011$PORTB.3
012$PORTB.4
013$PORTB.5
014$PORTB.6
015$PORTB.7' />
					<property name='CLK' target='cal_spi1::CLK' typeid='5' hidden='0' locked='0' info='SPI Clock Pin CLK - The Clock signal is driven by the SPI master.' />
					<property name='CLK Remap Pin' target='cal_spi1::CLKPins' typeid='16' hidden='1' locked='0' info='Select which the target pin to assign the CLK hardware pin functionality.' filter='000$PORTC.0
001$PORTC.1
002$PORTC.2
003$PORTC.3
004$PORTC.4
005$PORTC.5
006$PORTC.6
007$PORTC.7
008$PORTB.0
009$PORTB.1
010$PORTB.2
011$PORTB.3
012$PORTB.4
013$PORTB.5
014$PORTB.6
015$PORTB.7' />
					<property name='Use Auto CS' target='cal_spi1::UseAutoCS' typeid='7' hidden='0' locked='0' info='Allow the SPI component to manage the CS pin for us in Master mode.
On initialise the CS pin is automatically set high to disable the remote SPI device.
Set to No if you want to create a component with multiple CS pins or if you want to manage the CS pin yourself.' />
					<property name='Use Slave Select' target='cal_spi1::UseCS' typeid='7' hidden='1' locked='0' info='Allows the SPI Slave to monitor the hardware SS pin to enable the SPI perpheral.
No: SS pin will not be used and can be used as standard IO
Yes: SS pin will be used to automatically enable the SPI interface when low.' />
					<property name='CS / SS' target='cal_spi1::SS' typeid='5' hidden='0' locked='0' info='Chip Select / Slave Select Pin 
Master Mode: General purpose output pin used to select the remote SPI device.
Slave Mode: Hardware chip select pin input used to select the SPI device.
' />
					<property name='CS Polarity' target='cal_spi1::CSPolarity' typeid='16' hidden='0' locked='0' info='' filter='000Active Low
001Active High' />
					<property name='SS Remap Pin' target='cal_spi1::SSPins' typeid='16' hidden='1' locked='0' info='Select which the target pin to assign the SS hardware pin functionality.' />
					<property name='Alt SS Pin' target='cal_spi1::AltSSPin' typeid='7' hidden='1' locked='0' info='Allows an alternative SS hardware pin to be used.' />
				</property>
				<property name='Options' folder='cal_spi1::property_3' hidden='0' >
					<property name='Mode' target='cal_spi1::Mode' typeid='16' hidden='0' locked='0' info='Configures the mode of the SPI component.
Currently only Master mode is supported.' filter='000Master
001Slave' />
					<property name='Prescale' target='cal_spi1::PR_SCALE' typeid='16' hidden='0' locked='0' info='Prescale option selector' filter='004Fosc/4
016Fosc/16
064Fosc/64' />
					<property name='Clock Phase' target='cal_spi1::CKE' typeid='16' hidden='0' locked='0' info='Clock Phase (data change edge) selection' filter='000Leading Edge
001Trailing Edge' />
					<property name='Clock Polarity' target='cal_spi1::CKP' typeid='16' hidden='0' locked='0' info='Clock Polarity setting, inactive (idle) state' filter='000Idle Low
001Idle High' />
					<property name='Sample Point' target='cal_spi1::SMP' typeid='16' hidden='0' locked='0' info='Data bit read sample point' filter='000Middle
001End' />
				</property>
				<property name='Number of displays' target='displays' typeid='21' hidden='0' locked='0' info='Number of MAX7219 numeric displays chained - each with 8 digits
' />
			</properties>
			<values >
				<value target='cal_spi1::CHANNEL' data='000' />
				<value target='cal_spi1::MOSI' data='$PORTB.3' />
				<value target='cal_spi1::MOSIPins' data='008' />
				<value target='cal_spi1::MISO' data='$PORTB.4' />
				<value target='cal_spi1::MISOPins' data='013' />
				<value target='cal_spi1::CLK' data='$PORTB.5' />
				<value target='cal_spi1::CLKPins' data='004' />
				<value target='cal_spi1::UseAutoCS' data='1' />
				<value target='cal_spi1::UseCS' data='0' />
				<value target='cal_spi1::SS' data='$PORTB.2' />
				<value target='cal_spi1::CSPolarity' data='000' />
				<value target='cal_spi1::SSPins' data='000' />
				<value target='cal_spi1::AltSSPin' data='0' />
				<value target='cal_spi1::Mode' data='000' />
				<value target='cal_spi1::PR_SCALE' data='016' />
				<value target='cal_spi1::CKE' data='001' />
				<value target='cal_spi1::CKP' data='000' />
				<value target='cal_spi1::SMP' data='001' />
				<value target='displays' data='1' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='OP_INTENSITY' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='10' setinit='10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OP_SHUTDOWN' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='12' setinit='12' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='cset' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot;&quot;' setinit='{126,48,109,121,51,91,95,112,127,123}' >
						<array size='10' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OP_DECODEMODE' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='9' setinit='0x09' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='bcd' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='buffer' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='32' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OP_SCANLIMIT' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='11' setinit='11' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OP_DISPLAYTEST' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='15' setinit='15' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='DispFloat' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='x' type='f32' description='Numberr to display' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<param name='n' type='u8' description='Number of digits after the point' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='s' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.s = FloatToString$ (.x, .n)' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='DispNumberStr' >
							<argument exp='.s' />
							<argument exp='0' />
							<argument exp='1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetDigitBCD' description='Set a digit on display - 0 is rightmost digit , 8 * number of displays - 1  leftmost 
Digit must be in BCD decode mode set using SetBCDMode' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='digit' type='u8' description='Display a digit - 0..9, &apos;-&apos;, E, H, L, P and blank' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='c' type='u8' description='BCD Value 0..9, E,H, L, P, - (0..15)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='driver' type='u8' description='max7219 to target' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' break='1' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.driver = displays - .digit / 8 - 1' />
							<exp exp='.digit = .digit % 8 + 1' />
							<exp exp='' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='286184' cmdcolor_sec='3575807' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='.c' >
							<case >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='.c = .c - &apos;0&apos;' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;-&apos;' >
								<flowline >
									<command class_type='calculation' title='' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='.c = 10' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;E&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='.c = 11' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;H&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='.c = 12' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;L&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='.c = 13' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;P&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='.c = 14' />
									</command>
								</flowline>
							</case>
							<case exp='&apos; &apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
										<exp exp='.c = 15' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='spiTransfer' >
							<argument exp='.driver' />
							<argument exp='.digit' />
							<argument exp='.c' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Clear' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' type='2' forvar='.i' exp='displays * 8' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='SetDigitBCD' >
									<argument exp='.i' />
									<argument exp='&apos; &apos;' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetDigit2' description='Set a digit on display - 0 is rightmost digit , 8 * number of displays - 1  leftmost ' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='digit' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='value' type='u8' description='BCD Value 0..9, E,H, L, P, - (0..15)' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='driver' type='u8' description='max7219 to target' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' break='1' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.driver = displays - .digit / 8 - 1' />
							<exp exp='.digit = .digit % 8 + 1' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='spiTransfer' >
							<argument exp='.driver' />
							<argument exp='.digit' />
							<argument exp='cset[.value]' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DispNumber' description='Display an integer on  the display(s)' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='x' type='s32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='s' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.s = ToString$ (.x)' />
							<exp exp='' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='DispNumberStr' >
							<argument exp='.s' />
							<argument exp='0' />
							<argument exp='1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SlideIn' description='Scrolls a number in to pos 0 on display - one digit at a time.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='s' type='T8*' description='Number to display' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='c' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='dest' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='pos' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='dgt' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.pos = Length$ (.s)' />
							<exp exp='.dgt = 0 //  Should this be passed in as a param' />
						</command>
						<command class_type='loop' title='For each character of the string' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' type='0' exp='.pos &gt; 0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
									<exp exp='.pos = .pos - 1' />
									<exp exp='.c = .s[.pos]' />
									<exp exp='.dest = 8 * displays' />
								</command>
								<command class_type='decision' title='Handle decimal point' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='.c = &apos;.&apos;' swap='0' >
									<flowline >
										<command class_type='calculation' title='Set bit 7 for d.p.' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
											<exp exp='.pos = .pos - 1' />
											<exp exp='.c = (.s[.pos] | 0x80)' />
											<exp exp='' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='loop' title='Scroll new char across to new position' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' type='0' exp='.dest &gt; .dgt' >
									<flowline >
										<command class_type='decision' title='Blank previous char if needed' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='.dest &lt; displays * 8' swap='0' >
											<flowline >
												<command class_type='call' title='Sned a blank' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='SetDigitBCD' >
													<argument exp='.dest' />
													<argument exp='&apos; &apos;' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
											<exp exp='.dest = .dest - 1' />
										</command>
										<command class_type='call' title='Send char' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='SetDigitBCD' >
											<argument exp='.dest' />
											<argument exp='.c' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='50' type='1' />
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
									<exp exp='.dgt = .dgt + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='spiTransfer' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='device' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='opCode' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='offset' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='maxbytes' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' break='1' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.maxbytes = displays * 2' />
							<exp exp='.offset = .device * 2' />
							<exp exp='' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' type='2' forvar='.i' exp='.maxbytes' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
									<exp exp='buffer[.i] = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='buffer[.offset] = .opCode' />
							<exp exp='buffer[.offset + 1] = .data' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='cal_spi1' macro='Master_Enable_CS' />
						<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='cal_spi1' macro='Master_Transaction' >
							<argument exp='buffer' />
							<argument exp='.maxbytes' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='cal_spi1' macro='Master_Disable_CS' />
					</flowline>
				</macro>
				<macro >
					<flowline name='InitialiseLED' description='Initialise an max72xx based LED display (or displays)' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='cal_spi1' macro='Master_Init' />
						<command class_type='call' title='Turn off test mode' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='spiAll' >
							<argument exp='OP_DISPLAYTEST' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Macro' textarea='42,2,42,2' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='spiAll' >
							<argument exp='OP_SCANLIMIT' />
							<argument exp='7' />
						</command>
						<command class_type='call' title='Turn on BCD mode as default' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='spiAll' >
							<argument exp='OP_DECODEMODE' />
							<argument exp='0xFF' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='Power' >
							<argument exp='true' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DispNumberStr' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='str' type='T8*' description='Output a number inc &apos;-&apos; and &apos;.&apos;' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='start' type='u8' description='Start position of first char on display' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='clear' type='b1' description='Clear unused digits if true' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='c' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='pos' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='.pos = Length$ (.str)' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' type='2' forvar='.i' exp='displays * 8 - .start' >
							<flowline >
								<command class_type='decision' title='Are we within the number string' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='(.pos &gt; 0) &amp;&amp; (.start == 0)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
											<exp exp='.pos = .pos - 1' />
											<exp exp='.c = .str[.pos]' />
											<exp exp='' />
										</command>
										<command class_type='decision' title='Handlle decimal point' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='.c = &apos;.&apos;' swap='0' >
											<flowline >
												<command class_type='calculation' title='Set bit 7 for d.p.' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
													<exp exp='.pos = .pos - 1' />
													<exp exp='.c = (.str[.pos] | 0x80)' />
													<exp exp='' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='call' title='Sned a minus sign' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='SetDigitBCD' >
											<argument exp='.i' />
											<argument exp='.c' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='.clear' swap='0' >
											<flowline >
												<command class_type='call' title='Sned a blank' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='SetDigitBCD' >
													<argument exp='.i' />
													<argument exp='&apos; &apos;' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
											<exp exp='.start = .start - 1' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='spiAll' description='Transfer the same instruction to all LED matrix' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='opCode' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' type='2' forvar='.i' exp='displays' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
									<exp exp='buffer[.i * 2] = .opCode' />
									<exp exp='buffer[.i * 2 + 1] = .data' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='cal_spi1' macro='Master_Enable_CS' />
						<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='cal_spi1' macro='Master_Transaction' >
							<argument exp='buffer' />
							<argument exp='displays * 2' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='cal_spi1' macro='Master_Disable_CS' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetBCDMode' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='driver' type='u8' description='Number of driver chip 0..number of displays - 1' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='on' type='u8' description='&apos;1&apos; bit in &apos;on sets digit into BCD mode - allows 0..9, EH,L and &apos;-&apos;' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Store BCD state of digit' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
							<exp exp='bcd[.driver] = .on' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='spiTransfer' >
							<argument exp='.driver' />
							<argument exp='OP_DECODEMODE' />
							<argument exp='.on' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetIntensity' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='intensity' type='u8' description='LED segment intensity 0-15' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='.intensity &lt; 16' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='spiAll' >
									<argument exp='OP_INTENSITY' />
									<argument exp='.intensity' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='dht22' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='s' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='delay' title='Delay' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
						<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='InitialiseLED' />
						<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='SetIntensity' >
							<argument exp='15' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='SlideIn' >
							<argument exp='&quot;---HELL0&quot;' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='5' type='2' />
						<command class_type='loop' title='Loop' cmdcolor='572159' cmdcolor_sec='3861759' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Check the DHT22' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='DHT22' macro='SampleSensor' >
									<return exp='.dht22' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='143324' cmdcolor_sec='3432959' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='.dht22 == 0' swap='0' >
									<flowline >
										<command class_type='call' title='Clear display' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='Clear' />
										<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='DHT22' macro='GetTempString' >
											<return exp='.s' />
										</command>
										<command class_type='call' title='Display temp' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='SlideIn' >
											<argument exp='.s' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='5' type='2' />
										<command class_type='call' title='User Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='Clear' />
										<command class_type='call' title='Component Macro' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' component='DHT22' macro='GetHumidityString' >
											<return exp='.s' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='429300' cmdcolor_sec='3718911' cmdcolor_txt='0' cmdgradient='1' cmdopacity='1' >
											<exp exp='.s = .s + &quot;H&quot;' />
										</command>
										<command class_type='call' title='Humidity' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='SlideIn' >
											<argument exp='.s' />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='208' cmdcolor_sec='3289855' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' exp='5' type='2' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Power' description='Set LED shutdown state' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='on' type='b1' description='Set to true to turn the display on' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='524957' cmdcolor_sec='3814607' cmdcolor_txt='16777215' cmdgradient='1' cmdopacity='1' macro='spiAll' >
							<argument exp='OP_SHUTDOWN' />
							<argument exp='(.on == true)' />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c67171df-0ad6-4b11-8361-cfe14b072847' vmin='1' vmaj='2' codename='cal_spi1' x='0' y='0' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ENABLED' data='1' />
					<value target='REF' data='1' />
					<value target='CHANNEL' data='000' />
					<value target='MOSI' data='$PORTB.3' />
					<value target='MOSIPins' data='008' />
					<value target='MISO' data='$PORTB.4' />
					<value target='MISOPins' data='013' />
					<value target='CLK' data='$PORTB.5' />
					<value target='CLKPins' data='004' />
					<value target='UseAutoCS' data='1' />
					<value target='UseCS' data='0' />
					<value target='SS' data='$PORTB.2' />
					<value target='CSPolarity' data='000' />
					<value target='SSPins' data='000' />
					<value target='AltSSPin' data='0' />
					<value target='Mode' data='000' />
					<value target='PR_SCALE' data='016' />
					<value target='CKE' data='001' />
					<value target='CKP' data='000' />
					<value target='SMP' data='001' />
					<value target='ScopeTraces' data='1' />
					<value target='ConsoleData' data='1' />
					<value target='Injector' data='000' />
					<value target='InjectorCS' data='0' />
					<value target='InjectorHandle' data='0' />
					<value target='InjectorChannel' data='0' />
					<value target='BMODE' data='6' />
					<value target='MOSI_PORT' data='$PORTB.3' />
					<value target='MOSI_TRIS' data='$PORTB.3' />
					<value target='MOSI_PIN' data='3' />
					<value target='MISO_PORT' data='$PORTB.4' />
					<value target='MISO_TRIS' data='$PORTB.4' />
					<value target='MISO_PIN' data='4' />
					<value target='SCK_PORT' data='$PORTB.5' />
					<value target='SCK_TRIS' data='$PORTB.5' />
					<value target='SCK_PIN' data='5' />
					<value target='SS_PORT' data='$PORTB.2' />
					<value target='SS_TRIS' data='$PORTB.2' />
					<value target='SS_PIN' data='2' />
					<value target='Remappable' data='' />
					<value target='MOSIReg' data='008' />
					<value target='CLKREG' data='004' />
					<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='SPIName' data='' />
					<value target='MISOReg' data='000' />
					<value target='SPIClock' data='' />
					<value target='MISOBank2' data='c' />
					<value target='CLKBank2' data='c' />
					<value target='ParentName' data='' />
					<value target='BitDelay' data='1' />
					<value target='ClockSpeed' data='16000000' />
					<value target='MasterDivider' data='1' />
					<value target='Sim' data='1' />
					<value target='CLKRPREG' data='' />
					<value target='SSRPREG' data='' />
					<value target='SSBank' data='' />
					<value target='SSBank2' data='' />
					<value target='AltSSReg' data='' />
					<value target='AltSSMask' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f2dfca22-b0b8-4694-8d30-1c25063578e3' vmin='0' vmaj='2' codename='animator1' x='0' y='0' z='1.0045' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='target_object' data='' />
					<value target='axis_object' data='000' />
					<value target='interval' data='50' />
					<value target='on_stop' data='003' />
					<value target='gravity' data='0.000000' />
					<value target='friction' data='0.000000' />
					<value target='Collisions' data='0' />
					<value target='boundX_mode' data='000' />
					<value target='minX' data='-50.000000' />
					<value target='maxX' data='50.000000' />
					<value target='boundY_mode' data='000' />
					<value target='minY' data='-50.000000' />
					<value target='maxY' data='50.000000' />
					<value target='boundZ_mode' data='000' />
					<value target='minZ' data='-50.000000' />
					<value target='maxZ' data='50.000000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='95a1525b-7e03-4836-8c09-59bf174f603b' vmin='2' vmaj='1' codename='DHT22' x='0' y='0' z='2.54617' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='dpin' data='$PORTD.2' />
					<value target='csum' data='1' />
					<value target='ClockAdjust' data='000' />
					<value target='Nop30us' data='137.625610' />
					<value target='DeviceFamily' data='AVR' />
					<value target='InstPerMicro' data='4.915200' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='0' ye='0' ze='2619.13' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='2104' dy='1917' zoom='97.2016' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='781.66' 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='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='258' flags='0' />
		<view type='0' name='InitialiseLED' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='spiAll' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetIntensity' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Power' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetDigitBCD' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='spiTransfer' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='105' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetBCDMode' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetDigit2' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DispNumber' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DispFloat' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DispNumberStr' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SlideIn' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Clear' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAiAAAAbQoAAA8GAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
