<root>
<document schema='101' license='0,34160715,DZC9B3' title='Battery Chaerger with dip ASwitch setting to set number of batteries' description='' target='PIC.16F.16F84A' >
	<config data='!0,3ffa%0,2%2,0%3,1%4,3ff' clkspd='19660800' simspd='6' 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='' 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='Battery_Count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Counter' 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='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Main' description='' >
						<command class_type='loop' title='Loop' textarea='36,0,511,300' type='0' exp='1' start='0' >
							<flowline >
								<command class_type='output' title='Clear Port A' textarea='36,0,511,300' mode='0' port='1048576' mask='0' exp='0' />
								<command class_type='output' title='Clear Port B' textarea='36,0,511,300' mode='0' port='1048577' mask='0' exp='0' />
								<command class_type='calculation' title='Init Variables' textarea='36,0,511,300' >
									<exp exp='Battery_Count = 0' />
									<exp exp='Counter = 0' />
									<exp exp='Count = 1' />
								</command>
								<command class_type='loop' title='Collect Number Of Loops From A0 - A2' textarea='36,0,511,300' type='0' exp='Battery_Count = 0' >
									<flowline >
										<command class_type='input' title='Input' textarea='36,0,511,300' mode='2' port='1048576' mask='7' exp='Battery_Count' />
									</flowline>
								</command>
								<command class_type='loop' title='Perform Number Of Loops' textarea='36,0,511,300' type='0' exp='Counter &lt; Battery_Count' >
									<flowline >
										<command class_type='output' title='Turn off Charger' textarea='36,0,511,300' mode='1' port='1048576' mask='16' exp='0' />
										<command class_type='delay' title='Delay' textarea='36,0,511,300' exp='1' type='2' />
										<command class_type='output' title='Connect Battery' textarea='36,0,511,300' mode='2' port='1048577' mask='127' exp='Count' />
										<command class_type='delay' title='Delay' textarea='36,0,511,300' exp='1' type='2' />
										<command class_type='output' title='Port A4 On Charger on' textarea='36,0,511,300' mode='1' port='1048576' mask='16' exp='1' />
										<command class_type='delay' title='Delay' textarea='36,0,511,300' exp='1' type='2' />
										<command class_type='calculation' title='Calculation' textarea='36,0,511,300' >
											<exp exp='Counter = Counter + 1' />
											<exp exp='Count = Count * 2' />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='c0df38ee-7a7e-4a0a-bfd5-5a7745203826' vmin='4' vmaj='1' codename='v5__switchbank0' x='-2.28571' y='-19.8095' 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='count' data='3' />
					<value target='port' data='5' />
					<value target='pin0' data='$PORTF.0' />
					<value target='pin1' data='$PORTF.1' />
					<value target='pin2' data='$PORTF.2' />
					<value target='pin3' data='$PORTA0.0' />
					<value target='pin4' data='$PORTA0.0' />
					<value target='pin5' data='$PORTA0.0' />
					<value target='pin6' data='$PORTA0.0' />
					<value target='pin7' data='$PORTA0.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='0' />
					<value target='operation' data='001' />
					<value target='align' data='0' />
					<value target='spacing' data='12.000000' />
					<value target='reverse' data='0' />
					<value target='show_labels' data='004' />
					<value target='label_color' data='16777215' />
					<value target='target_object' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c8da67a7-fc7b-48c0-8c3f-3264c74f4024' vmin='0' vmaj='2' codename='v5__ledarray0' x='-9.14286' y='-1.52381' 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='count' data='7' />
					<value target='port' data='005' />
					<value target='pin0' data='$PORTF.0' />
					<value target='pin1' data='$PORTF.1' />
					<value target='pin2' data='$PORTF.2' />
					<value target='pin3' data='$PORTF.3' />
					<value target='pin4' data='$PORTF.4' />
					<value target='pin5' data='$PORTF.5' />
					<value target='pin6' data='$PORTF.6' />
					<value target='pin7' data='$PORTA0.0' />
					<value target='polarity' data='1' />
					<value target='full_port' data='$PORTF' />
					<value target='align' data='0' />
					<value target='spacing' data='7.000000' />
					<value target='reverse' data='0' />
					<value target='target_object' data='' />
					<value target='shape' data='4' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<value target='color_same' data='1' />
					<value target='color_led0' data='255' />
					<value target='color_led1' data='65280' />
					<value target='color_led2' data='65280' />
					<value target='color_led3' data='65280' />
					<value target='color_led4' data='65535' />
					<value target='color_led5' data='65535' />
					<value target='color_led6' data='255' />
					<value target='color_led7' data='255' />
					<value target='bitmask' data='127' />
					<value target='inv_bitmask' data='-128' />
					<value target='show_label' data='000' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c8da67a7-fc7b-48c0-8c3f-3264c74f4024' vmin='0' vmaj='2' codename='v5__ledarray1' x='11.4286' y='21.3333' 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='count' data='1' />
					<value target='port' data='005' />
					<value target='pin0' data='$PORTF.0' />
					<value target='pin1' data='$PORTA0.0' />
					<value target='pin2' data='$PORTA0.0' />
					<value target='pin3' data='$PORTA0.0' />
					<value target='pin4' data='$PORTA0.0' />
					<value target='pin5' data='$PORTA0.0' />
					<value target='pin6' data='$PORTA0.0' />
					<value target='pin7' data='$PORTA0.0' />
					<value target='polarity' data='1' />
					<value target='full_port' data='$PORTF' />
					<value target='align' data='0' />
					<value target='spacing' data='7.000000' />
					<value target='reverse' data='0' />
					<value target='target_object' data='' />
					<value target='shape' data='4' />
					<value target='width' data='5.000000' />
					<value target='height' data='5.000000' />
					<value target='depth' data='2.500000' />
					<value target='color_same' data='1' />
					<value target='color_led0' data='65280' />
					<value target='color_led1' data='65280' />
					<value target='color_led2' data='65280' />
					<value target='color_led3' data='65280' />
					<value target='color_led4' data='65535' />
					<value target='color_led5' data='65535' />
					<value target='color_led6' data='255' />
					<value target='color_led7' data='255' />
					<value target='bitmask' data='1' />
					<value target='inv_bitmask' data='-2' />
					<value target='show_label' data='000' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='63177601-e8e2-4330-89d3-a4c5a7e228f5' vmin='1' vmaj='1' codename='led_array_pcb1' x='16.1695' y='12' z='6.23729' xsz='2.71186' ysz='2.71186' zsz='2.71186' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='count' data='7' />
					<value target='polarity' data='001' />
					<value target='port' data='001' />
					<value target='pin0' data='$PORTB.0' />
					<value target='pin1' data='$PORTB.1' />
					<value target='pin2' data='$PORTB.2' />
					<value target='pin3' data='$PORTB.3' />
					<value target='pin4' data='$PORTB.4' />
					<value target='pin5' data='$PORTB.5' />
					<value target='pin6' data='$PORTB.6' />
					<value target='pin7' data='$PORTA.7' />
					<value target='full_port' data='$PORTB' />
					<value target='align' data='000' />
					<value target='spacing' data='7.000000' />
					<value target='reverse' data='0' />
					<value target='show_labels' data='003' />
					<value target='color_led0' data='65280' />
					<value target='label_color' data='16777215' />
					<value target='bitmask' data='255' />
					<value target='inv_bitmask' data='-256' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip2' x='-4.1' y='-20.1' z='-3.85' xsz='2.05128' ysz='2.05128' 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='pin' data='$PORTA.4' />
					<value target='polarity' data='001' />
					<value target='on_color' data='255' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='sw_toggle_mtl_pnl1' x='-24' y='56' z='-2.4395' 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='pin' data='$PORTA.2' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='sw_toggle_mtl_pnl2' x='0' y='56' z='-2.4395' 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='pin' data='$PORTA.1' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='e8f04af0-03d9-4b1c-83d3-9d0b1dc0f80a' vmin='1' vmaj='1' codename='sw_toggle_mtl_pnl3' x='32' y='56' z='-2.4395' 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='pin' data='$PORTA.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73d493a-b6a0-4dbe-b4b5-79648f67d11e' vmin='2' vmaj='1' codename='DSPInput1' x='0' y='0' z='9.03251' xsz='43.5' ysz='32' zsz='5.965' 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='buffer_manager' data='000' />
					<value target='input_a' data='000' />
					<value target='size_a' data='' />
					<value target='depth_a' data='' />
					<value target='sign_a' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='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' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAVwUAAK4CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
