<root>
<document schema='101' license='1,,ropbox' title='' description='' target='PIC.16F.16F1937' >
	<config data='!0,fe2!10,1633%0,2%3,0%5,1%6,1%7,1%8,1%9,3%b,1%c,0%d,0%10,3%14,3%18,0%19,1%1a,1%1c,1%1d,0' clkspd='19660800' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='255' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='panel' description='' category='Misc' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='cnt' type='u8' description='' isconst='0' isinit='1' usrinit='3' setinit='3' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='tog' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='in' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='coord' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='running' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Y' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='X' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='card' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='ClearDisplay' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='G4D_InitialiseCard' >
							<return exp='card' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='card' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='Print' >
									<argument exp='&quot;Card not detected&quot;' />
									<argument exp='1' />
									<argument exp='1' />
									<argument exp='1' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='G4D_DisplayImageFromFilePicaso' >
									<return exp='card' />
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='&quot;start.Gci&quot;' />
									<argument exp='0x00' />
									<argument exp='0x00' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='card' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='Print' >
											<argument exp='&quot;Image Error&quot;' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='G4D_EnableTouchscreenPicaso' />
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='running = 0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='G4D_GetTouchCoordinatesPicaso' >
									<return exp='in' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='in' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='G4D_ReadTouchCoordinatesPicaso' >
											<return exp='X' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='G4D_ReadTouchCoordinatesPicaso' >
											<return exp='Y' />
											<argument exp='1' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(X &gt; 60 &amp;&amp; X &lt; 180) &amp;&amp; (Y &gt; 80 &amp;&amp; Y &lt; 200)' swap='0' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='G4D_EnableTouchscreenPicaso' />
												<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='ClearDisplay' />
												<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='Print' >
													<argument exp='&quot;Are you ready?&quot;' />
													<argument exp='55' />
													<argument exp='90' />
													<argument exp='2' />
													<argument exp='0' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='cnt &gt; 0' >
													<flowline >
														<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
														<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='ClearDisplay' />
														<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='PrintNumber' >
															<argument exp='cnt' />
															<argument exp='110' />
															<argument exp='125' />
															<argument exp='2' />
															<argument exp='1' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='cnt = cnt - 1' />
														</command>
													</flowline>
												</command>
												<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
												<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='ClearDisplay' />
												<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='gLCD_EB076v2_4D1' macro='Print' >
													<argument exp='&quot;GO!!!!&quot;' />
													<argument exp='100' />
													<argument exp='125' />
													<argument exp='2' />
													<argument exp='1' />
												</command>
												<command class_type='calculation' title='loop pois' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='running = 1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='cb40c3c2-03fd-4d66-9364-790e72714bcb' vmin='0' vmaj='2' codename='v5__glcd0' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_height' data='320' />
					<value target='pixel_width' data='240' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='colour_bit_depth' data='16' />
					<value target='red_bit_depth' data='5' />
					<value target='green_bit_depth' data='6' />
					<value target='blue_bit_depth' data='5' />
					<value target='FGCOL' data='0' />
					<value target='BGCOL' data='65535' />
					<value target='channel' data='1' />
					<value target='reset_pin' data='$PORTC.5' />
					<value target='tx_pin' data='$PORTC.6' />
					<value target='rx_pin' data='$PORTC.7' />
					<value target='HighSpeed' data='0' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='000' />
					<value target='DisplayMethod' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='a5320e5b-75c1-4e67-9ed4-e933f40efc9a' vmin='1' vmaj='1' codename='EBHelper1' x='-69.9811' y='8.0691' z='0.5' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='EB_ID' data='076' />
					<value target='EB_Name' data='4D Graphical Touchscreen' />
					<value target='EB_Version' data='000' />
					<value target='EB_Patch' data='001' />
					<value target='EB_Bus' data='UART' />
					<value target='bit0' data='' />
					<value target='bit1' data='' />
					<value target='bit2' data='' />
					<value target='bit3' data='' />
					<value target='bit4' data='' />
					<value target='bit5' data='Reset' />
					<value target='bit6' data='TX' />
					<value target='bit7' data='RX' />
					<value target='bit8' data='' />
					<value target='bit9' data='' />
					<value target='bit10' data='' />
					<value target='bit11' data='' />
					<value target='bit12' data='' />
					<value target='bit13' data='' />
					<value target='bit14' data='' />
					<value target='bit15' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='cb40c3c2-03fd-4d66-9364-790e72714bcb' vmin='0' vmaj='2' codename='gLCD_EB076v2_4D1' x='-80' y='50' z='5.735' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_height' data='320' />
					<value target='pixel_width' data='240' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='colour_bit_depth' data='16' />
					<value target='red_bit_depth' data='5' />
					<value target='green_bit_depth' data='6' />
					<value target='blue_bit_depth' data='5' />
					<value target='FGCOL' data='0' />
					<value target='BGCOL' data='65535' />
					<value target='channel' data='001' />
					<value target='reset_pin' data='$PORTC.5' />
					<value target='tx_pin' data='$PORTC.6' />
					<value target='rx_pin' data='$PORTC.7' />
					<value target='HighSpeed' data='1' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='000' />
					<value target='DisplayMethod' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='13816530' img='' style='0' />
		<camera xe='-48.5858' ye='21.6314' ze='220.958' xt='-48.5858' yt='21.6314' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='256' perspective='0' >
		<background rgb='10534912' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0.533094' ye='0.888491' ze='111.442' xt='0.533094' yt='0.888491' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA8wMAAAwDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
