<root>
<document schema='101' license='1,Ben Rowland,XHZ9AR' title='' description='' target='PIC.18F.ECIO-40' >
	<config data='!0,ffffffff!8,ffffffff!10,ffffffff!18,ffffffff!20,ffffffff!28,ffffffff!30,ffffffff!38,ffffffff!40,ffffffff!48,ffffffff!50,ffffffff!58,ffffffff!60,ffffffff!68,ffffffff' clkspd='48000000' simspd='0' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='0' />
			<data name='userpins' value='0' />
			<data name='speed' value='1000' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='2' />
			<data name='clkbit' value='4' />
			<data name='dataport' value='0' />
			<data name='databit' value='5' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='1' />
			<data name='ictrate' value='1000' />
			<data name='ictmask' value='116719' />
		</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='794c1cdc-654b-473f-8466-565001e9279a' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='Misc' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' macronames='$(type)_$(module)__$(macro)' >
			<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='contar' type='u8' 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>
				<variable public='0' >
					<def class_type='variable' name='vueltas' type='u32' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Main' description='' >
						<command class_type='call' title='Llamar a Macro de Componente' component='LCD1' macro='Start' />
						<command class_type='call' title='Llamar a Macro de Componente' component='LCD1' macro='Clear' />
						<command class_type='call' title='Llamar a Macro de Componente' component='PWM1' macro='Enable' />
						<command class_type='call' title='Llamar a Macro de Componente' component='PWM1' macro='SetDutyCycle' >
							<argument exp='150' />
						</command>
						<command class_type='interrupt' title='Interrupción' enable='1' name='TMR0' call='int' >
							<settings timer='1' prescale='256' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='0' />
								<option value='8' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='loop' title='Bucle' type='0' exp='1' >
							<flowline >
								<command class_type='output' title='Salida' mode='1' port='1048579' mask='8' exp='0' />
								<command class_type='calculation' title='Cálculo' >
									<exp exp='contar = contar + 1' />
								</command>
								<command class_type='call' title='Llamar a Macro de Componente' component='PWM1' macro='Disable' />
								<command class_type='delay' title='Demora' exp='1000' type='1' />
								<command class_type='call' title='Llamar a Macro de Componente' component='PWM1' macro='Enable' />
								<command class_type='delay' title='Demora' exp='50' type='1' />
								<command class_type='call' title='Llamar a Macro de Componente' component='LCD1' macro='Clear' />
								<command class_type='call' title='Llamar a Macro de Componente' component='LCD1' macro='Cursor' >
									<argument exp='0' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Llamar a Macro de Componente' component='LCD1' macro='PrintNumber' >
									<argument exp='contar' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='int' description='' >
						<command class_type='output' title='Salida' mode='1' port='1048579' mask='8' exp='1' />
						<command class_type='delay' title='Demora' exp='1' type='1' />
						<command class_type='output' title='Salida' mode='1' port='1048579' mask='8' exp='0' />
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='4' vmaj='1' codename='PWM1' x='0' y='-32' z='1.285' xsz='0.902256' ysz='1.2' 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='channel' data='001' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTC.2' />
					<value target='RemapPin' data='' />
					<value target='period' data='255' />
					<value target='prescale' data='004' />
					<value target='period_calc' data='341.413452' />
					<value target='frequency_calc' data='2.929000' />
					<value target='pwm_prescale' data='16' />
					<value target='SimRep' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='0' vmaj='1' codename='led_5mm_clip1' x='0' y='0' z='-3.25' 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='pin' data='$PORTD.3' />
					<value target='polarity' data='001' />
					<value target='on_color' data='8453975' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0953aac0-9c23-4c2f-9843-88954a4191ea' vmin='7' vmaj='1' codename='LCD1' x='0' y='24' z='1.05' xsz='80' ysz='24' zsz='1.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='Pin_Data_0' data='$PORTB.0' />
					<value target='Pin_Data_1' data='$PORTB.1' />
					<value target='Pin_Data_2' data='$PORTB.2' />
					<value target='Pin_Data_3' data='$PORTB.3' />
					<value target='Pin_RS' data='$PORTB.4' />
					<value target='Pin_E' data='$PORTB.5' />
					<value target='Rows' data='004' />
					<value target='Columns' data='020' />
					<value target='BackgroundColor' data='49152' />
					<value target='LineColor' data='0' />
					<value target='TextColor' data='0' />
					<value target='Font' data='@Gulim' />
					<value target='CursorPosX' data='1' />
					<value target='CursorPosY' data='0' />
				</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='101.325' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='int' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAABgIAAJACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAABgIAAJACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
