<root>
<document schema='101' license='1,Roberto Castaldo,J2WZYR' title='RX Flash Led' description='Software di ricezione segnaleper scheda FlashLed_RV1b' target='PIC.12F.12F683' >
	<config data='!0,3ff4%0,4%3,0%4,1%5,1%6,1%7,1%8,3%a,1%b,1' clkspd='8000000' simspd='5' 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 >
		<watch expr='caricato' />
		<watch expr='caricato' />
		<watch expr='Luce_Led' />
		<watch expr='RampaFinoQui' />
		<watch expr='Sel_alto' />
		<watch expr='Char_ricevuto' />
		<watch expr='Pippo' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='5f836e85-f4f0-43bb-89e0-25bd89e31db7' vstate='40' vmin='0' vmaj='0' srcleaf='' visiblename='panel' description='' category='Misc' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='5' y='0' z='0' xsz='0.5' ysz='0.5' zsz='0.5' xang='50' yang='0' zang='0' xquat='0.422618' yquat='0' zquat='0' wquat='0.906308' visible='1' interactive='1' solid='1' layer='0' poslock='0' macronames='$(type)_$(module)__$(macro)' >
			<resources />
			<properties >
				<property name='Baud Rate' target='RS232::cal_uart::BAUD' typeid='14' hidden='0' locked='0' info='' />
			</properties>
			<values >
				<value target='RS232::cal_uart::BAUD' data='600' />
			</values>
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Led_Spenti' type='s16' description='I led sono totalmente spenti' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Flag_avverto' type='b1' description='valore 0 o 1 che viene posto in uscita per essere usato come flag' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Abbandona_Loop' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Pointer_chars_prima_ricezione' type='u8' description='Puntatore al numerodi carattere ricevuto alla prima accensione' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Sel_alto' type='b1' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='caricato' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Parametro_ricevuto' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Char_ricevuto' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Luce_Led' type='u8' description='Variabile che contiene valore di Duty Cicleda inviare ai led' isconst='0' isinit='1' usrinit='0' setinit='Led_Spenti' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Decremento' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='RampaFinoQui' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Acceso' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Incremento' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Pippo' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<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='osccon = 0x70;' language='C' />
						<command class_type='output' title='Output' mode='1' port='1048576' mask='4' exp='0' />
						<command class_type='calculation' title='Calcolo' >
							<exp exp='Abbandona_Loop = 0' />
						</command>
						<command class_type='calculation' title='Calcolo' >
							<exp exp='Pointer_chars_prima_ricezione = 0' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='2' />
						<command class_type='call' title='Call Component Macro' component='RS232' macro='Initialise' />
						<command class_type='input' title='Input' disable='1' mode='1' port='1048576' mask='32' exp='Sel_alto' />
						<command class_type='loop' title='Ciclo' type='0' exp='1' >
							<flowline >
								<command class_type='switch' title='Selezione' textarea='36,25,36,25' exp='Pointer_chars_prima_ricezione' >
									<case >
										<flowline >
											<command class_type='call' title='Call Component Macro' component='RS232' macro='ReceiveChar' >
												<return exp='Char_ricevuto' />
												<argument exp='255' />
											</command>
											<command class_type='decision' title='Decisione' exp='Char_ricevuto &lt; 255' swap='0' >
												<flowline >
													<command class_type='decision' title='Decisione' exp='Char_ricevuto = &apos;C&apos;' swap='0' >
														<flowline >
															<command class_type='calculation' title='Calcolo' >
																<exp exp='Pointer_chars_prima_ricezione = 1' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='Calcolo' >
																<exp exp='Pointer_chars_prima_ricezione = 0' />
															</command>
														</flowline>
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='1' >
										<flowline >
											<command class_type='call' title='Call Component Macro' component='RS232' macro='ReceiveChar' >
												<return exp='Char_ricevuto' />
												<argument exp='255' />
											</command>
											<command class_type='decision' title='Decisione' exp='Char_ricevuto &lt; 255' swap='0' >
												<flowline >
													<command class_type='decision' title='Decisione' exp='Char_ricevuto = &apos;O&apos;' swap='0' >
														<flowline >
															<command class_type='calculation' title='Calcolo' >
																<exp exp='Pointer_chars_prima_ricezione = 2' />
															</command>
														</flowline>
														<flowline />
													</command>
												</flowline>
												<flowline >
													<command class_type='calculation' title='Calcolo' >
														<exp exp='Pointer_chars_prima_ricezione = 0' />
													</command>
												</flowline>
											</command>
										</flowline>
									</case>
									<case exp='2' >
										<flowline >
											<command class_type='call' title='Call Component Macro' component='RS232' macro='ReceiveChar' >
												<return exp='Char_ricevuto' />
												<argument exp='255' />
											</command>
											<command class_type='decision' title='Decisione' exp='Char_ricevuto &lt; 255' swap='0' >
												<flowline >
													<command class_type='decision' title='Decisione' exp='Char_ricevuto = &apos;M&apos;' swap='0' >
														<flowline >
															<command class_type='calculation' title='Calcolo' >
																<exp exp='Pointer_chars_prima_ricezione = 3' />
															</command>
														</flowline>
														<flowline >
															<command class_type='calculation' title='Calcolo' >
																<exp exp='Pointer_chars_prima_ricezione = 0' />
															</command>
														</flowline>
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='3' >
										<flowline >
											<command class_type='call' title='Call Component Macro' component='RS232' macro='ReceiveChar' >
												<return exp='Char_ricevuto' />
												<argument exp='255' />
											</command>
											<command class_type='decision' title='Decisione' exp='Char_ricevuto &lt; 255' swap='0' >
												<flowline >
													<command class_type='calculation' title='Calcolo' >
														<exp exp='Parametro_ricevuto = Char_ricevuto' />
													</command>
													<command class_type='calculation' title='Calcolo' >
														<exp exp='Pointer_chars_prima_ricezione = 4' />
													</command>
												</flowline>
												<flowline />
											</command>
										</flowline>
									</case>
									<case exp='4' >
										<flowline >
											<command class_type='calculation' title='Calcolo' disable='1' >
												<exp exp='Flag_avverto = !Flag_avverto' />
											</command>
											<command class_type='output' title='Uscita' disable='1' mode='1' port='1048576' mask='4' exp='Flag_avverto' />
											<command class_type='calculation' title='Calculation' >
												<exp exp='pippo = Parametro_ricevuto' />
											</command>
											<command class_type='call' title='Chiamata Macro Componente' disable='1' component='eeprom1' macro='Write' >
												<argument exp='0' />
												<argument exp='Parametro_ricevuto' />
											</command>
											<command class_type='delay' title='Ritardo' exp='200' type='1' />
											<command class_type='calculation' title='Calcolo' >
												<exp exp='Abbandona_Loop = 1' />
											</command>
											<command class_type='calculation' title='Calcolo' >
												<exp exp='Pointer_chars_prima_ricezione = 0' />
											</command>
										</flowline>
									</case>
								</command>
								<command class_type='decision' title='Decisione' exp='Abbandona_Loop = 1' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calcolo' >
											<exp exp='Abbandona_Loop = 0' />
										</command>
										<command class_type='goto' title='Vai a Punto di Connessione' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Punto di connessione' labelid='0' labelname='A' />
						<command class_type='call' title='Chiamata Macro Componente' disable='1' component='eeprom1' macro='Read' >
							<return exp='Pippo' />
							<argument exp='0' />
						</command>
						<command class_type='decision' title='Decision' exp='Pippo = &apos;A&apos;' swap='1' >
							<flowline >
								<command class_type='loop' title='Loop' type='0' exp='1' >
									<flowline >
										<command class_type='output' title='Output' mode='1' port='1048576' mask='4' exp='1' />
										<command class_type='delay' title='Delay1' exp='90' type='1' />
										<command class_type='output' title='Output' mode='1' port='1048576' mask='4' exp='0' />
										<command class_type='delay' title='Delay2' exp='15' type='1' />
										<command class_type='output' title='Output' mode='1' port='1048576' mask='4' exp='1' />
										<command class_type='delay' title='Delay1' exp='90' type='1' />
										<command class_type='output' title='Output' mode='1' port='1048576' mask='4' exp='0' />
										<command class_type='delay' title='Delay' exp='290' type='1' />
									</flowline>
								</command>
							</flowline>
							<flowline >
								<command class_type='loop' title='Loop' type='0' exp='1' >
									<flowline >
										<command class_type='output' title='Output' mode='1' port='1048576' mask='4' exp='0' />
										<command class_type='delay' title='400' exp='400' type='1' />
										<command class_type='output' title='Output' mode='1' port='1048576' mask='4' exp='1' />
										<command class_type='delay' title='Delay' exp='400' type='1' />
									</flowline>
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='7a287a58-cba5-42ad-b8a5-58694d7f678a' vmin='2' vmaj='1' codename='sw_slide_sub_pcb2' x='88' y='56' z='1.75' xsz='22.069' ysz='8.88889' 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.5' />
					<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='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_5mm_clip1' x='420' y='-210' z='-3.85' 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='001' />
					<value target='on_color' data='8453975' />
					<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='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='3' vmaj='1' codename='RS232' x='336' y='-200' 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='000' />
					<value target='BAUD' data='600' />
					<value target='DBITS' data='008' />
					<value target='RETURN' data='000' />
					<value target='ToutVal' data='255' />
					<value target='FLOWEN' data='000' />
					<value target='ECHO' data='000' />
					<value target='TX' data='$PORTA.1' />
					<value target='RX' data='$PORTA.4' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='' />
					<value target='label' data='RS232' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='ConsoleColumns' data='64' />
					<value target='DataSource' data='001' />
					<value target='com_port' data='003' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='295' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='dcbf571f-a6fa-402d-bdd4-be00cca4070f' vmin='1' vmaj='1' codename='eeprom1' x='354' y='-58' z='1.24088' xsz='-120' ysz='-128' 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='00' />
					<value target='InitValsParsed' data='00' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='shape' codename='shape1' x='0' y='0' z='0' xsz='64' ysz='64' zsz='64' 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='Shape' data='201' />
					<value target='Color' data='15790320' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0' />
					<value target='Image' data='' />
					<value target='Model' data='' />
					<value target='Unit' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='shape' codename='shape2' x='0' y='0' z='0' xsz='64' ysz='64' zsz='64' 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='Shape' data='201' />
					<value target='Color' data='15790320' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0' />
					<value target='Image' data='' />
					<value target='Model' data='' />
					<value target='Unit' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='2ed54982-ef92-4509-a67c-7b3a72f91279' vmin='0' vmaj='1' codename='InjectorHumanInterface1' x='211.965' y='-204.459' z='0' 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='CircularBufferSize' data='1000' />
					<value target='DataMode' 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='128.609' ye='-63.6727' ze='995' xt='128.609' yt='-63.6727' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='4' />
		<table rgb='7884836' img='' style='0' size='36' />
		<camera xe='-35.9211' ye='60.378' ze='2356.52' xt='-35.9211' yt='60.378' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAdAIAANwCAAA' zoom='60' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
