<root>
<document scada='0' schema='102' license='1,79829088,X1MNCF' title='' description='' fcversion='589824' target='ARD.ATMEGA.Arduino Nano 328' >
	<config data='' clkspd='16000000' simspd='1' usewdt='0' constif='0' commport='5' Use3V3='0' />
	<plugins >
		<dll_models 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>
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='1' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='11' />
			<data name='CalculatedCommsDelay' value='11' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='0' center='1' unitscale='0' fixedscale='0' fixedx='0' fixedy='0' fixedz='0' headcode='0' keygen='j7SMT46217yBzLyAdwcxuV' />
		<definition guid='f6ab6074-68ba-4cd4-9274-f973102f8518' vstate='40' vmin='9' vmaj='1' srcleaf='glcd_SSD1306_I2C.fcfx' visiblename='GLCD (SSD1306) I2C' description='Graphical display component based on the I2C version of the SSD1306 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='Graphical Monochrome' category2='' category3='' bIs2dOnly='0' catenable='1' author='Matrix Ltd' manuname='Solomon Systech' manucode='SSD1306' sysinfo='1053483' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' group='displays' protect='1' iconpath='..\..\icons\components\glcd.png' />
		<component class_type='root' codename='gLCD_SSD1306_i2c' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' 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 name='Interlaced' target='Interlaced' typeid='7' hidden='0' locked='0' info='Determines if the display is interlaced in the Y axis or not' />
				</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='I2C Address' target='Address' typeid='16' hidden='0' locked='0' info='' filter='1200x78 (0)
1220x7A (1)' />
					<property name='Channel' target='cal_i2c1::CHANNEL' typeid='16' hidden='0' locked='0' info='Channel selection' filter='000Software
001Channel 1
' />
					<property name='Baud Select' target='cal_i2c1::BAUD_LIST' typeid='16' hidden='0' locked='0' info='Baud rate option selector' filter='000Custom
001100KHz
002400KHz
0031MHz' />
					<property name='Baud Rate' target='cal_i2c1::BAUD' typeid='14' hidden='0' locked='1' info='Baud rate to be used' />
					<property name='Stop Delay' target='cal_i2c1::StopDel' typeid='7' hidden='0' locked='0' info='On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not 
a 10ms delay between an I2C stop event and the next I2C start event.

Most modern microcontrollers will not have a problem so this property can be disabled to speed up the 
I2C communications. ' />
					<property name='SDA' target='cal_i2c1::SDA' typeid='5' hidden='0' locked='1' info='Pin used for SDA (data signal)' />
					<property name='SDA Remap Pin' target='cal_i2c1::SDAPins' typeid='16' hidden='1' locked='0' info='' filter='000$PORTC.0
001$PORTC.1
002$PORTC.2
003$PORTC.3
004$PORTC.4
005$PORTC.5
006$PORTC.6
007$PORTC.7
008$PORTB.0
009$PORTB.1
010$PORTB.2
011$PORTB.3
012$PORTB.4
013$PORTB.5
014$PORTB.6
015$PORTB.7' />
					<property name='SCL' target='cal_i2c1::SCL' typeid='5' hidden='0' locked='1' info='Pin used for SCL (clock signal)' />
					<property name='SCL Remap Pin' target='cal_i2c1::SCLPins' typeid='16' hidden='1' locked='0' info='' filter='000$PORTC.0
001$PORTC.1
002$PORTC.2
003$PORTC.3
004$PORTC.4
005$PORTC.5
006$PORTC.6
007$PORTC.7
008$PORTB.0
009$PORTB.1
010$PORTB.2
011$PORTB.3
012$PORTB.4
013$PORTB.5
014$PORTB.6
015$PORTB.7' />
				</property>
				<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 name='Simulate Comms' target='SimComms' typeid='7' hidden='0' locked='0' info='Allows the communications to be simulated to either see the waveforms on the data recorder or to drive an injector component.' />
					<property name='Communications' folder='property_2' hidden='1' >
						<property name='Console Data' target='cal_i2c1::ConsoleData' typeid='7' hidden='0' locked='0' info='Selects if the console data is automatically generated or not' />
						<property name='Scope Traces' target='cal_i2c1::ScopeTraces' typeid='7' hidden='0' locked='0' info='Selects if the component pin connections are automatically generated on the data recorder window or not.
Yes: Automatically add the component pins to a group on the data recorder which will reflect the sim data during simultion.
No: Do not show the pin signals on the data recorder window.' />
						<property name='Injector' target='cal_i2c1::Injector' typeid='16' hidden='0' locked='0' info='Specifies the injector component on the panel to interact with to provide comms simulation.' filter='000' />
					</property>
				</property>
			</properties>
			<values >
				<value target='pixel_height' data='64' />
				<value target='pixel_width' data='128' />
				<value target='Interlaced' data='1' />
				<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='Address' data='120' />
				<value target='cal_i2c1::CHANNEL' data='001' />
				<value target='cal_i2c1::BAUD_LIST' data='002' />
				<value target='cal_i2c1::BAUD' data='400000' />
				<value target='cal_i2c1::StopDel' data='0' />
				<value target='cal_i2c1::SDA' data='$PORTC.4' />
				<value target='cal_i2c1::SDAPins' data='000' />
				<value target='cal_i2c1::SCL' data='$PORTC.5' />
				<value target='cal_i2c1::SCLPins' data='000' />
				<value target='DisplayMethod' data='000' />
				<value target='SimComms' data='0' />
				<value target='cal_i2c1::ConsoleData' data='0' />
				<value target='cal_i2c1::ScopeTraces' data='0' />
				<value target='cal_i2c1::Injector' data='000' />
			</values>
			<events >
				<event class='Compile' event='AddVar' target='Ev_AddVar' />
				<event class='Simulation' event='Start' target='Ev_Property' />
				<event class='Components' event='Initialise' target='Ev_Property' />
				<event class='Components' event='Property' target='Ev_Property' />
				<event class='Compile' event='GetVarSize' target='Ev_GetVarSize' />
			</events>
			<apis >
				<api name='SendCommand' alt='SendCommand' type='1' proto='1' />
				<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='DrawEllipse' alt='DrawEllipseSim' type='1' proto='1' />
				<api name='ControlDisplay' alt='ControlDisplay' type='1' proto='1' />
				<api name='SetDisplayOrientation' alt='SetDisplayOrientationSim' type='1' proto='1' />
				<api name='BPlot' alt='BPlotSim' type='1' proto='1' />
				<api name='ControlContrast' alt='ControlContrast' type='1' proto='1' />
				<api name='ClearDisplay' alt='ClearSim' type='1' proto='1' />
				<api name='SetBackgroundColour' alt='SetBGColourSim' type='1' proto='1' />
				<api name='DrawCircle' alt='DrawCircleSim' 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' />
				<api name='InvertDisplay' alt='InvertDisplay' type='1' proto='1' />
			</apis>
			<variables >
				<variable public='0' >
					<def class_type='variable' name='background_col_var' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='page' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BLACK' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0x00' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='currenty' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='currentx' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='foreground_col_var' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Orientation' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Inverted' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='background' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='dram0' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='128' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='foreground' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='WHITE' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='255' setinit='0xFF' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='s16' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='ClearSim' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='ClearDisplay' />
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='ClearDisplay' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Raw_OpenWindow' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='X2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Set Row' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x15' />
						</command>
						<command class_type='call' title='Set Address' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
							<argument exp='.X1' />
						</command>
						<command class_type='call' title='Set Address' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
							<argument exp='.X2' />
						</command>
						<command class_type='call' title='Set Column' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x75' />
						</command>
						<command class_type='call' title='Set Address' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
							<argument exp='.Y1' />
						</command>
						<command class_type='call' title='Set Address' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
							<argument exp='.Y2' />
						</command>
						<command class_type='call' title='Write Ram Command' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x5C' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SendCommand' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Command' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='buffer' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='2' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.buffer[0] = 0' />
							<exp exp='.buffer[1] = .Command' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='cal_i2c1' macro='Transaction_Write' >
							<argument exp='.buffer' />
							<argument exp='2' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Raw_GetForegroundColour' description='' statediag='0' >
						<return name='Return' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.Return = foreground_col_var' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintNumber' description='This macro prints a decimal number to the Graphical LCD.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Number' type='s16' description='Byte or Integer number to send to the display.' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='X' type='u16' description='X pixel coordinate to set the output string position.' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u16' description='Y pixel coordinate to set the output string position.' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Font' type='u8' description='Range: 0 to 31 - 0=5x8, 1=10x8, 2=10x16, 3=5x16, 4-31=Extended Sizes' isconst='0' isHidden='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' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='6' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.temp = ToString$ (.Number)' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Print' >
							<argument exp='.temp' />
							<argument exp='.X' />
							<argument exp='.Y' />
							<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.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='X2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='C1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='M1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='D1' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='PixelX' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='PixelY' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Yinc' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
						<local name='Xinc' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
						<local name='X' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Y' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.PixelX = .X2 - .X1' />
							<exp exp='.PixelY = .Y2 - .Y1' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.X = .X1' />
							<exp exp='.Y = .Y1' />
						</command>
						<command class_type='decision' title='If negative X direction' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.PixelX &lt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.Xinc = -1' />
									<exp exp='.PixelX = .PixelX * -1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='If negative Y direction' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.PixelY &lt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.Yinc = -1' />
									<exp exp='.PixelY = .PixelY * -1' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.PixelY &lt;= .PixelX' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.C1 = 2 * .PixelX' />
									<exp exp='.M1 = 2 * .PixelY' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='0' exp='.X != .X2' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
											<argument exp='.X' />
											<argument exp='.Y' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.X = .X + .Xinc' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.D1 = .D1 + .M1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.D1 &gt; .PixelX' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.Y = .Y + .Yinc' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.D1 = .D1 - .C1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.C1 = 2 * .PixelY' />
									<exp exp='.M1 = 2 * .PixelX' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='0' exp='.Y != .Y2' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
											<argument exp='.X' />
											<argument exp='.Y' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.Y = .Y + .Yinc' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.D1 = .D1 + .M1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.D1 &gt; .PixelY' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.X = .X + .Xinc' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.D1 = .D1 - .C1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
							<argument exp='.X' />
							<argument exp='.Y' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintNumber_Sim' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Number' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='X' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Font' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='6' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.temp = ToString$ (.Number)' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='PrintSim' >
							<argument exp='.temp' />
							<argument exp='.X' />
							<argument exp='.Y' />
							<argument exp='.Font' />
							<argument exp='.Transparent' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Print' >
									<argument exp='.temp' />
									<argument exp='.X' />
									<argument exp='.Y' />
									<argument exp='.Transparent' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DrawEllipse' description='Draws an ellipse object on the display with the center of the ellipse at the location X,Y' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X' type='u16' description='X Coordinate for the center of the circle' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u16' description='Y coordinate for the center of the circle' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='XRadius' type='u16' description='Radius of the circle on the X axis specified in pixels' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='YRadius' type='u16' description='Radius of the circle on the Y axis specified in pixels' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='0=Fill inside circle using background colour / 1=Draw outer circle only' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Solid' type='u8' description='0=Use Transparent Setting / 1=Fill with foreground colour' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='err' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='CurX' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='CurY' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='BGCol' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='FGCol' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Rep' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='e2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='K' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='decision' title='Draw the circle in solid foreground' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Solid = 1' swap='0' >
							<flowline >
								<command class_type='label' title='Connection Point' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' labelid='0' labelname='A' />
								<command class_type='calculation' title='Start Locations' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.CurX = 0' />
									<exp exp='.CurY = 0 - .YRadius' />
								</command>
								<command class_type='calculation' title='Calculate Decision Variable' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.err = 2 - (2 * .XRadius)' />
								</command>
								<command class_type='calculation' title='Start K' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.K = FLOAT (FLOAT .YRadius / FLOAT .XRadius)' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='0' exp='.CurY &lt;= 0' start='0' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
											<argument exp='.X - (.CurX / .K)' />
											<argument exp='.Y + .CurY' />
											<argument exp='.X + (.CurX / .K)' />
											<argument exp='.Y + .CurY' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
											<argument exp='.X - (.CurX / .K)' />
											<argument exp='.Y - .CurY' />
											<argument exp='.X + (.CurX / .K)' />
											<argument exp='.Y -.CurY' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.e2 = .err' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.e2 &lt;= .CurX' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.CurX = .CurX + 1' />
													<exp exp='.err = .err + ((.CurX * 2) + 1)' />
													<exp exp='' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='(0 - .CurY == .CurX) &amp;&amp; (.e2 &lt;= .CurY)' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
															<exp exp='.e2 = 0' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.e2 &gt; .CurY' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.CurY = .CurY + 1' />
													<exp exp='.err = .err + ((.CurY * 2) + 1)' />
													<exp exp='' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Draw the background colour?' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Transparent = 1' swap='0' >
									<flowline >
										<command class_type='label' title='Connection Point' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' labelid='1' labelname='B' />
										<command class_type='calculation' title='Start Locations' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.CurX = 0' />
											<exp exp='.CurY = 0 - .YRadius' />
										</command>
										<command class_type='calculation' title='Calculate Decision Variable' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.err = 2 - (2 * .XRadius)' />
										</command>
										<command class_type='calculation' title='Start K' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.K = FLOAT (FLOAT .YRadius / FLOAT .XRadius)' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='0' exp='.CurY &lt;= 0' start='0' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X - (.CurX / .K)' />
													<argument exp='.Y + .CurY' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X + (.CurX / .K)' />
													<argument exp='.Y + .CurY' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X + (.CurX / .K)' />
													<argument exp='.Y - .CurY' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X - (.CurX / .K)' />
													<argument exp='.Y - .CurY' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.e2 = .err' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.e2 &lt;= .CurX' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
															<exp exp='.CurX = .CurX + 1' />
															<exp exp='.err = .err + ((.CurX * 2) + 1)' />
															<exp exp='' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='(0 - .CurY == .CurX) &amp;&amp; (.e2 &lt;= .CurY)' swap='0' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
																	<exp exp='.e2 = 0' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.e2 &gt; .CurY' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
															<exp exp='.CurY = .CurY + 1' />
															<exp exp='.err = .err + ((.CurY * 2) + 1)' />
															<exp exp='' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.FGCol = foreground_col_var' />
											<exp exp='.BGCol = background_col_var' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='foreground_col_var = .BGCol' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.Rep = 1' />
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Rep = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.Rep = .Rep + 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='foreground_col_var = .FGCol' />
								</command>
								<command class_type='goto' title='Goto Connection Point' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' labelid='1' labelname='' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Plot' description='Sets a pixel with the current foreground colour at pixel location X, Y.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='mod_y' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='old_data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='addr' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='Orientation' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
										<exp exp='.temp = pixel_width - (.Y1 + 1)' />
										<exp exp='.Y1 = .X1' />
										<exp exp='.X1 = .temp' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
										<exp exp='.X1 = pixel_width - (.X1 + 1)' />
										<exp exp='.Y1 = pixel_height - (.Y1 + 1)' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
										<exp exp='.temp = .Y1' />
										<exp exp='.Y1 = pixel_height - (.X1 + 1)' />
										<exp exp='.X1 = .temp' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.mod_y = .Y1 &amp; 0x07' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.addr = (.Y1 &gt;&gt; 3) * pixel_width' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.data = dram0[.addr + .X1]' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.old_data = .data' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='foreground_col_var' swap='0' >
							<flowline >
								<command class_type='calculation' title='Set Pixel' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.data = .data | (0x01 &lt;&lt; .mod_y)' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Clear Pixel' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.data = .data &amp; (~ (0x01 &lt;&lt; .mod_y))' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.old_data = .data' swap='0' >
							<flowline />
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Goto_XY' >
									<argument exp='.X1' />
									<argument exp='.Y1' />
								</command>
								<command class_type='call' title='Write Data to display' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
									<argument exp='.data' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='dram0[.addr + .X1] = .data' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PlotSim' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='Plot' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
									<argument exp='.X1' />
									<argument exp='.Y1' />
								</command>
							</flowline>
							<flowline />
						</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.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Orientation' type='u8' description='0=Default, 1=90°CW, 2=180°CW, 3=270°CW' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='sim' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='SetDisplayOrientation' >
							<argument exp='.Orientation' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SetDisplayOrientation' >
									<argument exp='.Orientation' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Goto_XY' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='chip' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='cmd' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='buffer' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='4' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='currentx = .X' />
							<exp exp='currenty = .Y' />
							<exp exp='page = .Y &gt;&gt; 3' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='currentx = ((128 - pixel_width) / 2) + .X' />
						</command>
						<command class_type='decision' title='Decision' disable='1' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='pixel_width &lt; 128' swap='0' >
							<flowline />
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.buffer[0] = 0' />
							<exp exp='.buffer[1] = 0xb0 | page' />
							<exp exp='.buffer[2] = 0x10 | (currentx &gt;&gt; 4)' />
							<exp exp='.buffer[3] = currentx &amp; 0x0f' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='cal_i2c1' macro='Transaction_Write' >
							<argument exp='.buffer' />
							<argument exp='4' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='InitSim' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='Initialise' />
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='foreground_col_var = foreground_colour' />
							<exp exp='background_col_var = background_colour' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Initialise' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ControlDisplay' description='Allows the display to be switched on and off' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Control' type='u8' description='0=Off, 1=On' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Control &gt; 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
									<argument exp='0xAF' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
									<argument exp='0xAE' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetBGColourSim' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='PixelColour' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.PixelColour &gt; 0' swap='0' >
							<flowline >
								<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='SetBackgroundColour' >
									<argument exp='BLACK' />
									<argument exp='BLACK' />
									<argument exp='BLACK' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='SetBackgroundColour' >
									<argument exp='WHITE' />
									<argument exp='WHITE' />
									<argument exp='WHITE' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SetBackgroundColour' >
									<argument exp='.PixelColour' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DrawLine_Sim' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='X2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='C1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='M1' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='D1' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='PixelX' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='PixelY' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Yinc' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
						<local name='Xinc' type='s16' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
						<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
									<argument exp='.X1' />
									<argument exp='.Y1' />
									<argument exp='.X2' />
									<argument exp='.Y2' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SendData' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Byte' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='buffer' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='2' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.buffer[0] = 0x40' />
							<exp exp='.buffer[1] = .Byte' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='cal_i2c1' macro='Transaction_Write' >
							<argument exp='.buffer' />
							<argument exp='2' />
						</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.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Orientation' type='u8' description='0=Default, 1=90°CW, 2=180°CW, 3=270°CW' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='Orientation = .Orientation' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Property' description='Initialisation routine for the component' statediag='0' >
						<return name='Return' type='u32' description='Non-zero to prevent initialisation' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp_str' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='sim' title='Simulation' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Component.Property.SetVisible' >
									<argument exp='this' />
									<argument exp='&quot;property_2&quot;' />
									<argument exp='1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Simulation' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Component.Property.SetVisible' >
									<argument exp='this' />
									<argument exp='&quot;property_2&quot;' />
									<argument exp='0' />
								</command>
							</flowline>
						</command>
						<command class_type='sim' title='Panel' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;pixel_height&quot;' />
						</command>
						<command class_type='sim' title='Panel' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;pixel_width&quot;' />
						</command>
						<command class_type='sim' title='Panel' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;Monochrome&quot;' />
						</command>
						<command class_type='sim' title='Panel' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;Foreground_Colour&quot;' />
						</command>
						<command class_type='sim' title='Panel' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;Background_Colour&quot;' />
						</command>
						<command class_type='sim' title='Panel' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' 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' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' 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' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' 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' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' 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' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Component.Property.CopyValue' >
							<argument exp='this' />
							<argument exp='Base_GLCD' />
							<argument exp='&quot;DisplayMethod&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DrawEllipseSim' description='Draws an ellipse object on the display with the center of the ellipse at the location X,Y' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X' type='u16' description='X Coordinate for the center of the circle' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u16' description='Y coordinate for the center of the circle' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='XRadius' type='u16' description='Radius of the circle on the X axis specified in pixels' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='YRadius' type='u16' description='Radius of the circle on the Y axis specified in pixels' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='0=Fill inside circle using background colour / 1=Draw outer circle only' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Solid' type='u8' description='0=Use Transparent Setting / 1=Fill with foreground colour' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='err' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='CurX' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='CurY' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='BGCol' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='FGCol' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Rep' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='e2' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='K' type='f32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='DrawEllipse' >
							<argument exp='.X' />
							<argument exp='.Y' />
							<argument exp='.XRadius' />
							<argument exp='.YRadius' />
							<argument exp='.Transparent' />
							<argument exp='.Solid' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawEllipse' >
									<argument exp='.X' />
									<argument exp='.Y' />
									<argument exp='.XRadius' />
									<argument exp='.YRadius' />
									<argument exp='.Transparent' />
									<argument exp='.Solid' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='BPlot' description='Sets a pixel with the current background colour at pixel location X, Y.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='mod_y' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='old_data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='addr' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='Orientation' >
							<case >
								<flowline />
							</case>
							<case exp='1' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
										<exp exp='.temp = pixel_width - (.Y1 + 1)' />
										<exp exp='.Y1 = .X1' />
										<exp exp='.X1 = .temp' />
									</command>
								</flowline>
							</case>
							<case exp='2' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
										<exp exp='.X1 = pixel_width - (.X1 + 1)' />
										<exp exp='.Y1 = pixel_height - (.Y1 + 1)' />
									</command>
								</flowline>
							</case>
							<case exp='3' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
										<exp exp='.temp = .Y1' />
										<exp exp='.Y1 = pixel_height - (.X1 + 1)' />
										<exp exp='.X1 = .temp' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.mod_y = .Y1 &amp; 0x07' />
							<exp exp='.addr = (.Y1 &gt;&gt; 3) * 128' />
							<exp exp='' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.data = dram0[.addr + .X1]' />
							<exp exp='.old_data = .data' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='background_col_var' swap='0' >
							<flowline >
								<command class_type='calculation' title='Set Pixel' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.data = .data | (0x01 &lt;&lt; .mod_y)' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Clear Pixel' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.data = .data &amp; (~ (0x01 &lt;&lt; .mod_y))' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.old_data = .data' swap='0' >
							<flowline />
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Goto_XY' >
									<argument exp='.X1' />
									<argument exp='.Y1' />
								</command>
								<command class_type='call' title='Write Data to display' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
									<argument exp='.data' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='dram0[.addr + .X1] = .data' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetFGColourSim' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='PixelColour' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.PixelColour &gt; 0' swap='0' >
							<flowline >
								<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='SetForegroundColour' >
									<argument exp='BLACK' />
									<argument exp='BLACK' />
									<argument exp='BLACK' />
								</command>
							</flowline>
							<flowline >
								<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='SetForegroundColour' >
									<argument exp='WHITE' />
									<argument exp='WHITE' />
									<argument exp='WHITE' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SetForegroundColour' >
									<argument exp='.PixelColour' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DrawRectangleSim' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='X2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Solid' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Xmin' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Xmax' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Ymin' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Ymax' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='DrawRectangle' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
							<argument exp='.Transparent' />
							<argument exp='.Solid' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawRectangle' >
									<argument exp='.X1' />
									<argument exp='.Y1' />
									<argument exp='.X2' />
									<argument exp='.Y2' />
									<argument exp='.Transparent' />
									<argument exp='.Solid' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Raw_WriteColour' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Col' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
							<argument exp='.Col &gt;&gt; 8' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
							<argument exp='.Col' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_GetVarSize' description='Sent to a component to amend the size of the expected array' statediag='0' >
						<return name='Return' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='VarName' type='T8' description='The original Flowcode variable' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='Elements' type='u32*' description='The number of elements in the array' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Name' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='comment' title='' comment='The size of the dram buffers should match the display width' textarea='12,0,12,0' cmdcolor='6048783' cmdcolor_sec='12628083' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.Name = Left$ (.VarName,4)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='Compare$ (.Name,&quot;dram&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.Elements = pixel_width * 8' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='PrintSim' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Str' type='T8*' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='X1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Font' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='xpix' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ypix' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='pos_str' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='len_str' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='count' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='xcount' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ycount' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='height' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='width' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='idx' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='font_width' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
						<local name='font_height' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
						<local name='position' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='6' />
						</local>
						<local name='temp2' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='6' />
						</local>
						<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='Print' >
							<argument exp='.Str' />
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.Font' />
							<argument exp='.Transparent' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Print' >
									<argument exp='.Str' />
									<argument exp='.X1' />
									<argument exp='.Y1' />
									<argument exp='.Transparent' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='BPlotSim' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='BPlot' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='BPlot' >
									<argument exp='.X1' />
									<argument exp='.Y1' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_AddVar' description='Sent to a component to allow dynamic amendment of global constant declarations' statediag='0' >
						<return name='Return' type='u32' description='Non-zero to include definition - initialised on call' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='VarName' type='T8' description='The original Flowcode variable' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='ExpandName' type='T8' description='The expanded variable name' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='Expansion' type='T8*' description='The expanded string to inline to the code' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='Name' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='Idx' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='comment' title='' comment='The number of buffers should match the pixel height / 8' textarea='12,0,12,0' cmdcolor='6048783' cmdcolor_sec='12628083' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' />
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.Return = 1' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.Name = Left$ (.VarName,4)' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='Compare$ (.Name,&quot;dram&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.Idx = .VarName[4] - &apos;0&apos;' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Idx &gt; 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.Return = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' disable='1' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Idx &gt;= (pixel_height &gt;&gt; 3)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.Return = 0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Print' description='Print a string' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='s' type='T8*' description='The string to display' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='x' type='u16' description='x address to display at' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='y' type='u16' description='y address to display at' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='drawbackground' type='b1' description='Set to true to draw the background as well as foreground' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u8' description='Loop counters' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='j' type='u8' description='Loop counters' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='mask' type='u8' description='Mask and pattern to write to buffer' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='c' type='u16' description='Current character' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='addr' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='dev' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='caddr' type='s16' description='Address of current character data' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='d' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='t' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='len' type='u8' description='Length of the string' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='xpos' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='ypos' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='cwidth' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='cheight' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.len = Length$ (.s)' />
							<exp exp='.cwidth = 8' />
							<exp exp='.cheight = 8' />
							<exp exp='.xpos = .x' />
						</command>
						<command class_type='loop' title='For each character in string' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='2' forvar='.i' exp='.len' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.c = .s[.i]' />
									<exp exp='.caddr = (.c - 32) * 8' />
									<exp exp='.ypos = .y' />
								</command>
								<command class_type='loop' title='for each row of character' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='2' forvar='.t' exp='8' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.d = CharSet :: GetInt (.caddr + .t)' />
											<exp exp='.mask = 0x1' />
											<exp exp='' />
										</command>
										<command class_type='loop' title='For each col of character' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='2' forvar='.j' exp='8' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.d &amp; .mask' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
															<argument exp='.xpos' />
															<argument exp='.ypos' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.drawbackground' swap='0' >
															<flowline >
																<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='BPlotSim' >
																	<argument exp='.xpos' />
																	<argument exp='.ypos' />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.mask = .mask &lt;&lt; 1' />
													<exp exp='.xpos = .xpos + 1' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.ypos = .ypos + 1' />
											<exp exp='.xpos = .xpos - .cwidth' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.xpos = .xpos + .cwidth' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='SetAddress' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='x' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='y' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Set Row' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x15' />
						</command>
						<command class_type='call' title='Set Address' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
							<argument exp='.X' />
						</command>
						<command class_type='call' title='Set Address' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
							<argument exp='pixel_width - 1' />
						</command>
						<command class_type='call' title='Set Column' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x75' />
						</command>
						<command class_type='call' title='Set Address' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
							<argument exp='.Y' />
						</command>
						<command class_type='call' title='Set Address' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendData' >
							<argument exp='pixel_height - 1' />
						</command>
						<command class_type='call' title='Write Ram Command' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x5C' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ControlContrast' description='Sets the display contrast from 0 to 255.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Contrast' type='u8' description='Range 0 - 255, Default 207' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x81' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='.Contrast' />
						</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.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='Page' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<local name='Data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='i' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='background_col_var' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.Data = 255' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.Data = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='0' exp='.Page &lt; 8' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Goto_XY' >
									<argument exp='0' />
									<argument exp='.page &lt;&lt; 3' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='cal_i2c1' macro='Master_Start' />
								<command class_type='call' title='Slave Address SA0 = 0' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='cal_i2c1' macro='Master_TxByte' >
									<argument exp='Address' />
								</command>
								<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='cal_i2c1' macro='Master_TxByte' >
									<argument exp='0x40' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='2' forvar='.i' exp='pixel_width' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='dram0[.page * 128 + .i] = .Data' />
										</command>
										<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='cal_i2c1' macro='Master_TxByte' >
											<argument exp='.Data' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='cal_i2c1' macro='Master_Stop' />
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<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.
' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='PixelColour' type='u8' description='0=White, 1=Black' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.PixelColour' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='background_col_var = WHITE' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='background_col_var = BLACK' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DrawCircle' description='Draws a circle object on the display with the center of the circle at the location X,Y' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X' type='u16' description='X Coordinate for the center of the circle' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u16' description='Y coordinate for the center of the circle' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Radius' type='u16' description='Radius of the circle specified in pixels' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='0=Fill inside circle using background colour / 1=Draw outer circle only' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Solid' type='u8' description='0=Use Transparent Setting / 1=Fill with foreground colour' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='D' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='CurX' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='CurY' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='BGCol' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='FGCol' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Rep' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='decision' title='Draw the circle in solid foreground' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Solid = 1' swap='0' >
							<flowline >
								<command class_type='label' title='Connection Point' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' labelid='0' labelname='A' />
								<command class_type='calculation' title='Calculate Decision Variable' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.D = 3 - (.Radius &lt;&lt; 1)' />
								</command>
								<command class_type='calculation' title='Start Locations' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.CurX = 0' />
									<exp exp='.CurY = .Radius' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='0' exp='.CurX &lt;= .CurY' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.CurY &gt; 0' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
													<argument exp='.X - .CurY' />
													<argument exp='.Y + .CurX' />
													<argument exp='.X + .CurY' />
													<argument exp='.Y + .CurX' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
													<argument exp='.X - .CurY' />
													<argument exp='.Y - .CurX' />
													<argument exp='.X + .CurY' />
													<argument exp='.Y - .CurX' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.CurX &gt; 0' swap='0' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
													<argument exp='.X - .CurX' />
													<argument exp='.Y - .CurY' />
													<argument exp='.X + .CurX' />
													<argument exp='.Y - .CurY' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
													<argument exp='.X - .CurX' />
													<argument exp='.Y + .CurY' />
													<argument exp='.X + .CurX' />
													<argument exp='.Y + .CurY' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.D &lt; 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.D = .D + ((.CurX &lt;&lt; 2) + 6)' />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.D = .D + (((.CurX - .CurY) &lt;&lt; 2) + 10)' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.CurY = .CurY - 1' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.CurX = .CurX + 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Draw the background colour?' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Transparent = 1' swap='0' >
									<flowline >
										<command class_type='label' title='Connection Point' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' labelid='1' labelname='B' />
										<command class_type='calculation' title='Calculate Decision Variable' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.D = 3 - (.Radius &lt;&lt; 1)' />
										</command>
										<command class_type='calculation' title='Start Locations' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.CurX = 0' />
											<exp exp='.CurY = .Radius' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='0' exp='.CurX &lt;= .CurY' >
											<flowline >
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X + .CurX' />
													<argument exp='.Y - .CurY' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X - .CurX' />
													<argument exp='.Y - .CurY' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X + .CurY' />
													<argument exp='.Y - .CurX' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X - .CurY' />
													<argument exp='.Y - .CurX' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X + .CurX' />
													<argument exp='.Y + .CurY' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X - .CurX' />
													<argument exp='.Y + .CurY' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X + .CurY' />
													<argument exp='.Y + .CurX' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.X - .CurY' />
													<argument exp='.Y + .CurX' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.D &lt; 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
															<exp exp='.D = .D + ((.CurX &lt;&lt; 2) + 6)' />
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
															<exp exp='.D = .D + (((.CurX - .CurY) &lt;&lt; 2) + 10)' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
															<exp exp='.CurY = .CurY - 1' />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.CurX = .CurX + 1' />
												</command>
											</flowline>
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.FGCol = foreground_col_var' />
											<exp exp='.BGCol = background_col_var' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='foreground_col_var = .BGCol' />
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.Rep = 1' />
										</command>
										<command class_type='goto' title='Goto Connection Point' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' labelid='0' labelname='' />
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Rep = 1' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.Rep = .Rep + 1' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='foreground_col_var = .FGCol' />
								</command>
								<command class_type='goto' title='Goto Connection Point' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' labelid='1' labelname='' />
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro keep='1' >
					<flowline name='ReadASCIILUT' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='SetForegroundColour' description='Specifies the colour of the foreground by creating a mixture of red, green and blue.
' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='PixelColour' type='u8' description='0=White, 1=Black' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.PixelColour' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='foreground_col_var = WHITE' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='foreground_col_var = BLACK' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Raw_GetBackgroundColour' description='' statediag='0' >
						<return name='Return' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<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' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y1' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='X2' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y2' type='u16' description='' isconst='0' isHidden='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' isHidden='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' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Xmin' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Xmax' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Ymin' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Ymax' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
							<argument exp='.X2' />
							<argument exp='.Y1' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y2' />
							<argument exp='.X2' />
							<argument exp='.Y2' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawLine' >
							<argument exp='.X1' />
							<argument exp='.Y1' />
							<argument exp='.X1' />
							<argument exp='.Y2' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Transparent = 0' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.X1 &gt; .X2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.Xmax = .X1' />
											<exp exp='.Xmin = .X2 + 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.Xmax = .X2' />
											<exp exp='.Xmin = .X1 + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Y1 &gt; .Y2' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.Ymax = .Y1' />
											<exp exp='.Ymin = .Y2 + 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.Ymax = .Y2' />
											<exp exp='.Ymin = .Y1 + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='.Y1 = .Ymin' />
								</command>
								<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='0' exp='.Y1 &lt; .YMax' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.X1 = .Xmin' />
										</command>
										<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='0' exp='.X1 &lt; .XMax' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='.Solid' swap='0' >
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
															<argument exp='.X1' />
															<argument exp='.Y1' />
														</command>
													</flowline>
													<flowline >
														<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='BPlot' >
															<argument exp='.X1' />
															<argument exp='.Y1' />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
													<exp exp='.X1 = .X1 + 1' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
											<exp exp='.Y1 = .Y1 + 1' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='s' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='ms' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='x' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='y' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Initialise' />
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Print' >
							<argument exp='&quot;Speed Test&quot;' />
							<argument exp='5' />
							<argument exp='5' />
							<argument exp='true' />
						</command>
						<command class_type='delay' title='Delay' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='1' type='2' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Timer1' macro='StartCounter' >
							<argument exp='true' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='2' exp='1' >
							<flowline >
								<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='2' forvar='.y' exp='pixel_height' >
									<flowline >
										<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='2' forvar='.x' exp='pixel_width' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Plot' >
													<argument exp='.x' />
													<argument exp='.y' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='2' forvar='.y' exp='pixel_height' >
									<flowline >
										<command class_type='loop' title='Loop' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' type='2' forvar='.x' exp='pixel_width' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='BPlot' >
													<argument exp='.x' />
													<argument exp='.y' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Timer1' macro='GetCountMilliseconds' >
							<return exp='.ms' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
							<exp exp='.s = ToString$ (.ms)' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Print' >
							<argument exp='.s' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='true' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='DrawCircleSim' description='Draws a circle object on the display with the center of the circle at the location X,Y' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='X' type='u16' description='X Coordinate for the center of the circle' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u16' description='Y coordinate for the center of the circle' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Radius' type='u16' description='Radius of the circle specified in pixels' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Transparent' type='u8' description='0=Fill inside circle using background colour / 1=Draw outer circle only' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<param name='Solid' type='u8' description='0=Use Transparent Setting / 1=Fill with foreground colour' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='D' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='CurX' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='CurY' type='s16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='BGCol' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='FGCol' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Rep' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='sim' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='Base_GLCD' macro='DrawCircle' >
							<argument exp='.X' />
							<argument exp='.Y' />
							<argument exp='.Radius' />
							<argument exp='.Transparent' />
							<argument exp='.Solid' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='SimComms' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='DrawCircle' >
									<argument exp='.X' />
									<argument exp='.Y' />
									<argument exp='.Radius' />
									<argument exp='.Transparent' />
									<argument exp='.Solid' />
								</command>
							</flowline>
							<flowline />
						</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.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='Red' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Green' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Blue' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='cal_i2c1' macro='Master_Init' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' component='cal_i2c1' macro='Transaction_Initialise' >
							<argument exp='Address &gt;&gt; 1' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xAE' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x10' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x40' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x81' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xCF' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xA1' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xC8' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xA6' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xA8' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='pixel_height = 64' swap='0' >
							<flowline >
								<command class_type='call' title='63' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
									<argument exp='0x3F' />
								</command>
							</flowline>
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='pixel_height = 32' swap='0' >
									<flowline >
										<command class_type='call' title='Default 31' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
											<argument exp='0x1F' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='pixel_height = 16' swap='0' >
											<flowline >
												<command class_type='call' title='15' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
													<argument exp='0x0F' />
												</command>
											</flowline>
											<flowline >
												<command class_type='call' title='Default 31' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
													<argument exp='0x1F' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xD3' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x00' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xD5' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x80' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xD9' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xF1' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xDA' />
						</command>
						<command class_type='decision' title='Interlaced Mode' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='Interlaced = 1' swap='0' >
							<flowline >
								<command class_type='call' title='Was 0x02' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
									<argument exp='0x12' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Was 0x02' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
									<argument exp='0x02' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xDB' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x40' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x20' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x02' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x8D' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0x14' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xA4' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xA6' />
						</command>
						<command class_type='call' title='' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
							<argument exp='0xAF' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='foreground_colour &gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='foreground_col_var = WHITE' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='foreground_col_var = BLACK' />
								</command>
							</flowline>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='background_colour &gt; 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='background_col_var = WHITE' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='background_col_var = BLACK' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='ClearDisplay' />
						<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='Goto_XY' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='InvertDisplay' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='decision' title='' cmdcolor='1336547' cmdcolor_sec='7915775' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' exp='Inverted = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
									<argument exp='0xA7' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='Inverted = 1' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1967002' cmdcolor_sec='8546302' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' macro='SendCommand' >
									<argument exp='0xA6' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='4198239' cmdcolor_sec='10777539' cmdcolor_txt='16777215' cmdgradient='2' cmdopacity='1' >
									<exp exp='Inverted = 0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='4384cba9-0bea-4359-8c5b-dcd046aa7778' vmin='0' vmaj='2' 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' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_width' data='128' />
					<value target='pixel_height' data='64' />
					<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='FontCount' data='004' />
					<value target='gLCD_Font1::Font' data='003' />
					<value target='gLCD_Font1::FontSpace' data='001' />
					<value target='gLCD_Font1::SpaceWidth' data='004' />
					<value target='gLCD_Font2::Font' data='005' />
					<value target='gLCD_Font2::FontSpace' data='001' />
					<value target='gLCD_Font2::SpaceWidth' data='004' />
					<value target='gLCD_Font3::Font' data='002' />
					<value target='gLCD_Font3::FontSpace' data='001' />
					<value target='gLCD_Font3::SpaceWidth' data='004' />
					<value target='gLCD_Font4::Font' data='015' />
					<value target='gLCD_Font4::FontSpace' data='001' />
					<value target='gLCD_Font4::SpaceWidth' data='004' />
					<value target='DisplayMethod' data='000' />
					<value target='EmbedFontSet' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ed3a5141-43bb-43e0-86b0-2243fd1147ca' vmin='0' vmaj='2' codename='cal_i2c1' x='-18.1288' y='0.307097' z='-0.425217' xsz='5' ysz='5' zsz='5' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ENABLED' data='1' />
					<value target='REF' data='1' />
					<value target='CHANNEL' data='001' />
					<value target='Mode' data='000' />
					<value target='SDA' data='$PORTC.4' />
					<value target='SDAPins' data='000' />
					<value target='SCL' data='$PORTC.5' />
					<value target='SCLPins' data='000' />
					<value target='StopDel' data='0' />
					<value target='BAUD_LIST' data='002' />
					<value target='BAUD' data='400000' />
					<value target='SRC' data='000' />
					<value target='SMB' data='000' />
					<value target='ClockStretching' data='1' />
					<value target='BMODE' data='0' />
					<value target='SDA_PORT' data='$PORTC.4' />
					<value target='SDA_TRIS' data='$PORTC.4' />
					<value target='SDA_PIN' data='4' />
					<value target='SCL_PORT' data='$PORTC.5' />
					<value target='SCL_TRIS' data='$PORTC.5' />
					<value target='SCL_PIN' data='5' />
					<value target='MASTER' data='1' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
					<value target='REMAPPABLE' data='' />
					<value target='SDABank' data='b' />
					<value target='SDABank2' data='c' />
					<value target='SCLBank' data='b' />
					<value target='SCLBank2' data='c' />
					<value target='SDARPNUM' data='21' />
					<value target='SCLRPNUM' data='20' />
					<value target='SDARPREG' data='SSP1DATPPS' />
					<value target='SCLRPREG' data='SSP1CLKPPS' />
					<value target='SDAREG' data='000' />
					<value target='SCLREG' data='000' />
					<value target='Sim' data='1' />
					<value target='ParentName' data='' />
					<value target='BitDelay' data='2' />
					<value target='SDAAlts' data='000' />
					<value target='SCLAlts' data='000' />
					<value target='SDAAlt' data='4' />
					<value target='SCLAlt' data='4' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='24ad2718-c70b-4088-aeda-3949dfdba740' vmin='1' vmaj='1' codename='Timer1' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Timer' data='000' />
					<value target='BitDepth' data='8' />
					<value target='InstructionRate' data='16000000' />
					<value target='InstructionTime' data='0.000063' />
					<value target='RolloverFreq' data='62500.000000' />
					<value target='RolloverTime' data='0.000016' />
					<value target='RegHighUsed' data='0' />
					<value target='Instance' data='1' />
					<value target='DeviceBits' data='8' />
					<value target='CountRegLow' data='TCNT0' />
					<value target='CountRegHigh' data='' />
					<value target='EnableCode' data='sei(); TIMSK0 |= (1 &lt;&lt; TOIE0);  TCCR0B &amp;= 0xf8; TCCR0B |= 0x01; ' />
					<value target='DisableCode' data='TIMSK0 &amp;= ~(1 &lt;&lt; TOIE0); ' />
					<value target='HandlerCode' data='ISR(TIMER0_OVF_vect) {  TIM_1_INC }' />
					<value target='MaxTimeMeasurement' data='268.435455' />
					<value target='Family' data='ARD' />
					<value target='TimerDelay' data='50' />
					<value target='DecimalPoints' data='3' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dfb4d07a-3d70-45d5-83ef-07e3c95d86ab' vmin='7' vmaj='1' codename='CharSet' x='0' y='0' z='10.255' xsz='20' ysz='20' zsz='20' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='StorageType' data='000' />
					<value target='Sign' data='000' />
					<value target='intfixed' data='0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x18,0x3C,0x3C,0x18,0x18,0x00,0x18,0x00,
0x36,0x36,0x00,0x00,0x00,0x00,0x00,0x00,
0x36,0x36,0x7F,0x36,0x7F,0x36,0x36,0x00,
0x0C,0x3E,0x03,0x1E,0x30,0x1F,0x0C,0x00,
0x00,0x63,0x33,0x18,0x0C,0x66,0x63,0x00,
0x1C,0x36,0x1C,0x6E,0x3B,0x33,0x6E,0x00,
0x06,0x06,0x03,0x00,0x00,0x00,0x00,0x00,
0x18,0x0C,0x06,0x06,0x06,0x0C,0x18,0x00,
0x06,0x0C,0x18,0x18,0x18,0x0C,0x06,0x00,
0x00,0x66,0x3C,0xFF,0x3C,0x66,0x00,0x00,
0x00,0x0C,0x0C,0x3F,0x0C,0x0C,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x06,
0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x00,
0x60,0x30,0x18,0x0C,0x06,0x03,0x01,0x00,
0x3E,0x63,0x73,0x7B,0x6F,0x67,0x3E,0x00,
0x0C,0x0E,0x0C,0x0C,0x0C,0x0C,0x3F,0x00,
0x1E,0x33,0x30,0x1C,0x06,0x33,0x3F,0x00,
0x1E,0x33,0x30,0x1C,0x30,0x33,0x1E,0x00,
0x38,0x3C,0x36,0x33,0x7F,0x30,0x78,0x00,
0x3F,0x03,0x1F,0x30,0x30,0x33,0x1E,0x00,
0x1C,0x06,0x03,0x1F,0x33,0x33,0x1E,0x00,
0x3F,0x33,0x30,0x18,0x0C,0x0C,0x0C,0x00,
0x1E,0x33,0x33,0x1E,0x33,0x33,0x1E,0x00,
0x1E,0x33,0x33,0x3E,0x30,0x18,0x0E,0x00,
0x00,0x0C,0x0C,0x00,0x00,0x0C,0x0C,0x00,
0x00,0x0C,0x0C,0x00,0x00,0x0C,0x0C,0x06,
0x18,0x0C,0x06,0x03,0x06,0x0C,0x18,0x00,
0x00,0x00,0x3F,0x00,0x00,0x3F,0x00,0x00,
0x06,0x0C,0x18,0x30,0x18,0x0C,0x06,0x00,
0x1E,0x33,0x30,0x18,0x0C,0x00,0x0C,0x00,
0x3E,0x63,0x7B,0x7B,0x7B,0x03,0x1E,0x00,
0x0C,0x1E,0x33,0x33,0x3F,0x33,0x33,0x00,
0x3F,0x66,0x66,0x3E,0x66,0x66,0x3F,0x00,
0x3C,0x66,0x03,0x03,0x03,0x66,0x3C,0x00,
0x1F,0x36,0x66,0x66,0x66,0x36,0x1F,0x00,
0x7F,0x46,0x16,0x1E,0x16,0x46,0x7F,0x00,
0x7F,0x46,0x16,0x1E,0x16,0x06,0x0F,0x00,
0x3C,0x66,0x03,0x03,0x73,0x66,0x7C,0x00,
0x33,0x33,0x33,0x3F,0x33,0x33,0x33,0x00,
0x1E,0x0C,0x0C,0x0C,0x0C,0x0C,0x1E,0x00,
0x78,0x30,0x30,0x30,0x33,0x33,0x1E,0x00,
0x67,0x66,0x36,0x1E,0x36,0x66,0x67,0x00,
0x0F,0x06,0x06,0x06,0x46,0x66,0x7F,0x00,
0x63,0x77,0x7F,0x7F,0x6B,0x63,0x63,0x00,
0x63,0x67,0x6F,0x7B,0x73,0x63,0x63,0x00,
0x1C,0x36,0x63,0x63,0x63,0x36,0x1C,0x00,
0x3F,0x66,0x66,0x3E,0x06,0x06,0x0F,0x00,
0x1E,0x33,0x33,0x33,0x3B,0x1E,0x38,0x00,
0x3F,0x66,0x66,0x3E,0x36,0x66,0x67,0x00,
0x1E,0x33,0x07,0x0E,0x38,0x33,0x1E,0x00,
0x3F,0x2D,0x0C,0x0C,0x0C,0x0C,0x1E,0x00,
0x33,0x33,0x33,0x33,0x33,0x33,0x3F,0x00,
0x33,0x33,0x33,0x33,0x33,0x1E,0x0C,0x00,
0x63,0x63,0x63,0x6B,0x7F,0x77,0x63,0x00,
0x63,0x63,0x36,0x1C,0x1C,0x36,0x63,0x00,
0x33,0x33,0x33,0x1E,0x0C,0x0C,0x1E,0x00,
0x7F,0x63,0x31,0x18,0x4C,0x66,0x7F,0x00,
0x1E,0x06,0x06,0x06,0x06,0x06,0x1E,0x00,
0x03,0x06,0x0C,0x18,0x30,0x60,0x40,0x00,
0x1E,0x18,0x18,0x18,0x18,0x18,0x1E,0x00,
0x08,0x1C,0x36,0x63,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,
0x0C,0x0C,0x18,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x1E,0x30,0x3E,0x33,0x6E,0x00,
0x07,0x06,0x06,0x3E,0x66,0x66,0x3B,0x00,
0x00,0x00,0x1E,0x33,0x03,0x33,0x1E,0x00,
0x38,0x30,0x30,0x3e,0x33,0x33,0x6E,0x00,
0x00,0x00,0x1E,0x33,0x3f,0x03,0x1E,0x00,
0x1C,0x36,0x06,0x0f,0x06,0x06,0x0F,0x00,
0x00,0x00,0x6E,0x33,0x33,0x3E,0x30,0x1F,
0x07,0x06,0x36,0x6E,0x66,0x66,0x67,0x00,
0x0C,0x00,0x0E,0x0C,0x0C,0x0C,0x1E,0x00,
0x30,0x00,0x30,0x30,0x30,0x33,0x33,0x1E,
0x07,0x06,0x66,0x36,0x1E,0x36,0x67,0x00,
0x0E,0x0C,0x0C,0x0C,0x0C,0x0C,0x1E,0x00,
0x00,0x00,0x33,0x7F,0x7F,0x6B,0x63,0x00,
0x00,0x00,0x1F,0x33,0x33,0x33,0x33,0x00,
0x00,0x00,0x1E,0x33,0x33,0x33,0x1E,0x00,
0x00,0x00,0x3B,0x66,0x66,0x3E,0x06,0x0F,
0x00,0x00,0x6E,0x33,0x33,0x3E,0x30,0x78,
0x00,0x00,0x3B,0x6E,0x66,0x06,0x0F,0x00,
0x00,0x00,0x3E,0x03,0x1E,0x30,0x1F,0x00,
0x08,0x0C,0x3E,0x0C,0x0C,0x2C,0x18,0x00,
0x00,0x00,0x33,0x33,0x33,0x33,0x6E,0x00,
0x00,0x00,0x33,0x33,0x33,0x1E,0x0C,0x00,
0x00,0x00,0x63,0x6B,0x7F,0x7F,0x36,0x00,
0x00,0x00,0x63,0x36,0x1C,0x36,0x63,0x00,
0x00,0x00,0x33,0x33,0x33,0x3E,0x30,0x1F,
0x00,0x00,0x3F,0x19,0x0C,0x26,0x3F,0x00,
0x38,0x0C,0x0C,0x07,0x0C,0x0C,0x38,0x00,
0x18,0x18,0x18,0x00,0x18,0x18,0x18,0x00,
0x07,0x0C,0x0C,0x38,0x0C,0x0C,0x07,0x00,
0x6E,0x3B,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
' />
					<value target='floatfixed' data='' />
					<value target='NumVals' data='768' />
					<value target='fixedexp' data='0' />
					<value target='EmbedIntoC' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='0' brightness='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='138.095' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='290' dy='801' zoom='254.1' fix_topleft='0' />
		<page x='1000' y='1000' />
	</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='72.9184' xt='1.11974' yt='-0.676219' zt='-0.425217' 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='Goto_XY' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Plot' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='BPlot' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ClearDisplay' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ReadASCIILUT' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrintNumber' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetDisplayOrientation' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_GetBackgroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_GetForegroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_AddVar' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_GetVarSize' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Property' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='BPlotSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetFGColourSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SendCommand' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SendData' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetAddress' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Initialise' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetDisplayOrientationSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetBGColourSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrintSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PrintNumber_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='PlotSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='InitSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawRectangleSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawLine_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawEllipseSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawCircleSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ClearSim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawLine' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ControlContrast' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ControlDisplay' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='InvertDisplay' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='DrawRectangle' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetBackgroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='SetForegroundColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_WriteColour' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Raw_OpenWindow' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Print' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAACAQAADkDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
