<root>
<document schema='101' license='1,Brian Van Staden,VF6C7K' title='' description='' target='PIC.18F.18F47K40' >
	<config data='!0,f78c!10,f6fd!20,ff8f!30,dfff!40,ffff!50,ffff%0,4%4,0%8,1%b,0%d,1%10,1%11,0%15,1%16,3%18,2%1a,1%1b,0%1c,1%1d,1%1f,1%20,f%25,0%28,7%2b,7%30,ff%38,1%39,1%3a,1%3c,1%3d,0%40,1%41,1%50,ff%59,1' clkspd='64000000' 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 >
		<watch expr='Add' />
		<watch expr='InternalAddress' />
		<watch expr='AddH' />
		<watch expr='AddL' />
	</debug>
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='3' />
			<data name='CalculatedCommsDelay' value='3' />
		</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='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='8476a515-a573-4b4f-9093-334971eb95b6' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' 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='ControlByte' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Key' type='u8' description='' isconst='0' isinit='1' usrinit='255' setinit='255' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='PageBytes' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Add' type='s32' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Index' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='InternalAddress' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='EEPROM' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='64' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LCD_PRINT' type='T8' description='' isconst='0' isinit='1' usrinit='&quot;&quot;' setinit='&quot;&quot;' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Delay_Time' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AddL' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Ack_Return' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='AddH' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LastByte' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Clear_set_Cursor' 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='LCDAdafruitOLED1' macro='Clear' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='LCDAdafruitOLED1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ReadMem' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='AddH = (InternalAddress &gt;&gt; 8)' />
							<exp exp='AddL = InternalAddress' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='Start' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='TransmitByte' >
							<return exp='Ack_Return' />
							<argument exp='ControlByte' />
						</command>
						<command class_type='comment' title='' comment='Transmit Upper internal addrerss Byte' textarea='500,145,500,145' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='TransmitByte' >
							<return exp='Ack_Return' />
							<argument exp='AddH' />
						</command>
						<command class_type='comment' title='' comment='Transmit Lower internal addrerss Byte' textarea='500,145,500,145' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='TransmitByte' >
							<return exp='Ack_Return' />
							<argument exp='AddL' />
						</command>
						<command class_type='comment' title='' comment='Restart Process' textarea='261,120,261,120' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='Restart' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='TransmitByte' >
							<return exp='Ack_Return' />
							<argument exp='ControlByte + 1' />
						</command>
						<command class_type='comment' title='' comment='Change Control Byte to read 0xA1' textarea='287,-90,287,-90' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Index = 0' />
							<exp exp='LastByte = 0' />
						</command>
						<command class_type='loop' title='Loop' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='Index &lt; PageBytes' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Index = (PageBytes - 1)' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='LastByte = 1' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='LastByte = 0' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='ReceiveByte' >
									<return exp='EEPROM [Index]' />
									<argument exp='LastByte' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Index = Index + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='Stop' />
						<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='5' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Set_Cusor_Line1' 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='LCDAdafruitOLED1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='WriteMem' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Index = 0' />
						</command>
						<command class_type='call' title='' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='Initialise' />
						<command class_type='call' title='Start I²C Transaction' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='Start' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='TransmitByte' >
							<return exp='Ack_Return' />
							<argument exp='ControlByte' />
						</command>
						<command class_type='comment' title='' comment='Split internal address into Upper and lower Bytes' textarea='187,59,187,59' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='AddH = (InternalAddress &gt;&gt; 8)' />
							<exp exp='AddL = InternalAddress' />
						</command>
						<command class_type='comment' title='' comment='Transmit Upper internal addrerss Byte' textarea='500,145,500,145' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='TransmitByte' >
							<return exp='Ack_Return' />
							<argument exp='AddH' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='TransmitByte' >
							<return exp='Ack_Return' />
							<argument exp='AddL' />
						</command>
						<command class_type='comment' title='' comment='Loop untill page bytes = index to write page ' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
						<command class_type='loop' title='Loop' textarea='36,0,511,300' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='Index &lt; PageBytes' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='TransmitByte' >
									<return exp='Ack_Return' />
									<argument exp='EEPROM [Index]' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='Index = Index + 1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='I2C_Master1' macro='Stop' />
						<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='5' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Delay' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='delay' type='s32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='.delay = 0' />
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='A' />
						<command class_type='native' title='C Code' ccode='/*
  Enter C code below this comment
*/
MX_CLEAR_WATCHDOG;' cmdcolor='3389439' cmdcolor_sec='3389439' language='C' />
						<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='.delay = Delay_Time' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.delay = 0' />
								</command>
							</flowline>
							<flowline >
								<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='10' type='1' />
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='.delay = .delay + 1' />
								</command>
								<command class_type='goto' title='Goto Connection Point' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='' />
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='LCD_Print' 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='LCDAdafruitOLED1' macro='PrintString' >
							<argument exp='LCD_Print' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='Backup and restor of 24LC256' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='label' title='Connection Point' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='A' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='LCDAdafruitOLED1' macro='Start' />
						<command class_type='call' title='Clear &amp; Set Cursor' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Clear_set_Cursor' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='LCD_Print = &quot;Back Up Restore&quot;' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
						<command class_type='call' title='Set Line 1 Cuser (0, 1)' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Set_Cusor_Line1' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='LCD_Print = &quot;3 = NEXT 9 = YES&quot;' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Key = 255' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='Key = 3' start='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='keypad_eb014' macro='GetNumber' >
									<return exp='Key' />
								</command>
								<command class_type='native' title='Watchdog Clear' ccode='/*
  Clear Whatchdog
*/
MX_CLEAR_WATCHDOG;' cmdcolor='3389439' cmdcolor_sec='3389439' language='C' />
								<command class_type='comment' title='' comment='If Call key pressed
then Exit' textarea='12,0,487,300' cmdcolor='1975743' cmdcolor_sec='1975743' />
								<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Key = 9' swap='0' >
									<flowline >
										<command class_type='call' title='Set Line 1 Cuser (0, 1)' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Set_Cusor_Line1' />
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='LCD_Print = &quot;5 = BCK 7 = RSTO&quot;' />
										</command>
										<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
										<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='Key = 10' start='0' >
											<flowline >
												<command class_type='native' title='Watchdog Clear' ccode='/*
  Clear Whatchdog
*/
MX_CLEAR_WATCHDOG;' cmdcolor='3389439' cmdcolor_sec='3389439' language='C' />
												<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='keypad_eb014' macro='GetNumber' >
													<return exp='Key' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Key = 5' swap='0' >
													<flowline >
														<command class_type='comment' title='' comment='Backup EEPROM' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
														<command class_type='call' title='Clear &amp; Set Cursor' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Clear_set_Cursor' />
														<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='LCD_Print = &quot;Is Backup board&quot;' />
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
														<command class_type='call' title='Set Line 1 Cuser (0, 1)' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Set_Cusor_Line1' />
														<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='LCD_Print = &quot;Pluged In ? P#&quot;' />
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
														<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='Key = 10' start='0' >
															<flowline >
																<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='keypad_eb014' macro='GetNumber' >
																	<return exp='Key' />
																</command>
																<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Key = 11' swap='0' >
																	<flowline >
																		<command class_type='call' title='Set Line 1 Cuser (0, 1)' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Clear_set_Cursor' />
																		<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																			<exp exp='LCD_Print = &quot;Backing Up&quot;' />
																		</command>
																		<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
																		<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																			<exp exp='PageBytes = 64' />
																			<exp exp='Add = 1' />
																			<exp exp='Key = 255' />
																		</command>
																		<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='Add = 512' start='0' >
																			<flowline >
																				<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1975743' cmdcolor_sec='1975743' component='LCDAdafruitOLED1' macro='Cursor' >
																					<argument exp='13' />
																					<argument exp='0' />
																				</command>
																				<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1975743' cmdcolor_sec='1975743' component='LCDAdafruitOLED1' macro='PrintNumber' >
																					<argument exp='Add' />
																				</command>
																				<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																					<exp exp='ControlByte = 0xa0' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ReadMem' />
																				<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																					<exp exp='ControlByte = 0xa8' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteMem' />
																				<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																					<exp exp='Add = Add + 1' />
																					<exp exp='InternalAddress = ((Add * 63) - 63) + 1' />
																				</command>
																			</flowline>
																		</command>
																		<command class_type='call' title='Clear &amp; Set Cursor' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Clear_set_Cursor' />
																		<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																			<exp exp='LCD_Print = &quot;Memory backed up&quot;' />
																			<exp exp='Key = 10' />
																		</command>
																		<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
																	</flowline>
																	<flowline />
																</command>
															</flowline>
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
															<exp exp='Delay_Time = 3000' />
														</command>
														<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Delay' />
														<command class_type='goto' title='Goto Connection Point' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='' />
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Key = 7' swap='0' >
															<flowline >
																<command class_type='call' title='Clear &amp; Set Cursor' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Clear_set_Cursor' />
																<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																	<exp exp='LCD_Print = &quot;Is Backop board&quot;' />
																</command>
																<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
																<command class_type='call' title='Set Line 1 Cuser (0, 1)' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Set_Cusor_Line1' />
																<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																	<exp exp='LCD_Print = &quot;Pluged In ? P#&quot;' />
																</command>
																<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
																<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='key = 10' start='0' >
																	<flowline >
																		<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='keypad_eb014' macro='GetNumber' >
																			<return exp='Key' />
																		</command>
																		<command class_type='decision' title='Decision' cmdcolor='3568629' cmdcolor_sec='3568629' exp='Key = 11' swap='0' >
																			<flowline >
																				<command class_type='call' title='Set Line 1 Cuser (0, 1)' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Clear_set_Cursor' />
																				<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																					<exp exp='LCD_Print = &quot;Restoring&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
																				<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																					<exp exp='PageBytes = 64' />
																					<exp exp='Add = 1' />
																					<exp exp='' />
																				</command>
																				<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='1' exp='Add = 512' start='0' >
																					<flowline >
																						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1975743' cmdcolor_sec='1975743' component='LCDAdafruitOLED1' macro='Cursor' >
																							<argument exp='13' />
																							<argument exp='0' />
																						</command>
																						<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1975743' cmdcolor_sec='1975743' component='LCDAdafruitOLED1' macro='PrintNumber' >
																							<argument exp='Add' />
																						</command>
																						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																							<exp exp='ControlByte = 0xa8' />
																						</command>
																						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='ReadMem' />
																						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																							<exp exp='ControlByte = 0xa0' />
																						</command>
																						<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='WriteMem' />
																						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																							<exp exp='Add = Add + 1' />
																							<exp exp='InternalAddress = ((Add * 63) - 63) + 1' />
																						</command>
																					</flowline>
																				</command>
																				<command class_type='call' title='Clear &amp; Set Cursor' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Clear_set_Cursor' />
																				<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																					<exp exp='LCD_Print = &quot;Memory Restored&quot;' />
																					<exp exp='Key = 10' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='LCD_Print' />
																			</flowline>
																			<flowline />
																		</command>
																	</flowline>
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
																	<exp exp='Delay_Time = 3000' />
																</command>
																<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='Delay' />
																<command class_type='goto' title='Goto Connection Point' cmdcolor='3389439' cmdcolor_sec='3389439' labelid='0' labelname='' />
															</flowline>
															<flowline />
														</command>
													</flowline>
												</command>
											</flowline>
										</command>
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' />
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='If 1 pressed go to 
previous menue' textarea='41,15,516,315' cmdcolor='1975743' cmdcolor_sec='1975743' />
									</flowline>
								</command>
								<command class_type='comment' title='' comment='If 3 Pressed then go 
to beginning of Menue' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='672cb410-6026-403b-aff7-0628fe9e8140' vmin='8' vmaj='1' codename='LCDAdafruitOLED1' x='10' y='70' z='3.575' xsz='80' ysz='36.3' zsz='7.15' 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='d0_pin' data='$PORTA.0' />
					<value target='d1_pin' data='$PORTA.1' />
					<value target='d2_pin' data='$PORTA.2' />
					<value target='d3_pin' data='$PORTA.3' />
					<value target='rs_pin' data='$PORTE.0' />
					<value target='rw_pin' data='$PORTB.2' />
					<value target='enable_pin' data='$PORTA.5' />
					<value target='Rows' data='2' />
					<value target='Columns' data='16' />
					<value target='BackgroundColor' data='4720649' />
					<value target='LineColor' data='8388608' />
					<value target='TextColor' data='16776960' />
					<value target='Font' data='Arial' />
					<value target='CursorPosX' data='9' />
					<value target='CursorPosY' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='b07090da-50a4-41ed-97d8-99016c092a14' vmin='0' vmaj='1' codename='keypad_eb014' x='10' y='-10' z='4.73' 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='port' data='002' />
					<value target='pin_col1' data='$PORTC.0' />
					<value target='pin_col2' data='$PORTC.1' />
					<value target='pin_col3' data='$PORTC.2' />
					<value target='pin_row1' data='$PORTC.4' />
					<value target='pin_row2' data='$PORTC.5' />
					<value target='pin_row3' data='$PORTC.6' />
					<value target='pin_row4' data='$PORTC.7' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='24219805-113d-4b12-b6bd-e1b0b0c33981' vmin='4' vmaj='1' codename='I2C_Master1' x='10' y='-60' z='0.755' xsz='60' ysz='26' zsz='1.51' 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='CHANNEL' data='000' />
					<value target='BAUD_LIST' data='001' />
					<value target='SRC' data='000' />
					<value target='SMB' data='000' />
					<value target='StopDelay' data='1' />
					<value target='BAUD' data='50000' />
					<value target='SDA' data='$PORTC.4' />
					<value target='SCL' data='$PORTC.3' />
					<value target='cal_i2c::SDAPins' data='002' />
					<value target='cal_i2c::SCLPins' data='010' />
					<value target='label' data='I2C Master' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='2105930' img='' style='0' />
		<camera xe='21.3749' ye='-6.44892' ze='219.113' xt='21.3749' yt='-6.44892' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='25' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' 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='WriteMem' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAcQUAANQCAAA' zoom='75' scrollx='0' scrolly='489' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAcQUAANQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ReadMem' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAcQUAANQCAAA' zoom='75' scrollx='0' scrolly='864' flags='0' />
		<view type='0' name='Delay' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAcQUAANQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Set_Cusor_Line1' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAcQUAANQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Clear_set_Cursor' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAcQUAANQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='LCD_Print' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAAcQUAANQCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
