<root>
<document schema='101' license='1,SiliconPowerSystemsRajkot01,1PXFY5' title='TempAVR 1' description='' target='PIC.16F.16F684' >
	<config data='!0,3cf4%0,4%3,0%4,1%5,1%6,1%7,1%8,0%a,1%b,1' clkspd='8000000' 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='7ce60d82-9e8e-4732-95aa-8201c91fc727' 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='Vset' type='u8' description='Volt set value is read to start soft start of Vref through PWM' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Vref' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='up' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Vsetcheck' type='u8' description='Checks whether the Vset value is present' 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>
				<variable public='0' >
					<def class_type='variable' name='down' type='b1' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='zcpulse' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='pulseduty' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Component Macro' component='PWM1' macro='Enable' />
						<command class_type='call' title='Call Component Macro' component='PWM1' macro='SetDutyCycle' >
							<argument exp='200' />
						</command>
						<command class_type='call' title='Call Component Macro' component='PWM1' macro='SetDutyCycle' >
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='native' title='C Code' ccode='/*
  Enter C code below this comment
*/
osccon = 0x70;' language='C' />
						<command class_type='delay' title='Delay' exp='60' type='1' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='2' exp='1' />
						<command class_type='call' title='Call Component Macro' component='PWM2' macro='Enable' />
						<command class_type='call' title='Call Component Macro' component='eeprom1' macro='Write' >
							<argument exp='2' />
							<argument exp='10' />
						</command>
						<command class_type='call' title='Call Component Macro' component='eeprom1' macro='Read' >
							<return exp='Vref' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' component='PWM2' macro='SetDutyCycle' >
							<argument exp='Vref' />
						</command>
						<command class_type='call' title='Call Component Macro' component='eeprom1' macro='Read' >
							<return exp='Vsetcheck' />
							<argument exp='1' />
						</command>
						<command class_type='decision' title='Decision' exp='Vsetcheck = 101' swap='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='eeprom1' macro='Write' >
									<argument exp='1' />
									<argument exp='101' />
								</command>
								<command class_type='call' title='Call Component Macro' component='eeprom1' macro='Write' >
									<argument exp='0' />
									<argument exp='128' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='call' title='Call Component Macro' component='eeprom1' macro='Read' >
							<return exp='Vset' />
							<argument exp='0' />
						</command>
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='sw_push_rnd_pnl2' macro='ReadState' >
									<return exp='up' />
								</command>
								<command class_type='decision' title='Decision' exp='up = 1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' exp='Vset = 200' swap='1' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Vset = Vset + 1' />
												</command>
												<command class_type='call' title='Call Component Macro' component='eeprom1' macro='Write' >
													<argument exp='0' />
													<argument exp='Vset' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' component='sw_push_rnd_pnl3' macro='ReadState' >
									<return exp='down' />
								</command>
								<command class_type='decision' title='Decision' exp='down = 1' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' exp='Vset = 100' swap='1' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Vset = Vset - 1' />
												</command>
												<command class_type='call' title='Call Component Macro' component='eeprom1' macro='Write' >
													<argument exp='0' />
													<argument exp='Vset' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='Vref &lt; Vset' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Vref = Vref + 1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='PWM2' macro='SetDutyCycle' >
											<argument exp='Vref' />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' exp='Vref &gt; Vset' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' >
													<exp exp='Vref = Vref - 1' />
												</command>
												<command class_type='call' title='Call Component Macro' component='PWM2' macro='SetDutyCycle' >
													<argument exp='Vref' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led_5mm1' x='-88' y='0' z='-1.90735e-007' xsz='5.87156' ysz='5.42373' 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='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<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='444fb704-814c-4707-a15c-759ba088505c' vmin='6' vmaj='1' codename='PWM1' x='40' y='-40' z='5.06133' xsz='2.13333' ysz='2.13333' zsz='2.13333' 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='channel' data='001' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTC.5' />
					<value target='RemapPin' data='' />
					<value target='timer' data='002' />
					<value target='period' data='255' />
					<value target='prescale' data='004' />
					<value target='period_calc' data='2048.000000' />
					<value target='frequency_calc' data='0.488281' />
					<value target='pwm_prescale' data='16' />
					<value target='SimRep' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='sw_push_rnd_pnl1' x='-40' y='-48' z='-6.175' 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='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='6' vmaj='1' codename='PWM2' x='40' y='24' z='2.928' xsz='2.13333' ysz='2.13333' zsz='2.13333' 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='channel' data='001' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTC.5' />
					<value target='RemapPin' data='' />
					<value target='timer' data='002' />
					<value target='period' data='255' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='128.000000' />
					<value target='frequency_calc' data='7.812500' />
					<value target='pwm_prescale' data='1' />
					<value target='SimRep' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dcbf571f-a6fa-402d-bdd4-be00cca4070f' vmin='1' vmaj='1' codename='eeprom1' x='-32' y='40' z='1.24088' xsz='20' ysz='20' zsz='20' 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='EESize' data='256 byte' />
					<value target='EEbitdepth' data='8 bit' />
					<value target='InitialValues' data='0,1,0x2,0x03,&apos;A&apos;,&apos;b&apos;,&quot;Hello&quot;' />
					<value target='InitValsParsed' data='0,1,0x2,0x03,&apos;A&apos;,&apos;b&apos;,&apos;H&apos;,&apos;e&apos;,&apos;l&apos;,&apos;l&apos;,&apos;o&apos;' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='sw_push_rnd_pnl2' x='-32' y='8' z='-6.175' 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='$PORTC.4' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
					<value target='operation' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='5c1da48f-ce54-4622-bdd9-fc812e373696' vmin='0' vmaj='1' codename='sw_push_rnd_pnl3' x='-56' y='8' z='-6.175' 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='000' />
				</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---------------------wAAAAAUAAAA.wEAALcBAAA' zoom='75' scrollx='0' scrolly='627' flags='0' />
	</layout>
</document>
</root>
