<root>
<document schema='101' license='1,mnfisher,347PHF' title='' description='' target='AVR.ATMEGA.Arduino Nano 328' >
	<config data='' clkspd='16000000' simspd='1' usewdt='0' constif='0' commport='10' />
	<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 >
		<watch expr='Scroll.c' />
		<watch expr='Scroll.d' />
		<watch expr='Scroll.n' />
		<watch expr='Scroll.y' />
		<watch expr='Scroll.addr' />
		<watch expr='Plot.x' />
		<watch expr='Plot.addr' />
		<watch expr='Plot.y' />
		<watch expr='Plot.bit' />
		<watch expr='buffer' />
		<watch expr='display' />
		<watch expr='Ev_Property.tempstring' />
		<watch expr='CopyTo.temp' />
		<watch expr='CopyTo.name' />
	</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='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' />
		</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='0143b9ea-01ad-497f-9bd0-ef660ddc4ce1' vstate='30' vmin='0' vmaj='1' srcleaf='max7219 multi 2.fcfx' visiblename='Matrix7219' description='Max 7219 based 8 x8 matrix display - supporting 1-8 displays in a 8 x 8 to 64 x 8 grid' category='Misc' catenable='1' author='Martin Fisher' manuname='' manucode='' sysinfo='1053451' keywords='' dynamic='1' iconpath='' />
		<component class_type='root' codename='Max7219Matrix' 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' macronames='$(type)_$(module)__$(macro)' >
			<resources />
			<properties >
				<property name='Channel' target='CHANNEL' typeid='16' hidden='0' locked='0' info='' filter='000Software
001Channel 1
' />
				<property name='Data Out' target='MOSI' typeid='5' hidden='0' locked='0' info='' />
				<property name='CLK' target='CLK' typeid='5' hidden='0' locked='0' info='' />
				<property name='Chip Select' target='CS' typeid='5' hidden='0' locked='0' info='' />
				<property name='Prescale' target='PR_SCALE' typeid='16' hidden='0' locked='0' info='' filter='000Fosc/2
001Fosc/4
002Fosc/8
003Fosc/16
004Fosc/32
005Fosc/64
006Fosc/128
000Fosc/256' />
				<property name='Devices' target='NumDevices' typeid='16' hidden='0' locked='0' info='' filter='0011
0022
0033
0044
0055
0066
0077
0088' />
				<property name='LeftToRight' target='Direction' typeid='7' hidden='0' locked='0' info='' />
				<property name='SwapY' target='SwapY' typeid='7' hidden='0' locked='0' info='' />
				<property name='Channel' target='cal_spi1::CHANNEL' typeid='16' hidden='0' locked='0' info='SPI Channel selector' filter='000Software
001Channel 1
' />
			</properties>
			<values >
				<value target='CHANNEL' data='000' />
				<value target='MOSI' data='$PORTD.5' />
				<value target='CLK' data='$PORTD.7' />
				<value target='CS' data='$PORTD.6' />
				<value target='PR_SCALE' data='001' />
				<value target='NumDevices' data='004' />
				<value target='Direction' data='1' />
				<value target='SwapY' data='1' />
				<value target='cal_spi1::CHANNEL' data='000' />
			</values>
			<events >
				<event class='Components' event='Property' target='Ev_Property' />
			</events>
			<apis >
				<api name='DisplayDigit' alt='DisplayDigit' type='1' proto='1' />
				<api name='Scroll' alt='Scroll' type='1' proto='1' />
				<api name='Pen' alt='Pen' type='1' proto='1' />
				<api name='DisplayStr' alt='DisplayStr' type='1' proto='1' />
				<api name='Shutdown' alt='Shutdown' type='1' proto='1' />
				<api name='Plot' alt='Plot' type='1' proto='1' />
				<api name='InitialiseLED' alt='InitialiseLED' type='1' proto='1' />
				<api name='Invert' alt='Invert' type='1' proto='1' />
				<api name='ScrollStr' alt='ScrollStr' type='1' proto='1' />
				<api name='ClearDisplays' alt='ClearDisplays' type='1' proto='1' />
				<api name='SetIntensity' alt='SetIntensity' type='1' proto='1' />
			</apis>
			<variables >
				<variable public='0' >
					<def class_type='variable' name='OP_INTENSITY' type='s16' description='' isconst='1' isinit='1' usrinit='10' setinit='10' />
				</variable>
				<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='Parameter' type='s16' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OP_SHUTDOWN' type='s16' description='' isconst='1' isinit='1' usrinit='12' setinit='12' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='display' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='64' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Command' type='s16' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OP_NOOP' type='s16' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OP_DECODEMODE' type='s16' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='y' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='x' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='buffer' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='16' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dir' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OP_SCANLIMIT' type='s16' description='' isconst='1' isinit='1' usrinit='11' setinit='11' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='n' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='OP_DISPLAYTEST' type='s16' description='' isconst='1' isinit='1' usrinit='15' setinit='15' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='i' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='DisplayDigit' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='device' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='digit' type='u8' description='position to display from 0 to number of digits' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='value' type='u8' description='value to display (0..9)' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='v' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Valid digit?' ccode='// Decision
// Decision: (.value &gt;= 0) &amp;&amp; (.value &lt;= 9)?
if ((FCL_VALUE &gt;= 0) &amp;&amp; (FCL_VALUE &lt;= 9))
{
' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(.value &gt;= 0) &amp;&amp; (.value &lt;= 9)' swap='0' >
							<flowline >
								<command class_type='call' title='Lookup segment pattern for digit' cmdcolor='1975743' cmdcolor_sec='1975743' component='digits' macro='GetInt' >
									<return exp='.v' />
									<argument exp='.value' />
								</command>
								<command class_type='call' title='Display at selected digit' cmdcolor='1975743' cmdcolor_sec='1975743' macro='spiTransfer' >
									<argument exp='.device' />
									<argument exp='.digit+1' />
									<argument exp='.v' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Scroll' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='direction' type='u8' description='0 = left, 1 = up, 2 = right, 3 = down' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='n' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='x' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='y' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='addr' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='d' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='c' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='nc' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.direction' >
							<case >
								<flowline />
							</case>
							<case exp='0' >
								<flowline >
									<command class_type='loop' title='Scroll left' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.y' exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
												<exp exp='.c = 0' />
												<exp exp='' />
												<exp exp='' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.n' exp='NumDevices' start='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='.addr = .n * 8 + .y' />
														<exp exp='.d = (display[.addr] &lt;&lt; 1) + .c' />
														<exp exp='.c = .d / 256' />
														<exp exp='' />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteData' >
														<argument exp='.n' />
														<argument exp='.y' />
														<argument exp='.d' />
													</command>
												</flowline>
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='loop' title='Scroll Up' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.n' exp='NumDevices' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
												<exp exp='.addr = .n * 8' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.y' exp='7' start='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='.d = display[.addr + .y + 1]' />
														<exp exp='' />
														<exp exp='' />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteData' >
														<argument exp='.n' />
														<argument exp='.y' />
														<argument exp='.d' />
													</command>
												</flowline>
											</command>
											<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteData' >
												<argument exp='.n' />
												<argument exp='7' />
												<argument exp='0' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='loop' title='Scroll Right' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.y' exp='8' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
												<exp exp='.c = 0' />
												<exp exp='.n = NumDevices' />
												<exp exp='' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='.n == 0' start='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='.n = .n - 1' />
														<exp exp='.addr = .n * 8 + .y' />
														<exp exp='.d = display[.addr]' />
														<exp exp='.nc = .d &amp; 1' />
														<exp exp='.d = (.d &gt;&gt; 1) + (.c &lt;&lt; 7)' />
														<exp exp='.c = .nc' />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteData' >
														<argument exp='.n' />
														<argument exp='.y' />
														<argument exp='.d' />
													</command>
												</flowline>
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='loop' title='Scroll Down' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.n' exp='NumDevices' >
										<flowline >
											<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
												<exp exp='.addr = .n * 8' />
												<exp exp='.y = 7' />
											</command>
											<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.y &gt; 0' start='0' >
												<flowline >
													<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='.d = display[.addr + .y - 1]' />
														<exp exp='' />
														<exp exp='' />
													</command>
													<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteData' >
														<argument exp='.n' />
														<argument exp='.y' />
														<argument exp='.d' />
													</command>
													<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
														<exp exp='.y = .y - 1' />
													</command>
												</flowline>
											</command>
											<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteData' >
												<argument exp='.n' />
												<argument exp='0' />
												<argument exp='0' />
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Refresh' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Pen' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='device' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='char' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ca' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='addr' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='d' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.addr = .device * 8' />
							<exp exp='.ca = (.char - 32) * 8' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.i' exp='8' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='CharSet' macro='GetInt' >
									<return exp='.d' />
									<argument exp='.ca' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(Direction &amp; !SwapY) || (!Direction &amp; SwapY)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.d = ((.d &amp; 0x1) &lt;&lt; 7) | ((.d &amp; 0x2) &lt;&lt; 5) | ((.d &amp; 0x4) &lt;&lt; 3) | ((.d &amp; 0x8) &lt;&lt; 1) | ((.d &amp; 0x10) &gt;&gt; 1) | ((.d &amp; 0x20) &gt;&gt; 3) | ((.d &amp; 0x40) &gt;&gt; 5) | ((.d &amp; 0x80) &gt;&gt; 7)' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='SwapY' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteData' >
											<argument exp='.device' />
											<argument exp='7-.i' />
											<argument exp='.d' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteData' >
											<argument exp='.device' />
											<argument exp='.i' />
											<argument exp='.d' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.ca = .ca + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Refresh' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Shutdown' description='Set LED shutdown state' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='powerOff' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' textarea='66,-24,66,-24' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.powerOff' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='spiAll' >
									<argument exp='OP_SHUTDOWN' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='spiAll' >
									<argument exp='OP_SHUTDOWN' />
									<argument exp='1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DisplayStr' description='Print a string to the display on matrix alignment' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='addr' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='str' type='T8*' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='clear' type='b1' description='Set to true to clear to end of display' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='len' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.len = Length$ (.str)' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.i' exp='NumDevices' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.i &lt; .len' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Pen' >
											<argument exp='.i+.addr' />
											<argument exp='.str[.i]' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Pen' >
											<argument exp='.addr+.i' />
											<argument exp='&apos; &apos;' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='WriteData' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='device' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='addr' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='data' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='display[.device * 8 + .addr] = .data' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Plot' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='x' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='y' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Set' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='bit' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='row' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='addr' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='dev' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='v' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.dev = .x / 8' />
							<exp exp='.addr = .dev * 8 + .y' />
							<exp exp='.v = display[.addr]' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Direction' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.bit = 1 &lt;&lt; (.x % 8)' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.bit = 128 &gt;&gt; (.x % 8)' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.Set' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.v = .v | .bit' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='bit = ~bit' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.bit = ~ .bit' />
									<exp exp='.v = .v &amp; .bit' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteData' >
							<argument exp='.dev' />
							<argument exp='.y' />
							<argument exp='.v' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='spiLine' >
							<argument exp='.y' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Demo' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='number' type='u8' description='Number of demo to run' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='c' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='dev' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.number' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='call' title='Title' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DisplayStr' >
										<argument exp='0' />
										<argument exp='&quot;Scroll 1&quot;' />
										<argument exp='true' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
									<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='x' exp='NumDevices * 4' >
										<flowline >
											<command class_type='call' title='Call Macro' break='1' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
												<argument exp='x * 2' />
												<argument exp='7' />
												<argument exp='true' />
											</command>
										</flowline>
									</command>
									<command class_type='loop' title='Loop' textarea='60,-3,60,-3' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' exp='8' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Scroll' >
												<argument exp='1' />
											</command>
											<command class_type='delay' title='Delay' textarea='63,22,63,22' cmdcolor='7895044' cmdcolor_sec='7895044' exp='20' type='1' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='call' title='Title' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DisplayStr' >
										<argument exp='0' />
										<argument exp='&quot;Scroll 3&quot;' />
										<argument exp='true' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
									<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='x' exp='NumDevices * 4' >
										<flowline >
											<command class_type='call' title='Call Macro' break='1' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
												<argument exp='x * 2' />
												<argument exp='0' />
												<argument exp='true' />
											</command>
										</flowline>
									</command>
									<command class_type='loop' title='Loop' textarea='60,-3,60,-3' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' exp='8' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Scroll' >
												<argument exp='3' />
											</command>
											<command class_type='delay' title='Delay' textarea='63,22,63,22' cmdcolor='7895044' cmdcolor_sec='7895044' exp='20' type='1' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='call' title='Title' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DisplayStr' >
										<argument exp='0' />
										<argument exp='&quot;Scroll 0&quot;' />
										<argument exp='true' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
									<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='y' exp='8' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
												<argument exp='0' />
												<argument exp='y' />
												<argument exp='true' />
											</command>
										</flowline>
									</command>
									<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='x' exp='NumDevices * 8 - 1' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Scroll' >
												<argument exp='0' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='20' type='1' />
										</flowline>
									</command>
									<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='x' exp='NumDevices * 8 - 1' >
										<flowline >
											<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Scroll' >
												<argument exp='2' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='20' type='1' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='call' title='Title' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DisplayStr' >
										<argument exp='0' />
										<argument exp='&quot;Pixels&quot;' />
										<argument exp='true' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
									<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='x' exp='NumDevices * 8' >
										<flowline >
											<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='y' exp='8' >
												<flowline >
													<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
														<argument exp='x' />
														<argument exp='y' />
														<argument exp='true' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='10' type='1' />
												</flowline>
											</command>
										</flowline>
									</command>
									<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='y' exp='8' >
										<flowline >
											<command class_type='loop' title='Loop' textarea='65,-1,65,-1' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='x' exp='NumDevices * 8' start='0' >
												<flowline >
													<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
														<argument exp='x' />
														<argument exp='y' />
														<argument exp='false' />
													</command>
													<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='10' type='1' />
												</flowline>
											</command>
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='call' title='Title' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DisplayStr' >
										<argument exp='0' />
										<argument exp='&quot;CharSet&quot;' />
										<argument exp='true' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='.c = &apos;z&apos;' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='.c == 31' start='0' >
										<flowline >
											<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.dev' exp='NumDevices' >
												<flowline >
													<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Pen' >
														<argument exp='.dev' />
														<argument exp='.c' />
													</command>
												</flowline>
											</command>
											<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
												<exp exp='.c = .c - 1' />
											</command>
											<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='20' type='1' />
										</flowline>
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='call' title='Title' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DisplayStr' >
										<argument exp='0' />
										<argument exp='&quot;ScrollStr&quot;' />
										<argument exp='true' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
									<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ScrollStr' >
										<argument exp='&quot;Hello World!!&quot;' />
										<argument exp='1' />
										<argument exp='20' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='call' title='Title' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DisplayStr' >
										<argument exp='0' />
										<argument exp='&quot;Flash 20x&quot;' />
										<argument exp='true' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
									<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Invert' >
										<argument exp='20' />
										<argument exp='200' />
									</command>
								</flowline>
							</case>
							<case exp='8' >
								<flowline >
									<command class_type='call' title='Title' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DisplayStr' >
										<argument exp='0' />
										<argument exp='&quot;ScrollStr&quot;' />
										<argument exp='true' />
									</command>
									<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
									<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ScrollStr' >
										<argument exp='&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&quot;' />
										<argument exp='1' />
										<argument exp='0' />
									</command>
									<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ScrollStr' >
										<argument exp='&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&quot;' />
										<argument exp='1' />
										<argument exp='10' />
									</command>
									<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ScrollStr' >
										<argument exp='&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&quot;' />
										<argument exp='1' />
										<argument exp='20' />
									</command>
								</flowline>
							</case>
							<case exp='9' >
								<flowline />
							</case>
							<case exp='10' >
								<flowline />
							</case>
						</command>
						<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
					</flowline>
				</macro>
				<macro >
					<flowline name='spiTransfer' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='device' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='opCode' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='data' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='offset' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='maxbytes' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='n' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.maxbytes = NumDevices * 2' />
							<exp exp='.offset = .device * 2' />
							<exp exp='.n = .maxbytes' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.i' exp='.maxbytes' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='buffer[.i] = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='buffer[.offset + 1] = .opCode' />
							<exp exp='buffer[.offset] = .data' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='CS = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='.n == 0' start='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.n = .n - 1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='Master_Byte' >
									<argument exp='buffer[.n]' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='CS = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='spiLine' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='y' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='n' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='line' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.n = NumDevices * 2' />
							<exp exp='.line = .y' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.i' exp='NumDevices' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='buffer[.i * 2 + 1] = .line + 1' />
									<exp exp='buffer[.i * 2] = display[.i * 8 + .line]' />
									<exp exp='' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='CS = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='.n == 0' start='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.n = .n - 1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='Master_Byte' >
									<argument exp='buffer[.n]' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='CS = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='InitialiseLED' description='Initialise an max72xx based LED display (or displays)' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='Master_Init' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='CS = 1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='spiAll' >
							<argument exp='OP_DISPLAYTEST' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Macro' textarea='42,2,42,2' cmdcolor='1975743' cmdcolor_sec='1975743' macro='spiAll' >
							<argument exp='OP_SCANLIMIT' />
							<argument exp='7' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='spiAll' >
							<argument exp='OP_DECODEMODE' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Shutdown' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ClearDisplays' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Property' description='Sent when a property has been changed by the User' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='tempstring' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='sim' title='Simulation' break='1' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='GetList' >
							<return exp='.tempstring' />
							<argument exp='&quot;CHANNEL&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.SetFilter' >
							<argument exp='this' />
							<argument exp='&quot;CHANNEL&quot;' />
							<argument exp='.tempstring' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.GetValue' >
							<return exp='.tempstring' />
							<argument exp='this' />
							<argument exp='&quot;CHANNEL&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='SetValue' >
							<argument exp='&quot;CHANNEL&quot;' />
							<argument exp='.tempstring' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='CHANNEL = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='CopyTo' >
									<argument exp='&quot;MOSI&quot;' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='CopyTo' >
									<argument exp='&quot;CLK&quot;' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='CopyTo' >
									<argument exp='&quot;CS&quot;' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='CopyTo' >
									<argument exp='&quot;PR_SCALE&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='CopyFrom' >
									<argument exp='&quot;MOSI&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='CopyFrom' >
									<argument exp='&quot;CLK&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='CopyFrom' >
									<argument exp='&quot;CS&quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='CopyFrom' >
									<argument exp='&quot;PR_SCALE&quot;' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='CopyTo' description='Copy from component properties to base CAL component' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='name' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='temp' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.SetWritable' >
							<argument exp='this' />
							<argument exp='.name' />
							<argument exp='1' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.GetValue' >
							<return exp='.temp' />
							<argument exp='this' />
							<argument exp='.name' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='SetValue' >
							<argument exp='.name' />
							<argument exp='.temp' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ScrollStr' description='Scroll a string across display. Returns hen last char is fully displayed' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='str' type='T8*' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='direction' type='u8' description='0 = left, 1 = right' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='delay' type='u8' description='delay between steps in ms' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='pos' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='char' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='draw' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='dir' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='addr' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='b' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='row' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.dir = .direction * 2' />
							<exp exp='.draw = (NumDevices * 8 - 1) * .direction' />
							<exp exp='.char = 0' />
							<exp exp='' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.char' exp='Length$ (.str)' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.addr = (.str[.char] - 32) * 8' />
									<exp exp='.pos = 0' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.pos' exp='8' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Scroll' >
											<argument exp='.dir' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.row' exp='8' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='CharSet' macro='GetInt' >
													<return exp='.b' />
													<argument exp='.addr + .row' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='SwapY' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
															<argument exp='.draw' />
															<argument exp='7-.row' />
															<argument exp='.b &amp; (1&lt;&lt;.pos)' />
														</command>
													</flowline>
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
															<argument exp='.draw' />
															<argument exp='.row' />
															<argument exp='.b &amp; (1&lt;&lt;.pos)' />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='.delay' type='1' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Invert' description='Invert the display' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='flashes' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='delay' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='b' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' exp='.flashes' >
							<flowline >
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.i' exp='NumDevices * 8' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='display[.i] = ~display[.i]' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Refresh' />
								<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='.delay' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='spiAll' description='Transfer the same instruction to all LED matrix' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='opCode' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='data' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='offset' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='maxbytes' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='n' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.maxbytes = NumDevices * 2' />
							<exp exp='.n = .maxbytes' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.i' exp='NumDevices' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='buffer[.i * 2 + 1] = .opCode' />
									<exp exp='buffer[.i * 2] = .data' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='CS = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='.n == 0' start='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.n = .n - 1' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='Master_Byte' >
									<argument exp='buffer[.n]' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='CS = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Refresh' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='y' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.y' exp='8' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='spiLine' >
									<argument exp='.y' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ClearDisplays' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='.i' exp='NumDevices * 8' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='display[.i] = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Refresh' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetIntensity' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='intensity' type='u8' description='LED segment intensity 0-15' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.intensity &lt; 16' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='spiAll' >
									<argument exp='OP_INTENSITY' />
									<argument exp='.intensity' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='CopyFrom' description='Copy from base component to this component&apos;s properies' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Name' type='T8*' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='temp' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.SetWritable' >
							<argument exp='this' />
							<argument exp='.Name' />
							<argument exp='0' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='GetValue' >
							<return exp='.temp' />
							<argument exp='.Name' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='.Name' />
							<argument exp='.temp' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='I' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Ev_Property' />
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='InitialiseLED' />
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SetIntensity' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Shutdown' >
							<argument exp='false' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='1' >
							<flowline >
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' forvar='n' exp='10' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Demo' >
											<argument exp='n' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c67171df-0ad6-4b11-8361-cfe14b072847' vmin='2' vmaj='1' codename='cal_spi1' x='0' y='90' 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='000' />
					<value target='MOSI' data='$PORTD.5' />
					<value target='MOSIPins' data='008' />
					<value target='MISO' data='$PORTB.4' />
					<value target='MISOPins' data='013' />
					<value target='CLK' data='$PORTD.7' />
					<value target='CLKPins' data='004' />
					<value target='SS' data='$PORTD.6' />
					<value target='PR_SCALE' data='002' />
					<value target='BMODE' data='6' />
					<value target='CKP' data='000' />
					<value target='CKE' data='001' />
					<value target='SMP' data='001' />
					<value target='MOSI_PORT' data='$PORTD.5' />
					<value target='MOSI_TRIS' data='$PORTD.5' />
					<value target='MOSI_PIN' data='5' />
					<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='$PORTD.7' />
					<value target='SCK_TRIS' data='$PORTD.7' />
					<value target='SCK_PIN' data='7' />
					<value target='SS_PORT' data='$PORTD.6' />
					<value target='SS_TRIS' data='$PORTD.6' />
					<value target='SS_PIN' data='6' />
					<value target='Remappable' data='' />
					<value target='MOSIReg' data='008' />
					<value target='CLKREG' data='004' />
					<value target='MOSIRPNUM' data='5' />
					<value target='MOSIBank' data='a' />
					<value target='MOSIBank2' data='b' />
					<value target='CLKRPNUM' data='8' />
					<value target='CLKBank' data='' />
					<value target='MISORPREG' data='SDI1R' />
					<value target='MISOBank' data='a' />
					<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='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='4' vmaj='1' codename='digits' x='50' 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' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='StorageType' data='000' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='126,48,109,121,51,91,95,112,127,123' />
					<value target='floatfixed' data='' />
					<value target='fixedexp' data='0' />
					<value target='EmbedIntoC' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='4' vmaj='1' codename='CharSet' 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' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='StorageType' data='000' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x18,0x3C,0x3C,0x18,0x18,0x00,0x18,0x00,
0x36,0x36,0x00,0x00,0x00,0x00,0x00,0x00,
0x36,0x36,0x7F,0x36,0x7F,0x36,0x36,0x00,
0x0C,0x3E,0x03,0x1E,0x30,0x1F,0x0C,0x00,
0x00,0x63,0x33,0x18,0x0C,0x66,0x63,0x00,
0x1C,0x36,0x1C,0x6E,0x3B,0x33,0x6E,0x00,
0x06,0x06,0x03,0x00,0x00,0x00,0x00,0x00,
0x18,0x0C,0x06,0x06,0x06,0x0C,0x18,0x00,
0x06,0x0C,0x18,0x18,0x18,0x0C,0x06,0x00,
0x00,0x66,0x3C,0xFF,0x3C,0x66,0x00,0x00,
0x00,0x0C,0x0C,0x3F,0x0C,0x0C,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x06,
0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x00,
0x60,0x30,0x18,0x0C,0x06,0x03,0x01,0x00,
0x3E,0x63,0x73,0x7B,0x6F,0x67,0x3E,0x00,
0x0C,0x0E,0x0C,0x0C,0x0C,0x0C,0x3F,0x00,
0x1E,0x33,0x30,0x1C,0x06,0x33,0x3F,0x00,
0x1E,0x33,0x30,0x1C,0x30,0x33,0x1E,0x00,
0x38,0x3C,0x36,0x33,0x7F,0x30,0x78,0x00,
0x3F,0x03,0x1F,0x30,0x30,0x33,0x1E,0x00,
0x1C,0x06,0x03,0x1F,0x33,0x33,0x1E,0x00,
0x3F,0x33,0x30,0x18,0x0C,0x0C,0x0C,0x00,
0x1E,0x33,0x33,0x1E,0x33,0x33,0x1E,0x00,
0x1E,0x33,0x33,0x3E,0x30,0x18,0x0E,0x00,
0x00,0x0C,0x0C,0x00,0x00,0x0C,0x0C,0x00,
0x00,0x0C,0x0C,0x00,0x00,0x0C,0x0C,0x06,
0x18,0x0C,0x06,0x03,0x06,0x0C,0x18,0x00,
0x00,0x00,0x3F,0x00,0x00,0x3F,0x00,0x00,
0x06,0x0C,0x18,0x30,0x18,0x0C,0x06,0x00,
0x1E,0x33,0x30,0x18,0x0C,0x00,0x0C,0x00,
0x3E,0x63,0x7B,0x7B,0x7B,0x03,0x1E,0x00,
0x0C,0x1E,0x33,0x33,0x3F,0x33,0x33,0x00,
0x3F,0x66,0x66,0x3E,0x66,0x66,0x3F,0x00,
0x3C,0x66,0x03,0x03,0x03,0x66,0x3C,0x00,
0x1F,0x36,0x66,0x66,0x66,0x36,0x1F,0x00,
0x7F,0x46,0x16,0x1E,0x16,0x46,0x7F,0x00,
0x7F,0x46,0x16,0x1E,0x16,0x06,0x0F,0x00,
0x3C,0x66,0x03,0x03,0x73,0x66,0x7C,0x00,
0x33,0x33,0x33,0x3F,0x33,0x33,0x33,0x00,
0x1E,0x0C,0x0C,0x0C,0x0C,0x0C,0x1E,0x00,
0x78,0x30,0x30,0x30,0x33,0x33,0x1E,0x00,
0x67,0x66,0x36,0x1E,0x36,0x66,0x67,0x00,
0x0F,0x06,0x06,0x06,0x46,0x66,0x7F,0x00,
0x63,0x77,0x7F,0x7F,0x6B,0x63,0x63,0x00,
0x63,0x67,0x6F,0x7B,0x73,0x63,0x63,0x00,
0x1C,0x36,0x63,0x63,0x63,0x36,0x1C,0x00,
0x3F,0x66,0x66,0x3E,0x06,0x06,0x0F,0x00,
0x1E,0x33,0x33,0x33,0x3B,0x1E,0x38,0x00,
0x3F,0x66,0x66,0x3E,0x36,0x66,0x67,0x00,
0x1E,0x33,0x07,0x0E,0x38,0x33,0x1E,0x00,
0x3F,0x2D,0x0C,0x0C,0x0C,0x0C,0x1E,0x00,
0x33,0x33,0x33,0x33,0x33,0x33,0x3F,0x00,
0x33,0x33,0x33,0x33,0x33,0x1E,0x0C,0x00,
0x63,0x63,0x63,0x6B,0x7F,0x77,0x63,0x00,
0x63,0x63,0x36,0x1C,0x1C,0x36,0x63,0x00,
0x33,0x33,0x33,0x1E,0x0C,0x0C,0x1E,0x00,
0x7F,0x63,0x31,0x18,0x4C,0x66,0x7F,0x00,
0x1E,0x06,0x06,0x06,0x06,0x06,0x1E,0x00,
0x03,0x06,0x0C,0x18,0x30,0x60,0x40,0x00,
0x1E,0x18,0x18,0x18,0x18,0x18,0x1E,0x00,
0x08,0x1C,0x36,0x63,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,
0x0C,0x0C,0x18,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x1E,0x30,0x3E,0x33,0x6E,0x00,
0x07,0x06,0x06,0x3E,0x66,0x66,0x3B,0x00,
0x00,0x00,0x1E,0x33,0x03,0x33,0x1E,0x00,
0x38,0x30,0x30,0x3e,0x33,0x33,0x6E,0x00,
0x00,0x00,0x1E,0x33,0x3f,0x03,0x1E,0x00,
0x1C,0x36,0x06,0x0f,0x06,0x06,0x0F,0x00,
0x00,0x00,0x6E,0x33,0x33,0x3E,0x30,0x1F,
0x07,0x06,0x36,0x6E,0x66,0x66,0x67,0x00,
0x0C,0x00,0x0E,0x0C,0x0C,0x0C,0x1E,0x00,
0x30,0x00,0x30,0x30,0x30,0x33,0x33,0x1E,
0x07,0x06,0x66,0x36,0x1E,0x36,0x67,0x00,
0x0E,0x0C,0x0C,0x0C,0x0C,0x0C,0x1E,0x00,
0x00,0x00,0x33,0x7F,0x7F,0x6B,0x63,0x00,
0x00,0x00,0x1F,0x33,0x33,0x33,0x33,0x00,
0x00,0x00,0x1E,0x33,0x33,0x33,0x1E,0x00,
0x00,0x00,0x3B,0x66,0x66,0x3E,0x06,0x0F,
0x00,0x00,0x6E,0x33,0x33,0x3E,0x30,0x78,
0x00,0x00,0x3B,0x6E,0x66,0x06,0x0F,0x00,
0x00,0x00,0x3E,0x03,0x1E,0x30,0x1F,0x00,
0x08,0x0C,0x3E,0x0C,0x0C,0x2C,0x18,0x00,
0x00,0x00,0x33,0x33,0x33,0x33,0x6E,0x00,
0x00,0x00,0x33,0x33,0x33,0x1E,0x0C,0x00,
0x00,0x00,0x63,0x6B,0x7F,0x7F,0x36,0x00,
0x00,0x00,0x63,0x36,0x1C,0x36,0x63,0x00,
0x00,0x00,0x33,0x33,0x33,0x3E,0x30,0x1F,
0x00,0x00,0x3F,0x19,0x0C,0x26,0x3F,0x00,
0x38,0x0C,0x0C,0x07,0x0C,0x0C,0x38,0x00,
0x18,0x18,0x18,0x00,0x18,0x18,0x18,0x00,
0x07,0x0C,0x0C,0x38,0x0C,0x0C,0x07,0x00,
0x6E,0x3B,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
' />
					<value target='floatfixed' data='' />
					<value target='fixedexp' data='0' />
					<value target='EmbedIntoC' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='16760992' img='' style='0' />
		<camera xe='58.5526' ye='28.6748' ze='1366.67' xt='58.5526' yt='28.6748' 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='Demo' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='140' scrolly='0' flags='0' />
		<view type='0' name='Ev_Property' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='CopyTo' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='CopyFrom' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Shutdown' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='InitialiseLED' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='WriteData' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ScrollStr' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Pen' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='spiAll' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='spiTransfer' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Refresh' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetIntensity' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ClearDisplays' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Scroll' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DisplayStr' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DisplayDigit' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Plot' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='spiLine' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Invert' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAYgcAAMAEAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
