<root>
<document schema='101' license='1,Dev User,HJVC24' title='' description='' target='PIC.18F.ECIO-40' >
	<config data='' clkspd='48000000' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='19' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<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='' description='' category='' 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='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='filename' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='12' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='card_status' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='file_idx' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Read_2_Byte_Packet' description='' >
						<return name='Return' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='idx' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='dat0' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='dat1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Read Byte From Buffer' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ReadByteFromBuffer' >
							<return exp='.dat0' />
							<argument exp='.idx' />
						</command>
						<command class_type='call' title='Read Byte From Buffer' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ReadByteFromBuffer' >
							<return exp='.dat1' />
							<argument exp='.idx + 1' />
						</command>
						<command class_type='calculation' title='Position bytes into long variable' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Return = 0' />
							<exp exp='.Return = .Return | .dat1' />
							<exp exp='.Return = .Return &lt;&lt; 8' />
							<exp exp='.Return = .Return | .dat0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Read_4_Byte_Packet' description='' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='idx' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='dat0' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='dat1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='dat2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='dat3' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Read Byte From Buffer' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ReadByteFromBuffer' >
							<return exp='.dat0' />
							<argument exp='.idx' />
						</command>
						<command class_type='call' title='Read Byte From Buffer' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ReadByteFromBuffer' >
							<return exp='.dat1' />
							<argument exp='.idx + 1' />
						</command>
						<command class_type='call' title='Read Byte From Buffer' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ReadByteFromBuffer' >
							<return exp='.dat2' />
							<argument exp='.idx + 2' />
						</command>
						<command class_type='call' title='Read Byte From Buffer' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ReadByteFromBuffer' >
							<return exp='.dat3' />
							<argument exp='.idx + 3' />
						</command>
						<command class_type='calculation' title='Position bytes into long variable' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Return = 0' />
							<exp exp='.Return = .dat3' />
							<exp exp='.Return = .Return &lt;&lt; 8' />
							<exp exp='.Return = .Return | .dat2' />
							<exp exp='.Return = .Return &lt;&lt; 8' />
							<exp exp='.Return = .Return | .dat1' />
							<exp exp='.Return = .Return &lt;&lt; 8' />
							<exp exp='.Return = .Return | .dat0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Find_Next_BMP' description='' >
						<return name='Return' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' />
						<local name='retval' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idx' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='filetype' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='4' />
						</local>
						<local name='Reset_Counter' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.retval = 1' />
						</command>
						<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Reset_Counter = 0' />
						</command>
						<command class_type='loop' title='Loop' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.retval &gt; 0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ScanCurrentFolder' >
									<return exp='.retval' />
									<argument exp='file_idx' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='If File Found' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.retval = 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.Reset_Counter = 0' />
										</command>
										<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.idx = 0' />
										</command>
										<command class_type='loop' title='Loop' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.idx &lt; 11' >
											<flowline >
												<command class_type='call' title='Read byte from filename' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ReadByteFromScan' >
													<return exp='.retval' />
													<argument exp='.idx' />
												</command>
												<command class_type='decision' title='End of string?' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.retval = &apos; &apos;' swap='0' >
													<flowline >
														<command class_type='calculation' title='null - terminate string' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='.Return[.idx] = 0' />
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='copy to return variable' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='.Return[.idx] = .retval' />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='increment filename idx' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.idx = .idx + 1' />
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Check for bmp file extension' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.filetype = Right$ (.Return,3)' />
											<exp exp='.retval = Compare$ (.filetype,&quot;BMP&quot;,1)' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.retval &gt; 1' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.Reset_Counter = .Reset_Counter + 1' />
												</command>
												<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.Reset_Counter = 20' swap='0' >
													<flowline >
														<command class_type='calculation' title='Reset folder index' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='file_idx = 0' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Reset folder index' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='file_idx = 0' />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Increment file index' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='file_idx = file_idx + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='null - terminate string' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Return[11] = 0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Increment_idx' description='' >
						<return name='Return' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='idx' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='eof' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Assign incremented value to return variable' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.Return = .idx + 1' />
						</command>
						<command class_type='decision' title='If we are at the end of the sector' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.idx + 1 = 512' swap='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='MoveToNextFileSector' >
									<return exp='.eof' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.eof' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.Return = 512' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='.Return = 0' />
										</command>
									</flowline>
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Display_BMP' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='filename' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='11' />
						</param>
						<param name='X' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Y' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='retval' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='idx' type='s16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Data_Offset' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='width' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
						<local name='height' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Header_field' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Bits_Per_Pixel' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Compression' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='width_idx' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='R' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='G' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='B' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Open File' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='OpenFile' >
							<return exp='.retval' />
							<argument exp='.filename' />
						</command>
						<command class_type='decision' title='Confirm File Opened' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.retval = 0' swap='0' >
							<flowline >
								<command class_type='call' title='Read Header Field' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Read_2_Byte_Packet' >
									<return exp='.Header_field' />
									<argument exp='0' />
								</command>
								<command class_type='decision' title='Confirm &quot;BM&quot; file format' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.Header_field = (&apos;M&apos; &lt;&lt; 8) | &apos;B&apos;' swap='0' >
									<flowline >
										<command class_type='call' title='Read Data Offset' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Read_4_Byte_Packet' >
											<return exp='.Data_Offset' />
											<argument exp='0x0A' />
										</command>
										<command class_type='call' title='Read pixel width' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Read_4_Byte_Packet' >
											<return exp='.width' />
											<argument exp='0x12' />
										</command>
										<command class_type='call' title='Read pixel height' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Read_4_Byte_Packet' >
											<return exp='.height' />
											<argument exp='0x16' />
										</command>
										<command class_type='call' title='Read pixel data format' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Read_2_Byte_Packet' >
											<return exp='.Bits_Per_Pixel' />
											<argument exp='0x1C' />
										</command>
										<command class_type='call' title='Read file compression' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Read_4_Byte_Packet' >
											<return exp='.Compression' />
											<argument exp='0x1E' />
										</command>
										<command class_type='decision' title='Check we can read the data' cmdcolor='3568629' cmdcolor_sec='3568629' exp='(.Bits_Per_Pixel = 24) &amp;&amp; (.Compression = 0)' swap='0' >
											<flowline >
												<command class_type='loop' title='Move to sector containing start of pixel data' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.Data_Offset &gt; 511' >
													<flowline >
														<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='MoveToNextFileSector' >
															<argument exp='0' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='.Data_Offset = .Data_Offset - 512' />
														</command>
													</flowline>
												</command>
												<command class_type='calculation' title='Initialise idx to start of data' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
													<exp exp='.idx = .Data_Offset' />
												</command>
												<command class_type='comment' title='' comment='BMP files run from left to right 
working upwards a row at a time
from bottom to top.
' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
												<command class_type='loop' title='Loop through data' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.height &gt; 0' >
													<flowline >
														<command class_type='calculation' title='Reset Row Idx' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='.width_idx = 0' />
														</command>
														<command class_type='loop' title='Read and Print a row' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='.width &gt; .width_idx' >
															<flowline >
																<command class_type='call' title='Read Blue Data Byte' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ReadByteFromBuffer' >
																	<return exp='.B' />
																	<argument exp='.idx' />
																</command>
																<command class_type='call' title='Call Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Increment_idx' >
																	<return exp='.idx' />
																	<argument exp='.idx' />
																</command>
																<command class_type='call' title='Read Green Data Byte' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ReadByteFromBuffer' >
																	<return exp='.G' />
																	<argument exp='.idx' />
																</command>
																<command class_type='call' title='Call Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Increment_idx' >
																	<return exp='.idx' />
																	<argument exp='.idx' />
																</command>
																<command class_type='call' title='Read Red Data Byte' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='ReadByteFromBuffer' >
																	<return exp='.R' />
																	<argument exp='.idx' />
																</command>
																<command class_type='call' title='Call Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Increment_idx' >
																	<return exp='.idx' />
																	<argument exp='.idx' />
																</command>
																<command class_type='decision' title='EOF?' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.idx = 512' swap='0' >
																	<flowline >
																		<command class_type='goto' title='Goto Connection Point' textarea='36,0,511,300' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='' />
																	</flowline>
																	<flowline />
																</command>
																<command class_type='call' title='Set Pixel Colour' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD' macro='SetForegroundColour' >
																	<argument exp='.R' />
																	<argument exp='.G' />
																	<argument exp='.B' />
																</command>
																<command class_type='call' title='Print Pixel' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD' macro='Plot' >
																	<argument exp='.X + .width_idx' />
																	<argument exp='.Y + (.height - 1)' />
																</command>
																<command class_type='calculation' title='Move to next pixel in row' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
																	<exp exp='.width_idx = .width_idx + 1' />
																</command>
															</flowline>
														</command>
														<command class_type='calculation' title='Calculate number of data bytes per row' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='.width_idx = .width * (.Bits_Per_Pixel &gt;&gt; 3)' />
														</command>
														<command class_type='loop' title='Row data always ends 32-bit aligned' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='(.width_idx MOD 4) != 0' >
															<flowline >
																<command class_type='call' title='Call Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Increment_idx' >
																	<return exp='.idx' />
																	<argument exp='.idx' />
																</command>
																<command class_type='decision' title='Decision' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.idx = 512' swap='0' >
																	<flowline >
																		<command class_type='goto' title='Goto Connection Point' textarea='36,0,511,300' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='' />
																	</flowline>
																	<flowline />
																</command>
																<command class_type='calculation' title='Calculation' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
																	<exp exp='.width_idx = .width_idx + 1' />
																</command>
															</flowline>
														</command>
														<command class_type='calculation' title='Move to next row' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='.height = .height - 1' />
														</command>
													</flowline>
												</command>
												<command class_type='label' title='Connection Point' textarea='36,0,511,300' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='A' />
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD' macro='Initialise' />
						<command class_type='loop' title='Loop' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='card_status &gt; 0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='Initialise' >
									<return exp='card_status' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD' macro='Print' >
							<argument exp='&quot;Init OK&quot;' />
							<argument exp='2' />
							<argument exp='2' />
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='delay' title='Delay' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' exp='2' type='2' />
						<command class_type='call' title='Set background to white' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD' macro='SetBackgroundColour' >
							<argument exp='255' />
							<argument exp='255' />
							<argument exp='255' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='FAT' macro='OpenFolder' >
							<argument exp='&quot;BMP&quot;' />
						</command>
						<command class_type='loop' title='Loop' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Find_Next_BMP' >
									<return exp='filename' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD' macro='ClearDisplay' />
								<command class_type='call' title='Call Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Display_BMP' >
									<argument exp='filename' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD' macro='SetForegroundColour' >
									<argument exp='0' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Print Filename' textarea='36,0,511,300' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD' macro='Print' >
									<argument exp='filename' />
									<argument exp='2' />
									<argument exp='2' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='delay' title='Delay' textarea='36,0,511,300' cmdcolor='7895044' cmdcolor_sec='7895044' exp='5' type='2' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='15d02383-645d-4bbe-8732-a67162cdb90c' vmin='3' vmaj='1' codename='GLCD' x='-22.8571' y='-2.28571' 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='132' />
					<value target='pixel_width' data='132' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='colour_bit_depth' data='8' />
					<value target='red_bit_depth' data='3' />
					<value target='green_bit_depth' data='3' />
					<value target='blue_bit_depth' data='2' />
					<value target='FGCOL' data='0' />
					<value target='BGCOL' data='255' />
					<value target='data_pin' data='$PORTB0.0' />
					<value target='clock_pin' data='$PORTB0.1' />
					<value target='chip_sel_pin' data='$PORTB0.2' />
					<value target='reset_pin' data='$PORTB0.3' />
					<value target='DisplayMethod' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0b61bd39-05a3-46ee-a2a5-da7bffb583c5' vmin='7' vmaj='2' codename='FAT' x='22.8571' y='2.28571' 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='max_concurrent_files' data='1' />
					<value target='EOFtype' data='000' />
					<value target='Channel' data='0' />
					<value target='PR_SCALE' data='064' />
					<value target='PR_SCALE2' data='000' />
					<value target='cs_pin' data='$PORTD.7' />
					<value target='mosi_pin' data='$PORTD.1' />
					<value target='miso_pin' data='$PORTD.2' />
					<value target='sck_pin' data='$PORTD.4' />
					<value target='MosiRemap' data='000' />
					<value target='MisoRemap' data='000' />
					<value target='ClkRemap' data='000' />
					<value target='root_dir' data='$(srcdir)' />
					<value target='AutoInsertCard' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='65535' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='1' lighting='2' brightness='256' perspective='0' >
		<background rgb='8409120' img='' style='4' />
		<table rgb='3158137' img='' style='0' size='25' />
		<camera xe='2.36089' ye='-7.66383' ze='122.465' xt='2.36089' yt='-7.66383' 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='Find_Next_BMP' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAABAUAAHgDAAA' zoom='75' scrollx='0' scrolly='78' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAABAUAAHgDAAA' zoom='75' scrollx='0' scrolly='465' flags='0' />
	</layout>
</document>
</root>
