<root>
<document schema='101' license='50,Dev User,XDKHX7' title='' description='' target='PIC.16F.16F877A' >
	<config data='!0,3f72%0,2%2,0%3,0%6,1%7,0%9,3%b,1%8,1%d,1' clkspd='19660800' simspd='0' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='1000' />
			<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='monitor' value='1' />
			<data name='ictloop' value='1' />
			<data name='ictrate' value='1000' />
			<data name='ictmask' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='#define FCD FCV' body='' />
	<debug >
		<watch expr='.idx' />
		<watch expr='.xcount' />
		<watch expr='.len_str' />
		<watch expr='.temp[0]' />
		<watch expr='.temp[1]' />
		<watch expr='.height' />
		<watch expr='.ypix' />
		<watch expr='.xpix' />
		<watch expr='.width' />
		<watch expr='.count' />
		<watch expr='ba' />
	</debug>
	<components >
		<settings autoimg='0' center='1' unitscale='0' fixedscale='0' fixedx='0' fixedy='0' fixedz='0' headcode='0' />
		<definition guid='8fccb5eb-1664-4dd5-9d2e-5c62294a7151' vstate='40' vmin='6' vmaj='1' srcleaf='glcd_SSD1306.fcfx' visiblename='GLCD (SSD1305) Buffered' description='Graphical display component based on the SSD1305 monochrome graphical controller IC.
Functions without the use of a read pin by hosting the 1K of graphical memory using the 
microcontroller&apos;s RAM memory.' category='' catenable='0' author='Matrix Ltd' manuname='Solomon Systech' manucode='SSD1305' sysinfo='1053483' keywords='' dynamic='1' expose='Base_GLCD' exposeid='4384cba9-0bea-4359-8c5b-dcd046aa7778' iconpath='..\icons\components\glcd.png' />
		<component class_type='root' codename='gLCD_SSD1305_buffered' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' macronames='$(type)_$(module)__$(macro)' varnames='$(type)_$(module)__$(variable:u)' >
			<resources />
			<properties >
				<property name='Dimensions' hidden='0' >
					<property name='Pixel Height' target='pixel_height' typeid='14' hidden='0' locked='0' info='Heigt of gLCD canvas measured in pixels.
' />
					<property name='Pixel Width' target='pixel_width' typeid='14' hidden='0' locked='0' info='Width of gLCD canvas measured in pixels.
' />
				</property>
				<property name='Colour' hidden='0' >
					<property name='Monochrome' target='monochrome' typeid='7' hidden='0' locked='1' info='Specifies if the display is capable of colour or monochrome only.
' />
					<property name='Foreground Color' target='foreground_colour' typeid='1' hidden='0' locked='0' info='Specifies the initial foreground color.
' />
					<property name='Background Color' target='background_colour' typeid='1' hidden='0' locked='0' info='Specifies the initial background color.
' />
					<property name='Bit Depth' hidden='0' >
						<property name='Colour Bit Depth' target='colour_bit_depth' typeid='14' hidden='0' locked='1' info='Total color bit depth for the display.
' />
						<property name='Red Bit Depth' target='red_bit_depth' typeid='14' hidden='0' locked='1' info='Specifies the red bit depth for the display.
' />
						<property name='Green Bit Depth' target='green_bit_depth' typeid='14' hidden='0' locked='1' info='Specifies the green bit depth for the display.
' />
						<property name='Blue Bit Depth' target='blue_bit_depth' typeid='14' hidden='0' locked='1' info='Specifies the blue bit depth for the display.
' />
					</property>
				</property>
				<property name='Connections' hidden='0' >
					<property name='Chip Select (CS)' target='CS_pin' typeid='5' hidden='0' locked='0' info='Chip select pin connection
' />
					<property name='Reg Select (RS)' target='RS_pin' typeid='5' hidden='0' locked='0' info='' />
					<property name='Data (SD)' target='SD_pin' typeid='5' hidden='0' locked='0' info='LED backlight strobe pin connection' />
					<property name='Serial Clock (SCK)' target='SCK_pin' typeid='5' hidden='0' locked='0' info='Reset pin connection
' />
					<property name='Reset (RST)' target='Reset_pin' typeid='5' hidden='0' locked='0' info='Instruction / Command pin connection' />
				</property>
				<property name='Simulation Mode' folder='property_1' hidden='0' >
					<property name='Display Method' target='DisplayMethod' typeid='16' hidden='0' locked='0' info='Chooses which method to use when drawing to the gLCD component
The bitmap is the more common mode but may run slowly on some machines.
The point cloud should run faster but may use more memory.
' filter='000Bitmap
001Point Cloud' />
				</property>
			</properties>
			<values >
				<value target='pixel_height' data='64' />
				<value target='pixel_width' data='128' />
				<value target='monochrome' data='1' />
				<value target='foreground_colour' data='16777215' />
				<value target='background_colour' data='0' />
				<value target='colour_bit_depth' data='1' />
				<value target='red_bit_depth' data='0' />
				<value target='green_bit_depth' data='0' />
				<value target='blue_bit_depth' data='0' />
				<value target='CS_pin' data='$PORTA.0' />
				<value target='RS_pin' data='$PORTA.1' />
				<value target='SD_pin' data='$PORTA.2' />
				<value target='SCK_pin' data='$PORTA.3' />
				<value target='Reset_pin' data='$PORTA.4' />
				<value target='DisplayMethod' data='000' />
			</values>
			<events >
				<event class='Components' event='Initialise' target='prv_init' />
				<event class='Components' event='Property' target='prv_init' />
				<event class='Simulation' event='Start' target='prv_init' />
			</events>
			<apis >
				<api name='PrintNumber' alt='PrintNumber_Sim' type='1' proto='1' />
				<api name='DrawLine' alt='DrawLine_Sim' type='1' proto='1' />
				<api name='Plot' alt='PlotSim' type='1' proto='1' />
				<api name='SetDisplayOrientation' alt='SetDisplayOrientationSim' type='1' proto='1' />
				<api name='BPlot' alt='BPlotSim' type='1' proto='1' />
				<api name='Print' alt='PrintSim' type='1' proto='1' />
				<api name='ClearDisplay' alt='ClearSim' type='1' proto='1' />
				<api name='SetBackgroundColour' alt='SetBGColourSim' type='1' proto='1' />
				<api name='SetForegroundColour' alt='SetFGColourSim' type='1' proto='1' />
				<api name='DrawRectangle' alt='DrawRectangleSim' type='1' proto='1' />
				<api name='Initialise' alt='InitSim' 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='page' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='test' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='3' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BLACK' type='s16' description='' isconst='1' isinit='1' usrinit='0' setinit='0x00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='currenty' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='currentx' type='u8' 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='Orientation' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dram7' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='128' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dram6' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='128' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dram5' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='128' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dram4' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='128' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Number' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dram3' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='128' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dram2' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='128' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dram1' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='128' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dram0' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='128' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WHITE' type='s16' description='' isconst='1' isinit='1' usrinit='255' setinit='0xFF' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='ClearSim' description='' >
						<command class_type='call' title='Call Component Macro' component='Base_GLCD' macro='ClearDisplay' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Raw_OpenWindow' description='' >
						<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='Set Row' macro='SendCommand' >
							<argument exp='0x15' />
						</command>
						<command class_type='call' title='Set Address' macro='SendData' >
							<argument exp='.X1' />
						</command>
						<command class_type='call' title='Set Address' macro='SendData' >
							<argument exp='.X2' />
						</command>
						<command class_type='call' title='Set Column' macro='SendCommand' >
							<argument exp='0x75' />
						</command>
						<command class_type='call' title='Set Address' macro='SendData' >
							<argument exp='.Y1' />
						</command>
						<command class_type='call' title='Set Address' macro='SendData' >
							<argument exp='.Y2' />
						</command>
						<command class_type='call' title='Write Ram Command' macro='SendCommand' >
							<argument exp='0x5C' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SendCommand' description='' >
						<param name='Command' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='RS_pin = 0' />
							<exp exp='CS_pin = 0' />
						</command>
						<command class_type='call' title='Call Macro' macro='SendByte' >
							<argument exp='.Command' />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='CS_pin = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Raw_GetForegroundColour' description='' >
						<return name='Return' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='.Return = foreground_col_var' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintNumber' description='This macro prints a decimal number to the Graphical LCD.' >
						<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='6' />
						</local>
						<command class_type='calculation' title='Calculation' >
							<exp exp='.temp = ToString$ (.Number)' />
						</command>
						<command class_type='call' title='Call Macro' 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.' >
						<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' >
							<exp exp='.PixelX = .X2 - .X1' />
							<exp exp='.PixelY = .Y2 - .Y1' />
						</command>
						<command class_type='decision' title='If negative X direction' exp='.PixelX &lt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Xinc = -1' />
									<exp exp='.PixelX = .PixelX * -1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='If negative Y direction' exp='.PixelY &lt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Yinc = -1' />
									<exp exp='.PixelY = .PixelY * -1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' exp='.PixelY &lt;= .PixelX' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.C1 = 2 * .PixelX' />
									<exp exp='.M1 = 2 * .PixelY' />
								</command>
								<command class_type='loop' title='Loop' type='0' exp='.X1 != .X2' >
									<flowline >
										<command class_type='call' title='Call Macro' macro='Plot' >
											<argument exp='.X1' />
											<argument exp='.Y1' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.X1 = .X1 + .Xinc' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.D1 = .D1 + .M1' />
										</command>
										<command class_type='decision' title='Decision' exp='.D1 &gt; .PixelX' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='.Y1 = .Y1 + .Yinc' />
												</command>
												<command class_type='calculation' title='Calculation' >
													<exp exp='.D1 = .D1 - .C1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.C1 = 2 * .PixelY' />
									<exp exp='.M1 = 2 * .PixelX' />
								</command>
								<command class_type='loop' title='Loop' type='0' exp='.Y1 != .Y2' >
									<flowline >
										<command class_type='call' title='Call Macro' macro='Plot' >
											<argument exp='.X1' />
											<argument exp='.Y1' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.Y1 = .Y1 + .Yinc' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.D1 = .D1 + .M1' />
										</command>
										<command class_type='decision' title='Decision' exp='.D1 &gt; .PixelY' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='.X1 = .X1 + .Xinc' />
												</command>
												<command class_type='calculation' title='Calculation' >
													<exp exp='.D1 = .D1 - .C1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' macro='Plot' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintNumber_Sim' description='' >
						<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' >
							<exp exp='.temp = ToString$ (.Number)' />
						</command>
						<command class_type='call' title='Call Macro' 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='Sets a pixel with the current foreground colour at pixel location X, Y.' >
						<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='' />
						<local name='data' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='mod_y' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='Orientation' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<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' >
										<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' >
										<exp exp='.temp = .Y1' />
										<exp exp='.Y1 = pixel_height - .X1' />
										<exp exp='.X1 = .temp' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='.mod_y = .Y1 &amp; 0x07' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='.Y1 &gt;&gt; 3' >
							<case >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram0[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram1[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram2[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram3[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram4[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram5[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram6[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram7[.X1]' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Call Macro' macro='Goto_XY' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
						<command class_type='decision' title='Decision' exp='foreground_col_var' swap='0' >
							<flowline >
								<command class_type='calculation' title='Set Pixel' >
									<exp exp='.data = .data | (0x01 &lt;&lt; .mod_y)' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Clear Pixel' >
									<exp exp='.data = .data &amp; (~ (0x01 &lt;&lt; .mod_y))' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Write Data to display' macro='SendData' >
							<argument exp='.data' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='.Y1 &gt;&gt; 3' >
							<case >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram0[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram1[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram2[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram3[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram4[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram5[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram6[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram7[.X1] = .data' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PlotSim' description='' >
						<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' component='Base_GLCD' macro='Plot' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetDisplayOrientationSim' description='Controls the way text is printed out on the display allowing several different orientations. Default is 0.' >
						<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='call' title='Call Macro' component='Base_GLCD' macro='SetDisplayOrientation' >
							<argument exp='.Orientation' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Goto_XY' description='' >
						<param name='X' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='chip' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='cmd' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='currentx = .X' />
							<exp exp='currenty = .Y' />
							<exp exp='page = .Y &gt;&gt; 3' />
						</command>
						<command class_type='call' title='Set Page' macro='SendCommand' >
							<argument exp='0xb0 | page' />
						</command>
						<command class_type='call' title='Set Column' macro='SendCommand' >
							<argument exp='0x10 | (currentx &gt;&gt; 4)' />
						</command>
						<command class_type='call' title='Set Column' macro='SendCommand' >
							<argument exp='currentx &amp; 0x0F' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='InitSim' description='' >
						<command class_type='call' title='Call Component Macro' component='Base_GLCD' macro='Initialise' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='foreground_col_var = foreground_colour' />
							<exp exp='background_col_var = background_colour' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SendByte' description='' >
						<param name='Data' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Index' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='loop' title='Loop' type='0' exp='.Index &lt; 8' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='SCK_pin = 0' />
								</command>
								<command class_type='decision' title='Decision' exp='.Data &amp; (1 &lt;&lt; (7 - .Index))' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='SD_pin = 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='SD_pin = 0' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='SCK_pin = 1' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Index = .Index + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetBGColourSim' description='' >
						<param name='PixelColour' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' component='Base_GLCD' macro='SetBackgroundColour' >
							<argument exp='.PixelColour' />
							<argument exp='.PixelColour' />
							<argument exp='.PixelColour' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DrawLine_Sim' description='' >
						<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' component='Base_GLCD' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SendData' description='' >
						<param name='Byte' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='RS_pin = 1' />
							<exp exp='CS_pin = 0' />
						</command>
						<command class_type='call' title='Call Macro' macro='SendByte' >
							<argument exp='.Byte' />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='CS_pin = 1' />
						</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.' >
						<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' >
							<exp exp='Orientation = .Orientation' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='prv_init' description='Initialisation routine for the component' >
						<return name='Return' type='u32' description='Non-zero to prevent initialisation' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='sim' title='Panel' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;pixel_height&quot;' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;pixel_width&quot;' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;Monochrome&quot;' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;Foreground_Colour&quot;' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;Background_Colour&quot;' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;Colour_Bit_Depth&quot;' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;Red_Bit_Depth&quot;' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;Green_Bit_Depth&quot;' />
						</command>
						<command class_type='sim' title='Panel' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;Blue_Bit_Depth&quot;' />
						</command>
						<command class_type='sim' title='Simulation' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;DisplayMethod&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='BPlot' description='Sets a pixel with the current background colour at pixel location X, Y.' >
						<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='' />
						<local name='mod_y' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='data' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='Orientation' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<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' >
										<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' >
										<exp exp='.temp = .Y1' />
										<exp exp='.Y1 = pixel_height - .X1' />
										<exp exp='.X1 = .temp' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='.mod_y = .Y1 &amp; 0x07' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='.Y1 &gt;&gt; 3' >
							<case >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram0[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram1[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram2[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram3[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram4[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram5[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram6[.X1]' />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='.data = dram7[.X1]' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Call Macro' macro='Goto_XY' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
						<command class_type='decision' title='Decision' exp='background_col_var' swap='0' >
							<flowline >
								<command class_type='calculation' title='Set Pixel' >
									<exp exp='.data = .data | (0x01 &lt;&lt; .mod_y)' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Clear Pixel' >
									<exp exp='.data = .data &amp; (~ (0x01 &lt;&lt; .mod_y))' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Write Data to display' macro='SendData' >
							<argument exp='.data' />
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='.Y1 &gt;&gt; 3' >
							<case >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram0[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram1[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram2[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram3[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='4' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram4[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='5' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram5[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='6' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram6[.X1] = .data' />
									</command>
								</flowline>
							</case>
							<case exp='7' >
								<flowline >
									<command class_type='calculation' title='Calculation' >
										<exp exp='dram7[.X1] = .data' />
									</command>
								</flowline>
							</case>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetFGColourSim' description='' >
						<param name='PixelColour' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' component='Base_GLCD' macro='SetForegroundColour' >
							<argument exp='.PixelColour' />
							<argument exp='.PixelColour' />
							<argument exp='.PixelColour' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DrawRectangleSim' description='' >
						<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' 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 >
					<flowline name='Raw_WriteColour' description='' >
						<param name='Col' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' macro='SendData' >
							<argument exp='.Col &gt;&gt; 8' />
						</command>
						<command class_type='call' title='Call Macro' macro='SendData' >
							<argument exp='.Col' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintSim' description='' >
						<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' 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='Print' description='This macro prints a string of characters to the Graphical LCD.' >
						<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' exp='.Font' >
							<case >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
								</flowline>
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='calculation' title='Calculation' >
										<exp exp='.font_width = 2' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='calculation' title='Calculation' >
										<exp exp='.font_width = 2' />
										<exp exp='.font_height = 2' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='block' title='' hide='1' start='1' />
									<command class_type='block' title='' hide='1' start='0' />
									<command class_type='calculation' title='Calculation' >
										<exp exp='.font_height = 2' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='.xcount = 0' />
							<exp exp='.idx = 0' />
							<exp exp='.temp[5] = 0' />
						</command>
						<command class_type='calculation' title='Calculation' >
							<exp exp='.len_str = Length$ (.Str)' />
						</command>
						<command class_type='loop' title='Loop' type='0' exp='.idx &lt; .len_str' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.pos_str = .Str[.idx] - 32' />
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='.count = 0' />
								</command>
								<command class_type='loop' title='Loop' type='0' exp='.count &lt; 5' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='Base_GLCD' macro='ReadASCIILUT' >
											<return exp='.temp[.count]' />
											<argument exp='.pos_str' />
											<argument exp='.count' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.count = .count + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='.xpix = 0' />
									<exp exp='.temp[.count] = 0' />
								</command>
								<command class_type='loop' title='Loop' type='0' exp='.xpix &lt; 6' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='.width = 0' />
										</command>
										<command class_type='loop' title='Loop' type='0' exp='.width &lt; .font_width' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='.ycount = 0' />
												</command>
												<command class_type='calculation' title='Calculation' >
													<exp exp='.ypix = 0' />
												</command>
												<command class_type='loop' title='Loop' type='0' exp='.ypix &lt; 8' >
													<flowline >
														<command class_type='calculation' title='Calculation' >
															<exp exp='.height = 0' />
														</command>
														<command class_type='loop' title='Loop' type='0' exp='.height &lt; .font_height' >
															<flowline >
																<command class_type='decision' title='Decision' exp='.temp[.xpix] &amp; (0x01 &lt;&lt; .ypix)' swap='0' >
																	<flowline >
																		<command class_type='call' title='Call Macro' macro='Plot' >
																			<argument exp='.X1 + .xcount' />
																			<argument exp='.Y1 + .ycount' />
																		</command>
																	</flowline>
																	<flowline >
																		<command class_type='decision' title='Decision' exp='.Transparent = 0' swap='0' >
																			<flowline >
																				<command class_type='call' title='Call Macro' macro='BPlot' >
																					<argument exp='.X1 + .xcount' />
																					<argument exp='.Y1 + .ycount' />
																				</command>
																			</flowline>
																			<flowline />
																		</command>
																	</flowline>
																</command>
																<command class_type='calculation' title='Calculation' >
																	<exp exp='.height = .height + 1' />
																	<exp exp='.ycount = .ycount + 1' />
																</command>
															</flowline>
														</command>
														<command class_type='calculation' title='Calculation' >
															<exp exp='.ypix = .ypix + 1' />
															<exp exp='' />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Calculation' >
													<exp exp='.width = .width + 1' />
													<exp exp='.xcount = .xcount + 1' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.xpix = .xpix + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='.idx = .idx + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='BPlotSim' description='' >
						<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' component='Base_GLCD' macro='BPlot' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetAddress' description='' >
						<param name='x' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='y' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Set Row' macro='SendCommand' >
							<argument exp='0x15' />
						</command>
						<command class_type='call' title='Set Address' macro='SendData' >
							<argument exp='.X' />
						</command>
						<command class_type='call' title='Set Address' macro='SendData' >
							<argument exp='pixel_width - 1' />
						</command>
						<command class_type='call' title='Set Column' macro='SendCommand' >
							<argument exp='0x75' />
						</command>
						<command class_type='call' title='Set Address' macro='SendData' >
							<argument exp='.Y' />
						</command>
						<command class_type='call' title='Set Address' macro='SendData' >
							<argument exp='pixel_height - 1' />
						</command>
						<command class_type='call' title='Write Ram Command' macro='SendCommand' >
							<argument exp='0x5C' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ClearDisplay' description='This macro clears the display of any previous output by overwriting the entire display with the background colour.' >
						<local name='Page' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Column' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='HiByte' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Data' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='background_col_var' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Data = 255' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Data = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Loop' type='0' exp='.Page &lt; 8' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Column = 0' />
								</command>
								<command class_type='loop' title='Loop' type='0' exp='.Column &lt; pixel_width' >
									<flowline >
										<command class_type='switch' title='Switch' textarea='36,25,36,25' exp='.Page' >
											<case >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='dram0[.Column] = .data' />
													</command>
												</flowline>
											</case>
											<case exp='1' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='dram1[.Column] = .data' />
													</command>
												</flowline>
											</case>
											<case exp='2' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='dram2[.Column] = .data' />
													</command>
												</flowline>
											</case>
											<case exp='3' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='dram3[.Column] = .data' />
													</command>
												</flowline>
											</case>
											<case exp='4' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='dram4[.Column] = .data' />
													</command>
												</flowline>
											</case>
											<case exp='5' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='dram5[.Column] = .data' />
													</command>
												</flowline>
											</case>
											<case exp='6' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='dram6[.Column] = .data' />
													</command>
												</flowline>
											</case>
											<case exp='7' >
												<flowline >
													<command class_type='calculation' title='Calculation' >
														<exp exp='dram7[.Column] = .data' />
													</command>
												</flowline>
											</case>
										</command>
										<command class_type='call' title='Call Macro' macro='SendData' >
											<argument exp='.Data' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.Column = .Column + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Page = .Page + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetBackgroundColour' description='Specifies the colour of the background by creating a mixture of red, green and blue.
' >
						<param name='PixelColour' type='u8' description='0=White, 1=Black' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.PixelColour' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='background_col_var = WHITE' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='background_col_var = BLACK' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='ReadASCIILUT' description='' />
				</macro>
				<macro >
					<flowline name='SetForegroundColour' description='Specifies the colour of the foreground by creating a mixture of red, green and blue.
' >
						<param name='PixelColour' type='u8' description='0=White, 1=Black' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' exp='.PixelColour' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='foreground_col_var = WHITE' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='foreground_col_var = BLACK' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Raw_GetBackgroundColour' description='' >
						<return name='Return' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' >
							<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' >
						<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' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y1' />
						</command>
						<command class_type='call' title='Call Macro' macro='DrawLine' >
							<argument exp='.X2' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
						</command>
						<command class_type='call' title='Call Macro' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y2' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
						</command>
						<command class_type='call' title='Call Macro' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X1' />
							<argument exp='.Y2' />
						</command>
						<command class_type='decision' title='Decision' exp='.Transparent = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' exp='.X1 &gt; .X2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='.Xmax = .X1' />
											<exp exp='.Xmin = .X2 + 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='.Xmax = .X2' />
											<exp exp='.Xmin = .X1 + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' exp='.Y1 &gt; .Y2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='.Ymax = .Y1' />
											<exp exp='.Ymin = .Y2 + 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='.Ymax = .Y2' />
											<exp exp='.Ymin = .Y1 + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' >
									<exp exp='.Y1 = .Ymin' />
								</command>
								<command class_type='loop' title='Loop' type='0' exp='.Y1 &lt; .YMax' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='.X1 = .Xmin' />
										</command>
										<command class_type='loop' title='Loop' type='0' exp='.X1 &lt; .XMax' >
											<flowline >
												<command class_type='decision' title='Decision' exp='.Solid' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' macro='Plot' >
															<argument exp='.X1' />
															<argument exp='.Y1' />
														</command>
													</flowline>
													<flowline >
														<command class_type='call' title='Call Macro' macro='BPlot' >
															<argument exp='.X1' />
															<argument exp='.Y1' />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Calculation' >
													<exp exp='.X1 = .X1 + 1' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='.Y1 = .Y1 + 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='call' title='Call Macro' macro='InitSim' />
						<command class_type='call' title='Call Macro' macro='PrintSim' >
							<argument exp='&quot;Hello&quot;' />
							<argument exp='5' />
							<argument exp='5' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Initialise' description='The Init macro must be called once to initialise the Graphical LCD display before any other Graphical LCD component macros are called.' >
						<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='calculation' title='Setup Output Pins' >
							<exp exp='CS_pin = 1' />
							<exp exp='Reset_pin = 1' />
							<exp exp='SCK_pin = 1' />
							<exp exp='SD_pin = 0' />
							<exp exp='RS_pin = 0' />
						</command>
						<command class_type='delay' title='Delay' exp='200' type='1' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Reset_pin = 0' />
							<exp exp='' />
						</command>
						<command class_type='delay' title='Delay' exp='200' type='1' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Reset_pin = 1' />
							<exp exp='' />
						</command>
						<command class_type='delay' title='Delay' exp='200' type='1' />
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xAE' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xD5' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xA0' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xA8' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x1F' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xD3' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xAD' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x8E' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xD8' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x05' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xA1' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xC8' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xDA' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x12' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x91' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x3F' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x3F' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x3F' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x3F' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x81' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x6F' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xD9' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xD2' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xDB' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0x34' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xA6' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xA4' />
						</command>
						<command class_type='call' title='' macro='SendCommand' >
							<argument exp='0xAF' />
						</command>
						<command class_type='decision' title='Decision' exp='foreground_colour &gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='foreground_col_var = WHITE' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='foreground_col_var = BLACK' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' exp='background_colour &gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='background_col_var = WHITE' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' >
									<exp exp='background_col_var = BLACK' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' macro='ClearDisplay' />
						<command class_type='call' title='Call Macro' macro='Goto_XY' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='4384cba9-0bea-4359-8c5b-dcd046aa7778' vmin='798' vmaj='16' codename='Base_GLCD' x='0' y='1.36' z='2.4' xsz='0.218984' ysz='0.219' 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='64' />
					<value target='pixel_width' data='128' />
					<value target='monochrome' data='1' />
					<value target='foreground_colour' data='16777215' />
					<value target='background_colour' data='0' />
					<value target='colour_bit_depth' data='1' />
					<value target='red_bit_depth' data='0' />
					<value target='green_bit_depth' data='0' />
					<value target='blue_bit_depth' data='0' />
					<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='0' perspective='0' >
		<background rgb='9737364' 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='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='1.11974' ye='-0.676219' ze='75.9746' xt='1.11974' yt='-0.676219' zt='-0.425217' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='BPlot' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='327' flags='0' />
		<view type='0' name='Plot' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='216' flags='0' />
		<view type='0' name='PlotSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Initialise' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='2225' flags='0' />
		<view type='0' name='SetFGColourSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetBGColourSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetBackgroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetForegroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SendByte' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SendData' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='InitSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SendCommand' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Print' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ClearDisplay' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Goto_XY' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_WriteColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_OpenWindow' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_GetForegroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_GetBackgroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetAddress' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawLine' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetDisplayOrientation' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetDisplayOrientationSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='55' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrintSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='BPlotSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawRectangle' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrintNumber' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ReadASCIILUT' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='prv_init' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ClearSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawRectangleSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawLine_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrintNumber_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAngQAALkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
