<root>
<document schema='101' license='1,johnsondav,XV7FT4' title='' description='' target='PIC.18F.18F4550' >
	<config data='!0,fcff!10,feff!20,ffff!30,ff9b!40,ffff!50,ffff!60,ffff%5,1%3,3%0,7%8,c%e,1%f,1%15,1%10,1%11,3%13,3%18,0%19,f%28,1%29,1%2a,1%2f,1%30,1%32,0%35,0%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='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='19' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='9' />
			<data name='CalculatedCommsDelay' value='9' />
		</ICD>
		<pins >
			<digital A='32' B='3' C='128' 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='f3d000a5-d004-4d0e-b281-3da89a587eae' vstate='30' vmin='0' vmaj='1' srcleaf='Base_gLCD.fcfx' visiblename='gLCD' description='' category='Displays: Graphical' catenable='1' author='Dave Johnson' manuname='' manucode='ILI9361' sysinfo='1053483' keywords='' dynamic='1' iconpath='C:\Program Files (x86)\Flowcode 7\components\catimgs\Tools.png' />
		<component class_type='root' codename='GLCD_128160' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties >
				<property name='Channels' target='CHANNEL' typeid='16' hidden='0' locked='0' info='' filter='000Software
001Channel 1
' />
				<property name='MOSI' target='MOSI' typeid='5' hidden='0' locked='1' info='' />
				<property name='CLK' target='CLK' typeid='5' hidden='0' locked='1' info='' />
				<property name='Reset' target='reset_pin' typeid='5' hidden='0' locked='0' info='' />
				<property name='a0' target='a0_pin' typeid='5' hidden='0' locked='0' info='' />
				<property name='CS' target='chip_sel_pin' typeid='5' hidden='0' locked='0' info='' />
				<property name='LED' target='led_pin' typeid='5' hidden='0' locked='0' info='' />
				<property name='Dimensions' folder='property_2' hidden='0' >
					<property name='Pixel Width' target='pixel_width' typeid='21' hidden='0' locked='0' info='' />
					<property name='Pixel Height' target='pixel_height' typeid='21' hidden='0' locked='0' info='' />
					<property name='Colour' folder='property_3' hidden='0' >
						<property name='monochrome' target='monochrome' typeid='7' hidden='0' locked='0' info='' />
						<property name='Background Colour' target='background_colour' typeid='1' hidden='0' locked='0' info='' />
						<property name='Foreground Colour' target='foreground_colour' typeid='1' hidden='0' locked='0' info='' />
						<property name='Bit Depth' folder='property_4' hidden='0' >
							<property name='Green Bit Depth' target='green_bit_depth' typeid='21' hidden='0' locked='0' info='' />
							<property name='Red Bit Depth' target='red_bit_depth' typeid='21' hidden='0' locked='0' info='' />
							<property name='Colour Bit Depth' target='colour_bit_depth' typeid='14' hidden='0' locked='0' info='' />
							<property name='Blue Bit Depth' target='blue_bit_depth' typeid='21' hidden='0' locked='0' info='' />
						</property>
					</property>
					<property name='Simulation Mode' folder='property_1' hidden='0' layout='' >
						<property name='Display Method' target='displaymethod' typeid='16' hidden='0' locked='0' info='' filter='000Bitmap
000Point Cloud' expansion='$(type)_$(module)__$(variable:u)' initialiser='($(value))' />
						<property name='Embed Font Set' target='EmbedFontSet' typeid='7' hidden='0' locked='0' info='' />
					</property>
				</property>
			</properties>
			<values >
				<value target='CHANNEL' data='001' />
				<value target='MOSI' data='$PORTC.7' />
				<value target='CLK' data='$PORTB.1' />
				<value target='reset_pin' data='$PORTD.0' />
				<value target='a0_pin' data='$PORTD.1' />
				<value target='chip_sel_pin' data='$PORTD.2' />
				<value target='led_pin' data='$PORTB.7' />
				<value target='pixel_width' data='128' />
				<value target='pixel_height' data='160' />
				<value target='monochrome' data='' />
				<value target='background_colour' data='16777215' />
				<value target='foreground_colour' data='0' />
				<value target='green_bit_depth' data='5' />
				<value target='red_bit_depth' data='5' />
				<value target='colour_bit_depth' data='8' />
				<value target='blue_bit_depth' data='5' />
				<value target='displaymethod' data='000' />
				<value target='EmbedFontSet' data='1' />
			</values>
			<events >
				<event class='Simulation' event='Start' target='Ev_Property' />
				<event class='Components' event='Initialise' target='Ev_Property' />
				<event class='Components' event='Property' target='Ev_Property' />
			</events>
			<apis >
				<api name='ClearSim' alt='' type='4' proto='1' />
				<api name='BacklightOn' alt='BacklightOn' type='1' proto='1' />
				<api name='Raw_OpenWindow' alt='$(type)_$(module)__$(macro)' type='4' proto='1' />
				<api name='Raw_GetForegroundColour' alt='$(type)_$(module)__$(macro)' type='4' proto='1' />
				<api name='PrintNumber' alt='PrintNumber' type='1' proto='1' />
				<api name='DrawLine' alt='DrawLine' type='1' proto='1' />
				<api name='PrintNumber_Sim' alt='' type='4' proto='1' />
				<api name='Plot' alt='Plot' type='1' proto='1' />
				<api name='PlotSim' alt='' type='4' proto='1' />
				<api name='InitSim' alt='' type='4' proto='1' />
				<api name='SendByte' alt='SendByte' type='1' proto='1' />
				<api name='SetBGColourSim' alt='SetBGColourSim' type='1' proto='1' />
				<api name='DrawLine_Sim' alt='' type='4' proto='1' />
				<api name='SetDisplayOrientation' alt='SetDisplayOrientation' type='1' proto='1' />
				<api name='Ev_Property' alt='$(type)_$(module)__$(macro)' type='4' proto='1' />
				<api name='BacklightOff' alt='BacklightOff' type='1' proto='1' />
				<api name='Bplot' alt='Bplot' type='1' proto='1' />
				<api name='SetFGColourSim' alt='$(type)_$(module)__$(macro)' type='4' proto='1' />
				<api name='DrawRectangleSim' alt='' type='4' proto='1' />
				<api name='Raw_WriteColour' alt='$(type)_$(module)__$(macro)' type='4' proto='1' />
				<api name='Print' alt='Print' type='1' proto='1' />
				<api name='PrintSim' alt='' type='4' proto='1' />
				<api name='SetBackgroundColour' alt='SetBackgroundColour' type='1' proto='1' />
				<api name='ClearDisplay' alt='ClearDisplay' type='1' proto='1' />
				<api name='ReadASCIILUT' alt='' type='4' proto='1' />
				<api name='SetForegroundColour' alt='SetForegroundColour' type='1' proto='1' />
				<api name='Raw_GetBackgroundColour' alt='$(type)_$(module)__$(macro)' type='4' proto='1' />
				<api name='DrawRectangle' alt='DrawRectangle' type='1' proto='1' />
				<api name='Initialise' alt='Initialise' type='1' proto='1' />
			</apis>
			<variables >
				<variable public='0' >
					<def class_type='variable' name='background_col_var' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='foreground_col_var' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='command' type='s16' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Orientation' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tret' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tyty' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro keep='1' >
					<flowline name='ClearSim' description='' >
						<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='Base_GLCD' macro='ClearDisplay' />
					</flowline>
				</macro>
				<macro >
					<flowline name='BacklightOn' description='Sets the backlight enable pin allowing the display backlight to switch on.
Switching the backlight on and off at high speed allow the light to be dimmed.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='led_pin = 1' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='Raw_OpenWindow' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='X2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x2A' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='.X1 &gt;&gt;8' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='.X1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='.X2 &gt;&gt;8' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='.X2' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x2B' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='.Y1 &gt;&gt;8' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='.Y1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='.Y2 &gt;&gt;8' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='.Y2' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x2C' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='Raw_GetForegroundColour' description='' >
						<return name='Return' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Return = foreground_col_var' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintNumber' description='This macro prints a decimal number to the Graphical LCD.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Number' type='s16' description='Byte or Integer number to send to the display.' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='X' type='u16' description='X pixel coordinate to set the output string position.' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u16' description='Y pixel coordinate to set the output string position.' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Font' type='u8' description='Size of the font - 0 = Normal, 1 = Double Width, 2 = Double Width and Height, 3 = Double Height' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='Specifies if the background of the text is drawn - 0 = Background colour is drawn, 1 = Background colour not drawn.' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='8' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.temp = ToString$ (.Number)' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Print' >
							<argument exp='.temp' />
							<argument exp='.X' />
							<argument exp='.Y' />
							<argument exp='.Font' />
							<argument exp='.Transparent' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DrawLine' description='Draws a line with the current foreground colour from pixel location X1, Y1 to pixel location X2, Y2.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='X2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='C1' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='M1' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='D1' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='PixelX' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='PixelY' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Yinc' type='s16' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<local name='Xinc' type='s16' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.PixelX = .X2 - .X1' />
							<exp exp='.PixelY = .Y2 - .Y1' />
						</command>
						<command class_type='decision' title='If negative X direction' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.PixelX &lt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.Xinc = -1' />
									<exp exp='.PixelX = .PixelX * -1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='If negative Y direction' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.PixelY &lt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.Yinc = -1' />
									<exp exp='.PixelY = .PixelY * -1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.PixelY &lt;= .PixelX' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.C1 = 2 * .PixelX' />
									<exp exp='.M1 = 2 * .PixelY' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.X1 != .X2' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
											<argument exp='.X1' />
											<argument exp='.Y1' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.X1 = .X1 + .Xinc' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.D1 = .D1 + .M1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.D1 &gt; .PixelX' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.Y1 = .Y1 + .Yinc' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.D1 = .D1 - .C1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.C1 = 2 * .PixelY' />
									<exp exp='.M1 = 2 * .PixelX' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.Y1 != .Y2' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
											<argument exp='.X1' />
											<argument exp='.Y1' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.Y1 = .Y1 + .Yinc' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.D1 = .D1 + .M1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.D1 &gt; .PixelY' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.X1 = .X1 + .Xinc' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.D1 = .D1 - .C1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='PrintNumber_Sim' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Number' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='X' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Font' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='6' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.temp = ToString$ (.Number)' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='PrintSim' >
							<argument exp='.temp' />
							<argument exp='.X' />
							<argument exp='.Y' />
							<argument exp='.Font' />
							<argument exp='.Transparent' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Plot' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='u16' 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='0' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='.temp = pixel_width - .Y1' />
										<exp exp='.Y1 = .X1' />
										<exp exp='.X1 = .temp' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='.X1 = pixel_width - .X1' />
										<exp exp='.Y1 = pixel_height - .Y1' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='.temp = .Y1' />
										<exp exp='.Y1 = pixel_height - .X1' />
										<exp exp='.X1 = .temp' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Raw_OpenWindow' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='foreground_col_var &gt;&gt;8' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='foreground_col_var' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='PlotSim' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='Base_GLCD' macro='Plot' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='InitSim' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' ccode='// Call Component Macro
// Call Component Macro: Base_GLCD::Initialise()
FCD_0ba71_Base_GLCD1::Initialise */;
' cmdcolor='1975743' cmdcolor_sec='1975743' component='Base_GLCD' macro='Initialise' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='foreground_col_var = foreground_colour' />
							<exp exp='background_col_var = background_colour' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='SendByte' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Command' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='LCD_Out' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='tmp' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='CHANNEL = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Select Display' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='chip_sel_pin = 0' />
								</command>
								<command class_type='calculation' title='Command' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='a0_pin = .Command' />
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='Master_Byte' >
									<argument exp='.LCD_Out' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='chip_sel_pin = 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='chip_sel_pin = 0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='a0_pin = Command' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='8' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='CLK = 0' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.LCD_Out &amp; 0x80' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='MOSI = 1' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='MOSI = 0' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='CLK = 1' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.LCD_Out = .LCD_Out &lt;&lt; 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='chip_sel_pin = 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='DrawLine_Sim' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='X2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='C1' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='M1' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='D1' type='s16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='PixelX' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='PixelY' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Yinc' type='s16' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<local name='Xinc' type='s16' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='Base_GLCD' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='SetBGColourSim' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Red' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Green' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Blue' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='colour' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='Base_GLCD' macro='SetBackgroundColour' >
							<argument exp='.Red' />
							<argument exp='.Green' />
							<argument exp='.Blue' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetDisplayOrientation' description='Controls the way data is printed out on the display allowing multiple different viewing orientations. Default is 0.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Orientation' type='u8' description='0=Default, 1=90°CW, 2=180°CW, 3=270°CW' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Orientation = .Orientation' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<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' 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='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.SetWritable' >
									<argument exp='this' />
									<argument exp='&quot;MOSI&quot;' />
									<argument exp='1' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.SetWritable' >
									<argument exp='this' />
									<argument exp='&quot;CLK&quot;' />
									<argument exp='1' />
								</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;MOSI&quot;' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='SetValue' >
									<argument exp='&quot;MOSI&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;CLK&quot;' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='SetValue' >
									<argument exp='&quot;CLK&quot;' />
									<argument exp='.tempstring' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.SetWritable' >
									<argument exp='this' />
									<argument exp='&quot;MOSI&quot;' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.SetWritable' >
									<argument exp='this' />
									<argument exp='&quot;CLK&quot;' />
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='GetValue' >
									<return exp='.tempstring' />
									<argument exp='&quot;MOSI&quot;' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.SetValue' >
									<argument exp='this' />
									<argument exp='&quot;MOSI&quot;' />
									<argument exp='.tempstring' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' component='cal_spi1' macro='GetValue' >
									<return exp='.tempstring' />
									<argument exp='&quot;CLK&quot;' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.SetValue' >
									<argument exp='this' />
									<argument exp='&quot;CLK&quot;' />
									<argument exp='.tempstring' />
								</command>
							</flowline>
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.GetListItem' >
							<argument exp='this' />
							<argument exp='&quot;Base_GLCD&quot;' />
							<argument exp='&quot;displaymethod&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='&quot;Base_GLCD&quot;' />
							<argument exp='&quot;pixel_height&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='&quot;Base_GLCD&quot;' />
							<argument exp='&quot;pixel_width&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='&quot;Base_GLCD&quot;' />
							<argument exp='&quot;monochrome&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='&quot;Base_GLCD&quot;' />
							<argument exp='&quot;foreground_colour&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='&quot;Base_GLCD&quot;' />
							<argument exp='&quot;background_colour&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='&quot;Base_GLCD&quot;' />
							<argument exp='&quot;colour_bit_depth&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='&quot;Base_GLCD&quot;' />
							<argument exp='&quot;red_bit_depth&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='&quot;Base_GLCD&quot;' />
							<argument exp='&quot;green_bit_depth&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='&quot;Base_GLCD&quot;' />
							<argument exp='&quot;blue_bit_depth&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='BacklightOff' description='Clears the backlight enable pin allowing the display backlight to switch off.
Switching the backlight on and off at high speed allow the light to be dimmed.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='led_pin = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Bplot' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='u16' 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='0' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='.temp = pixel_width - .Y1' />
										<exp exp='.Y1 = .X1' />
										<exp exp='.X1 = .temp' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='.X1 = pixel_width - .X1' />
										<exp exp='.Y1 = pixel_height - .Y1' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='.temp = .Y1' />
										<exp exp='.Y1 = pixel_height - .X1' />
										<exp exp='.X1 = .temp' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Raw_OpenWindow' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='background_col_var &gt;&gt;8' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='background_col_var' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='SetFGColourSim' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Red' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Green' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Blue' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='colour' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='Base_GLCD' macro='SetForegroundColour' >
							<argument exp='.Red' />
							<argument exp='.Green' />
							<argument exp='.Blue' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='DrawRectangleSim' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='X2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Solid' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Xmin' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Xmax' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Ymin' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Ymax' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='Base_GLCD' macro='DrawRectangle' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
							<argument exp='.Transparent' />
							<argument exp='.Solid' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='Raw_WriteColour' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Col' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='Parameter' />
							<argument exp='.Col &gt;&gt; 8' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='Parameter' />
							<argument exp='.Col' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='Print' description='This macro prints a string of characters to the Graphical LCD.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Str' type='T8*' description='String of characters to send to the display.' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='X1' type='u16' description='X pixel coordinate to set the output string position.' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='Y pixel coordinate to set the output string position.' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Font' type='u8' description='Size of the font - 0 = Normal, 1 = Double Width, 2 = Double Width and Height, 3 = Double Height' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='Specifies if the background of the text is drawn - 0 = Background colour is drawn, 1 = Background colour not drawn.' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='xpix' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ypix' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='pos_str' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='len_str' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='xcount' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ycount' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='height' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='width' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idx' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='font_width' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<local name='font_height' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<local name='position' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='6' />
						</local>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.Font' >
							<case >
								<flowline >
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='.font_width = 2' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='.font_width = 2' />
										<exp exp='.font_height = 2' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='1' />
									<command class_type='block' title='' hide='1' cmdcolor='1975743' cmdcolor_sec='1975743' start='0' />
									<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
										<exp exp='.font_height = 2' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.xcount = 0' />
							<exp exp='.idx = 0' />
							<exp exp='.temp[5] = 0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.len_str = Length$ (.Str)' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.idx &lt; .len_str' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.pos_str = .Str[.idx] - 32' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.count = 0' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.count &lt; 5' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='Base_GLCD' macro='ReadASCIILUT' >
											<return exp='.temp[.count]' />
											<argument exp='.pos_str' />
											<argument exp='.count' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.count = .count + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.temp[.count] = 0' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.xpix = 0' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.xpix &lt; 6' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.width = 0' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.width &lt; .font_width' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.ycount = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.ypix = 0' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.ypix &lt; 8' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='.height = 0' />
														</command>
														<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.height &lt; .font_height' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.temp[.xpix] &amp; (0x01 &lt;&lt; .ypix)' swap='0' >
																	<flowline >
																		<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
																			<argument exp='.X1 + .xcount' />
																			<argument exp='.Y1 + .ycount' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.Transparent = 0' swap='0' >
																			<flowline >
																				<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='BPlot' >
																					<argument exp='.X1 + .xcount' />
																					<argument exp='.Y1 + .ycount' />
																				</command>
																			</flowline>
																			<flowline />
																		</command>
																	</flowline>
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																	<exp exp='.height = .height + 1' />
																	<exp exp='.ycount = .ycount + 1' />
																</command>
															</flowline>
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='.ypix = .ypix + 1' />
															<exp exp='' />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.width = .width + 1' />
													<exp exp='.xcount = .xcount + 1' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.xpix = .xpix + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.idx = .idx + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='PrintSim' description='' >
						<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='X1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Font' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='xpix' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ypix' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='pos_str' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='len_str' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='xcount' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ycount' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='height' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='width' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idx' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='font_width' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<local name='font_height' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<local name='position' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='6' />
						</local>
						<local name='temp2' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='6' />
						</local>
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='Base_GLCD' macro='Print' >
							<argument exp='.Str' />
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.Font' />
							<argument exp='.Transparent' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ClearDisplay' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='X' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Y' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Raw_OpenWindow' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='pixel_width - 1' />
							<argument exp='pixel_height - 1' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.Y &lt; pixel_height' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.X = 0' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.X &lt; pixel_width' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
											<argument exp='parameter' />
											<argument exp='background_col_var&gt;&gt;8' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
											<argument exp='parameter' />
											<argument exp='background_col_var' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.X = .X + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.Y = .Y + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetBackgroundColour' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Red' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Green' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Blue' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Red = .Red &gt;&gt; (8 - red_bit_depth)' />
							<exp exp='.Green = .Green &gt;&gt; (8 - green_bit_depth)' />
							<exp exp='.Blue = .Blue &gt;&gt; (8 - blue_bit_depth)' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='background_col_var = .Blue | (.Green &lt;&lt; blue_bit_depth)' />
							<exp exp='background_col_var = background_col_var | (.Red &lt;&lt; (green_bit_depth + blue_bit_depth))' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='ReadASCIILUT' description='Gets a byte of the embedded ASCII font data.' >
						<return name='Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='pos_str' type='u8' description='ASCII position -32 so A = &apos;A&apos; - 32 = 33' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='count' type='u8' description='Font column Ranging 0-4' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='ReadASCIILUT' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Return = Base_GLCD :: ReadASCIILUT (.pos_str, .count)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetForegroundColour' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='Red' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Green' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Blue' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Red = .Red &gt;&gt; (8 - red_bit_depth)' />
							<exp exp='.Green = .Green &gt;&gt; (8 - green_bit_depth)' />
							<exp exp='.Blue = .Blue &gt;&gt; (8 - blue_bit_depth)' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='foreground_col_var = .Blue | (.Green &lt;&lt; blue_bit_depth)' />
							<exp exp='foreground_col_var = foreground_col_var | (.Red &lt;&lt; (green_bit_depth + blue_bit_depth))' />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='Raw_GetBackgroundColour' description='' >
						<return name='Return' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Return = background_col_var' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DrawRectangle' description='Draws a rectangle with the current foreground colour from pixel loaction X1, Y1 to pixel location X2, Y2' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='X2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y2' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='Chooses the transparency of the box - 0 = Box contains background colour, 1 = Box contains previous pixel data.' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Solid' type='u8' description='Chooses to fill the box with colour - 0 = Box contains transparency data, 1 = Box contains foreground colour.' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Xmin' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Xmax' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Ymin' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Ymax' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DrawLine' >
							<argument exp='.X2' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y2' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X1' />
							<argument exp='.Y2' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.Transparent = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.X1 &gt; .X2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.Xmax = .X1' />
											<exp exp='.Xmin = .X2 + 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.Xmax = .X2' />
											<exp exp='.Xmin = .X1 + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.Y1 &gt; .Y2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.Ymax = .Y1' />
											<exp exp='.Ymin = .Y2 + 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.Ymax = .Y2' />
											<exp exp='.Ymin = .Y1 + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.Y1 = .Ymin' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.Y1 &lt; .YMax' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.X1 = .Xmin' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.X1 &lt; .XMax' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.Solid' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Plot' >
															<argument exp='.X1' />
															<argument exp='.Y1' />
														</command>
													</flowline>
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='BPlot' >
															<argument exp='.X1' />
															<argument exp='.Y1' />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.X1 = .X1 + 1' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.Y1 = .Y1 + 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Ev_Property' />
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='Initialise' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='Red' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Green' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Blue' type='u8' description='' isconst='0' isinit='0' usrinit='0' 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='reset_pin = 1' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='2' type='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='reset_pin = 0' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='20' type='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='a0_pin = 0' />
							<exp exp='chip_sel_pin = 1' />
							<exp exp='MOSI = 1' />
							<exp exp='CLK = 1' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='120' type='1' />
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x11' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='20' type='1' />
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x26' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x04' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0xB1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x10' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x14' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0xC0' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x10' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0xC1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x02' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0xc5' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x31' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x4F' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0xC7' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0xBB' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0xEC' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x0C' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x3A' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x05' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x2A' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x7F' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x2B' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x9F' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x36' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0xC0' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0xB7' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0xF2' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x01' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0xE0' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x3F' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x20' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x1D' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x24' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x1D' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x0D' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x45' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0xBA' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x30' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x17' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x0F' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x08' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x04' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x02' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0xE1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x1F' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x22' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x0C' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x12' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x12' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x3A' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x45' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x4E' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x08' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x20' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x27' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x3C' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x3D' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='parameter' />
							<argument exp='0x3F' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x29' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='SendByte' >
							<argument exp='command' />
							<argument exp='0x2C' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Red = foreground_colour &amp; 0xFF' />
							<exp exp='.Red = .Red &gt;&gt; (8 - blue_bit_depth)' />
							<exp exp='' />
							<exp exp='.Green = (foreground_colour &gt;&gt; 8) &amp; 0xFF' />
							<exp exp='.Green = .Green &gt;&gt; (8 - green_bit_depth)' />
							<exp exp='' />
							<exp exp='.Blue = (foreground_colour &gt;&gt; 16) &amp; 0xFF' />
							<exp exp='.Blue = .Blue &gt;&gt; (8 - red_bit_depth)' />
							<exp exp='' />
							<exp exp='foreground_col_var = .Blue | (.Green &lt;&lt; green_bit_depth)' />
							<exp exp='foreground_col_var = foreground_col_var | (.Red &lt;&lt; (blue_bit_depth + green_bit_depth))' />
							<exp exp='' />
							<exp exp='.Red = background_colour &amp; 0xFF' />
							<exp exp='.Red = .Red &gt;&gt; (8 - red_bit_depth)' />
							<exp exp='' />
							<exp exp='.Green = (background_colour &gt;&gt; 8) &amp; 0xFF' />
							<exp exp='.Green = .Green &gt;&gt; (8 - green_bit_depth)' />
							<exp exp='' />
							<exp exp='.Blue = (background_colour &gt;&gt; 16) &amp; 0xFF' />
							<exp exp='.Blue = .Blue &gt;&gt; (8 - blue_bit_depth)' />
							<exp exp='' />
							<exp exp='background_col_var = .Blue | (.Green &lt;&lt; blue_bit_depth)' />
							<exp exp='background_col_var = background_col_var | (.Red &lt;&lt; (blue_bit_depth + green_bit_depth))' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ClearDisplay' />
					</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='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='ENABLED' data='1' />
					<value target='REF' data='1' />
					<value target='CHANNEL' data='001' />
					<value target='MOSI' data='$PORTC.7' />
					<value target='MOSIPins' data='008' />
					<value target='MISO' data='$PORTB.0' />
					<value target='MISOPins' data='013' />
					<value target='CLK' data='$PORTB.1' />
					<value target='CLKPins' data='004' />
					<value target='SS' data='$PORTA.5' />
					<value target='PR_SCALE' data='004' />
					<value target='BMODE' data='2' />
					<value target='CKP' data='000' />
					<value target='CKE' data='001' />
					<value target='SMP' data='000' />
					<value target='MOSI_PORT' data='$PORTC.7' />
					<value target='MOSI_TRIS' data='$PORTC.7' />
					<value target='MOSI_PIN' data='7' />
					<value target='MISO_PORT' data='$PORTB.0' />
					<value target='MISO_TRIS' data='$PORTB.0' />
					<value target='MISO_PIN' data='0' />
					<value target='SCK_PORT' data='$PORTB.1' />
					<value target='SCK_TRIS' data='$PORTB.1' />
					<value target='SCK_PIN' data='1' />
					<value target='SS_PORT' data='$PORTA.5' />
					<value target='SS_TRIS' data='$PORTA.5' />
					<value target='SS_PIN' data='5' />
					<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='4384cba9-0bea-4359-8c5b-dcd046aa7778' vmin='5' vmaj='1' codename='Base_GLCD' x='0' y='0' z='0' xsz='0.5' ysz='0.5' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_height' data='160' />
					<value target='pixel_width' data='128' />
					<value target='monochrome' data='' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='colour_bit_depth' data='8' />
					<value target='red_bit_depth' data='5' />
					<value target='green_bit_depth' data='5' />
					<value target='blue_bit_depth' data='5' />
					<value target='DisplayMethod' data='000' />
					<value target='EmbedFontSet' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='0' brightness='256' perspective='0' >
		<background rgb='128' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='-21.8806' ye='-3.97368' ze='245.987' xt='-21.8806' yt='-3.97368' 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='Initialise' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='5375' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='InitSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Property' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ClearSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetBGColourSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetFGColourSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='BacklightOff' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='BacklightOn' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrintNumber' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_GetForegroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_WriteColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetDisplayOrientation' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetForegroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawLine' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawRectangle' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ReadASCIILUT' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Plot' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Bplot' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SendByte' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_GetBackgroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetBackgroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawRectangleSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawLine_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrintNumber_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_OpenWindow' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PlotSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Print' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrintSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ClearDisplay' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAVwMAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
