<root>
<document scada='0' schema='102' license='1,88374805,8U2W81' title='' description='' fcversion='590336' target='PIC.18F.18F2620' >
	<config data='!0,ffff!10,ffff!20,ffff!30,ffbf!40,ffff!50,ffff!60,ffff%8,f%e,1%f,1%10,1%11,3%13,3%18,1%19,f%28,1%29,1%2a,1%2f,1%30,1%32,1%36,0%37,1%40,1%41,1%42,1%43,1%4f,1%4e,1%50,1%51,1%52,1%53,1%5f,1%5e,1%5d,1%60,1%61,1%62,1%63,1%6e,1' clkspd='19660800' simspd='0' usewdt='0' constif='0' commport='10' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='Initialise.p' />
		<watch expr='Initialise.cmd' />
		<watch expr='Initialise.delay' />
		<watch expr='Initialise.i' />
		<watch expr='Initialise.n' />
		<watch expr='Initialise.nArgs' />
		<watch expr='Initialise.INIT' />
		<watch expr='Initialise.data' />
	</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='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='9' />
			<data name='CalculatedCommsDelay' value='9' />
			<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='c25860c3-0885-44c8-bcc9-16e2a842e82d' 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='width' target='width' typeid='21' hidden='0' locked='0' info='' />
				<property name='height' target='height' typeid='21' hidden='0' locked='0' info='' />
				<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='1' 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='1' 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='1' 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='1' 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='1' 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 name='DC / A0' target='a0' typeid='5' hidden='0' locked='0' info='' />
					<property name='Reset' target='reset' typeid='5' hidden='0' locked='0' info='' />
					<property name='LED' target='led' typeid='5' hidden='0' locked='0' info='' />
					<property name='CS' target='cs' typeid='5' hidden='0' locked='0' info='' />
				</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 name='Background' target='bg' typeid='1' hidden='0' locked='0' info='' />
					<property name='Foreground' target='fg' typeid='1' hidden='0' locked='0' info='' />
				</property>
			</properties>
			<values >
				<value target='width' data='128' />
				<value target='height' data='160' />
				<value target='cal_spi1::CHANNEL' data='001' />
				<value target='cal_spi1::MOSI' data='$PORTC.5' />
				<value target='cal_spi1::MOSIPins' data='008' />
				<value target='cal_spi1::MISO' data='$PORTC.4' />
				<value target='cal_spi1::MISOPins' data='013' />
				<value target='cal_spi1::CLK' data='$PORTC.3' />
				<value target='cal_spi1::CLKPins' data='004' />
				<value target='cal_spi1::UseAutoCS' data='0' />
				<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='a0' data='$PORTB.0' />
				<value target='reset' data='$PORTB.1' />
				<value target='led' data='$PORTC.6' />
				<value target='cs' data='$PORTB.2' />
				<value target='cal_spi1::Mode' data='000' />
				<value target='cal_spi1::PR_SCALE' data='004' />
				<value target='cal_spi1::CKE' data='000' />
				<value target='cal_spi1::CKP' data='001' />
				<value target='cal_spi1::SMP' data='000' />
				<value target='bg' data='0' />
				<value target='fg' data='10551295' />
			</values>
			<events />
			<apis />
			<variables >
				<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='background' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='foreground' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</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='Reset' description='Reset the display by pulsing the reset pin' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='TRESW' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='10' setinit='10' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='reset = 1' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='1' type='2' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='reset = 0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='4' type='0' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='reset = 1' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TRESW' type='0' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='reset = 0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.TRESW' type='0' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='reset = 1' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='1' type='2' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Clear' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='FillRect' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='width' />
							<argument exp='height' />
							<argument exp='background' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='FillRect' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='x' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='y' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='w' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='h' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='colour' type='u16' 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='temp' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.temp = foreground' />
							<exp exp='foreground = background' />
							<exp exp='' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' forvar='.i' exp='.h' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafeLine' >
									<argument exp='.x' />
									<argument exp='.w' />
									<argument exp='.y + .i' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='foreground = .temp' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SendCommand' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='cmd' 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='&quot;&quot;' setinit='' >
							<array size='256' />
						</param>
						<param name='length' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='c' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='1' />
						</local>
						<local name='i' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='a0 = 0' />
							<exp exp='cs = 0' />
						</command>
						<command class_type='call' title='Component Macro' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='cal_spi1' macro='Master_Byte' >
							<argument exp='.cmd' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.c[0] = .cmd' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='cal_spi1' macro='Master_Transaction' >
							<argument exp='.c' />
							<argument exp='1' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='a0 = 1' />
						</command>
						<command class_type='loop' title='Loop' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' forvar='.i' exp='.length' >
							<flowline >
								<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='cal_spi1' macro='Master_Byte' >
									<argument exp='.data[.i]' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='cs = 0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='cal_spi1' macro='Master_Transaction' >
							<argument exp='.data' />
							<argument exp='.length' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='cs = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetArea' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='x' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='y' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='width' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='height' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='4' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.data[0] = 0' />
							<exp exp='.data[1] = .x' />
							<exp exp='.data[2] = 0' />
							<exp exp='.data[3] = .x + .width - 1' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SendCommand' >
							<argument exp='0x2a' />
							<argument exp='.data' />
							<argument exp='4' />
						</command>
						<command class_type='calculation' title='Set height of region' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.data[0] = 0' />
							<exp exp='.data[1] = .y' />
							<exp exp='.data[2] = 0' />
							<exp exp='.data[3] = .y + .height - 1' />
							<exp exp='' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SendCommand' >
							<argument exp='0x2b' />
							<argument exp='.data' />
							<argument exp='4' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SendCommand' >
							<argument exp='0x2c' />
							<argument exp='.data' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Wheel' description='' statediag='0' >
						<return name='Return' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='pos' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.pos = 255 - .pos' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.pos &lt; 85' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.Return = Color565 (255 - .pos * 3,0, .pos * 3)' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.pos &lt; 170' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.pos = .pos - 85' />
											<exp exp='.Return = Color565 (0, .pos * 3,255 - .pos * 3)' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.pos = .pos - 170' />
											<exp exp='.Return = Color565 (.pos * 3,255 - .pos * 3,0)' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Color565' description='' statediag='0' >
						<return name='Return' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='r' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='g' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='b' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.Return = (.r &amp; 0xF8)' />
							<exp exp='.Return = (.Return &lt;&lt; 8) | ((.g &amp; 0xFC) &lt;&lt; 3) | (.b &gt;&gt; 3)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SendData' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='256' />
						</param>
						<param name='length' type='u16' description='Length of data to send' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='cs = 0' />
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='cal_spi1' macro='Master_Transaction' >
							<argument exp='.data' />
							<argument exp='.length' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='cs = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetOrientation' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='dir' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='d' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='1' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.d[0] = 0xC0' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SendCommand' >
							<argument exp='0x36' />
							<argument exp='.d' />
							<argument exp='1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Backlight' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='on' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='led = .on' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SafeLine' description='Draw a horizontal line clipped to the viewport if necessary' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='xs' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='w' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='y' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='256' />
						</local>
						<local name='i' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='lo' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='hi' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.xs &lt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.xs = 0' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.xs + .w &gt; width' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.w = width - .xs' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.y &lt; height) &amp;&amp; (.y &gt;= 0)' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.hi = foreground &gt;&gt; 8' />
									<exp exp='.lo = foreground' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' forvar='.i' exp='.w' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.data[.i * 2] = .hi' />
											<exp exp='.data[.i * 2 + 1] = .lo' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetArea' >
									<argument exp='.xs' />
									<argument exp='.y' />
									<argument exp='.w' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SendData' >
									<argument exp='.data' />
									<argument exp='.w * 2' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Print' description='Print a string' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='s' type='T8*' description='The string to display' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='x' type='u16' description='x address to display at' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='y' type='u16' description='y address to display at' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='xscale' type='u8' description='Multipliers for x and y' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='yscale' type='u8' description='Multipliers for x and y' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='drawbackground' type='b1' description='Set to true to draw the background as well as foreground' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='Loop counters' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='j' type='u8' description='Loop counters' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='mask' type='u8' description='Mask and pattern to write to buffer' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='c' type='u16' description='Current character' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='addr' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='dev' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='caddr' type='s16' description='Address of current character data' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='d' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='t' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='len' type='u8' description='Length of the string' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='xpos' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ypos' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='cwidth' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='cheight' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.len = Length$ (.s)' />
							<exp exp='.cwidth = 8 * .xscale' />
							<exp exp='.cheight = 8 * .yscale' />
							<exp exp='.xpos = .x' />
						</command>
						<command class_type='loop' title='For each character in string' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' forvar='.i' exp='.len' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.c = .s[.i]' />
									<exp exp='.caddr = (.c - 32) * 8' />
									<exp exp='.ypos = .y' />
								</command>
								<command class_type='loop' title='for each row of character' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' forvar='.t' exp='8' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.d = CharSet :: GetInt (.caddr + .t)' />
											<exp exp='.mask = 0x1' />
											<exp exp='' />
										</command>
										<command class_type='loop' title='For each col of character' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' forvar='.j' exp='8' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.d &amp; .mask' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafePlot' >
															<argument exp='.xpos' />
															<argument exp='.ypos' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.drawbackground' swap='0' >
															<flowline >
																<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafePlot' >
																	<argument exp='.xpos' />
																	<argument exp='.ypos' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
													<exp exp='.mask = .mask &lt;&lt; 1' />
													<exp exp='.xpos = .xpos + .xscale' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.ypos = .ypos + .yscale' />
											<exp exp='.xpos = .xpos - .cwidth' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.xpos = .xpos + .cwidth' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.xpos + .xscale &gt; width' swap='0' >
									<flowline >
										<command class_type='calculation' title='Move to next line' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.y = .y + .cheight + .yscale' />
											<exp exp='.xpos = .x' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Circle' description='Draw a circle in foreground colour or a filled disk' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='cx' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='cy' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='radius' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='filled' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='xchange' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ychange' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='x' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='y' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='radiusError' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='count' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.x = .radius' />
							<exp exp='.y = 0' />
							<exp exp='.radiusError = 0' />
							<exp exp='.xchange = 1 - 2 * .radius' />
							<exp exp='.ychange = 1' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='.x &gt;= .y' >
							<flowline >
								<command class_type='decision' title='Outline or solid?' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.filled' swap='0' >
									<flowline >
										<command class_type='call' title='Draw Line quads 5 and 8' ccode='// Name: li, Type: Call Macro: SafeLine(.lineStart, .lineEnd, .cy + y)
FCM_SafeLine(FCL_LINESTART, FCL_LINEEND, FCL_CY + FCV_Y);
' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafeLine' >
											<argument exp='.cx - .x' />
											<argument exp='.cx + .x' />
											<argument exp='.cy + .y' />
										</command>
										<command class_type='call' title='Draw Line quads 1 and 4' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafeLine' >
											<argument exp='.cx - .x' />
											<argument exp='.cx + .x' />
											<argument exp='.cy - .y' />
										</command>
										<command class_type='call' title='Draw line top two quads' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafeLine' >
											<argument exp='.cx - .y' />
											<argument exp='.cx +.y' />
											<argument exp='.cy - .x' />
										</command>
										<command class_type='call' title='Draw line bottom quads' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafeLine' >
											<argument exp='.cx - .y' />
											<argument exp='.cx +.y' />
											<argument exp='.cy + .x' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafePlot' >
											<argument exp='.cx + .x' />
											<argument exp='.cy + .y' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafePlot' >
											<argument exp='.cx - .x' />
											<argument exp='.cy + .y' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafePlot' >
											<argument exp='.cx - .x' />
											<argument exp='.cy - .y' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafePlot' >
											<argument exp='.cx + .x' />
											<argument exp='.cy - .y' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafePlot' >
											<argument exp='.cx + .y' />
											<argument exp='.cy + .x' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafePlot' >
											<argument exp='.cx - .y' />
											<argument exp='.cy + .x' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafePlot' >
											<argument exp='.cx - .y' />
											<argument exp='.cy - .x' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SafePlot' >
											<argument exp='.cx + .y' />
											<argument exp='.cy - .x' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.y = .y + 1' />
									<exp exp='.radiusError = .radiusError + .ychange' />
									<exp exp='.ychange = .ychange + 2' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='2 * .radiusError + .xchange &gt; 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.x = .x - 1' />
											<exp exp='.radiusError = .radiusError + .xchange' />
											<exp exp='.xchange = .xchange + 2' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SendWord' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='data' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='buf' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='2' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.buf[0] = .data &gt;&gt; 8' />
							<exp exp='.buf[1] = .data' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SendData' >
							<argument exp='.buf' />
							<argument exp='2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SafePlot' description='Plot a point - but check that it is on screen ' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='x' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='y' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='(.x &gt; 0) &amp; (.x &lt; width - 1) &amp; (.y &gt; 0) &amp; (.y &lt; height - 1)' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SetArea' >
									<argument exp='.x' />
									<argument exp='.y' />
									<argument exp='1' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SendWord' >
									<argument exp='foreground' />
								</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='data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='256' />
						</local>
						<local name='i' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='colour' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Backlight' >
							<argument exp='true' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Initialise' />
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Clear' />
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Print' >
							<argument exp='&quot;Hello world this is some test text to print - the print routine wraps it if it is too long - but doesn&apos;t scale yet - or do it intelligently?&quot;' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='1' />
							<argument exp='1' />
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='10' type='2' />
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='0' exp='256' >
							<flowline >
								<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Wheel' >
									<return exp='foreground' />
									<argument exp='Random()' />
								</command>
								<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Circle' >
									<argument exp='Random() % width' />
									<argument exp='Random() % height' />
									<argument exp='Random() % 100' />
									<argument exp='true' />
								</command>
								<command class_type='call' title='User Macro' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='FillRect' >
									<argument exp='Random() % (width - 1)' />
									<argument exp='Random() % (height - 1)' />
									<argument exp='Random () % 100' />
									<argument exp='Random() % 100' />
									<argument exp='.colour' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='User Macro' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Clear' />
						<command class_type='call' title='Component Macro' textarea='49,-25,49,-25' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='cal_spi1' macro='Master_Uninit' />
						<command class_type='output' title='Signal finish' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' mode='1' port='1048577' mask='32' exp='0' usechipref='0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Initialise' description='Initialise the ST7735 display' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='INIT' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='&quot;&quot;' setinit='{17, 1, 0x80, 50, 0x11, 0x80, 255, 0x3A, 0x81, 5, 10, 0xB1, 0x83, 0, 6, 3, 10, 0x36, 1, 8, 0xB6, 2, 0x15, 2, 0xB4, 1, 0, 0xC0,  0x82, 2, 0x70, 10, 0xC1, 1, 5,0xC2, 2, 1, 2, 0xC5, 0x82, 0x3c, 0x38, 10, 0xFC, 2, 0x11, 0x15, 0x2A, 4, 0, 2, 0, 0x81, 0x2b, 4, 0,2, 0, 0xa0, 0x13, 0x80, 10, 0x29, 0x80, 255, 0x36, 1, 0xc0}' >
							<array size='100' />
						</local>
						<local name='n' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='cmd' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='nArgs' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='delay' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='10' />
						</local>
						<local name='p' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' component='cal_spi1' macro='Master_Init' />
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
						<command class_type='call' title='Not needed if reset connected to VCC or Reset pin on arduino' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='Reset' />
						<command class_type='calculation' title='Use lookup table - this doesn&apos;t seem to work in simulation' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.n = .INIT[.i]' />
							<exp exp='.i = .i + 1' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.n = init :: GetInt (.i)' />
							<exp exp='.i = .i + 1' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' exp='.n' >
							<flowline >
								<command class_type='calculation' title='Calculation' disable='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.cmd = .INIT[.i]' />
									<exp exp='.nArgs = .INIT[.i + 1]' />
									<exp exp='.delay = .nArgs &amp; 0x80' />
									<exp exp='.nArgs = .nArgs &amp; 0x7f' />
									<exp exp='.i = .i + 2' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
									<exp exp='.cmd = init :: GetInt (.i)' />
									<exp exp='.nArgs = init :: GetInt (.i + 1)' />
									<exp exp='.delay = .nArgs &amp; 0x80' />
									<exp exp='.nArgs = .nArgs &amp; 0x7f' />
									<exp exp='.i = .i + 2' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' type='2' forvar='.p' exp='.nArgs' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.data[.p] = init :: GetInt (.i)' />
											<exp exp='.i = .i + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='User Macro' break='1' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SendCommand' >
									<argument exp='.cmd' />
									<argument exp='.data' />
									<argument exp='.nArgs' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.delay' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
											<exp exp='.delay = init :: GetInt (.i)' />
											<exp exp='.i = .i + 1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.delay = 255' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
													<exp exp='.delay = 500' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='.delay' type='1' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='.data[0] = 0xC0' />
						</command>
						<command class_type='call' title='User Macro' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' macro='SendCommand' >
							<argument exp='0x36' />
							<argument exp='.data' />
							<argument exp='1' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' >
							<exp exp='background = bg' />
							<exp exp='foreground = fg' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='5767111' cmdcolor_sec='5767111' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='0.01' exp='100' type='1' />
					</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='001' />
					<value target='MOSI' data='$PORTC.5' />
					<value target='MOSIPins' data='008' />
					<value target='MISO' data='$PORTC.4' />
					<value target='MISOPins' data='013' />
					<value target='CLK' data='$PORTC.3' />
					<value target='CLKPins' data='004' />
					<value target='UseAutoCS' data='0' />
					<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='004' />
					<value target='CKE' data='000' />
					<value target='CKP' data='001' />
					<value target='SMP' data='000' />
					<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='1' />
					<value target='MOSI_PORT' data='$PORTC.5' />
					<value target='MOSI_TRIS' data='$PORTC.5' />
					<value target='MOSI_PIN' data='5' />
					<value target='MISO_PORT' data='$PORTC.4' />
					<value target='MISO_TRIS' data='$PORTC.4' />
					<value target='MISO_PIN' data='4' />
					<value target='SCK_PORT' data='$PORTC.3' />
					<value target='SCK_TRIS' data='$PORTC.3' />
					<value target='SCK_PIN' data='3' />
					<value target='SS_PORT' data='$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='0' />
					<value target='ClockSpeed' data='19660800' />
					<value target='MasterDivider' data='4' />
					<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='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='7' vmaj='1' codename='init' x='0' y='0' z='3.1117' 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='StorageType' data='000' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='21,
1, 0x80, 150, 
0x11, 0x80, 255, 
0xB1, 3, 1, 0x2c, 0x2d, 
0xB2, 3, 1, 0x2c, 0x2d,
0xB3, 6, 1, 0x2c, 0x2d, 1, 0x2c, 0x2d, 
0xB4, 1, 7, 
0xC0, 3, 0xa2, 2, 0x84, 
0xC1, 1, 0xc5,
0xC2, 2, 0x0A, 0, 
0xC3, 2, 0x8a, 0x2a,
0xc4, 2, 0x8a, 0xee,
0xC5, 1, 0x0e, 
0x20, 0,
0x36, 1, 0xc8,
0x3A, 1, 5,
0x2A, 4, 0, 0, 0, 0x7f, 
0x2b, 4, 0, 0, 0, 0x9f,
0xE0, 16, 2, 0x1c, 7, 0x12, 0x37, 0x32, 0x29, 0x2d, 0x29, 0x25, 0x2b, 0x39, 0, 1,3, 0x10,
0xE1, 16, 3, 0x1d, 7, 6, 0x2e, 0x2c, 0x29, 0x2d, 0x2e, 0x2e, 0x37, 0x3f, 0, 0, 2, 0x10, 
0x13, 0x80, 10, 
0x29, 0x80, 100' />
					<value target='floatfixed' data='' />
					<value target='NumVals' data='113' />
					<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='7' vmaj='1' codename='CharSet' x='0' y='0' z='1.0205' 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='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='NumVals' data='768' />
					<value target='fixedexp' data='0' />
					<value target='EmbedIntoC' data='1' />
				</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='-6.21626' ye='-16.7601' ze='183.018' xt='-6.21626' yt='-16.7601' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='374' dy='632' zoom='247.265' 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---------------------wUAAAAYAAAArwMAAPACAAA' zoom='65' scrollx='0' scrolly='30' flags='0' />
		<view type='0' name='Reset' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Initialise' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='70' scrollx='0' scrolly='594' flags='0' />
		<view type='0' name='Backlight' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SendData' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SendCommand' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetArea' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetOrientation' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='100' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Clear' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='FillRect' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SendWord' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Wheel' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='75' scrollx='238' scrolly='0' flags='0' />
		<view type='0' name='Color565' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SafeLine' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='75' scrollx='0' scrolly='368' flags='0' />
		<view type='0' name='SafePlot' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Circle' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='75' scrollx='0' scrolly='252' flags='0' />
		<view type='0' name='Print' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAArwMAAPACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
