<root>
<document schema='101' license='1,UTT-PIC-DSPIC-V6 ,U2VDNQ' title='' description='' target='PIC16.24F.24FJ64GB004' >
	<config data='!0,ff3f!10,fcff!20,1bad!30,7f7f%0,f%4,1%5,1%6,0%7,0%8,ff%10,3f%16,3%18,0%1a,3%1c,1%1d,1%1e,1%1f,1%20,1%22,1%23,1%24,0%25,1%26,2%28,3%2b,1%2c,1%2f,0%30,f%34,1%35,1%36,1%37,0%38,3%3a,1%3b,1%3c,1%3d,1%3e,1%3f,0' clkspd='32000000' simspd='9' 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='usb_rx' />
		<watch expr='usb_octet1' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='7c6f9434-b355-4376-8e53-a869957f7261' vstate='40' 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' >
			<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='usb_str' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='usb_rx' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='usb_octet3' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='usb_octet2' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='usb_octet1' 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='slave_macro' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='delay' title='Pause' exp='100' type='1' />
						<command class_type='call' title='Appel de la Routine Composant' ccode='// Appel de la Routine Composant
// Appel de la Routine Composant: USB_Slave1::Initialise()
FCD_07281_USB_Slave1__Initialise();
' component='USB_Slave' macro='Initialise' />
						<command class_type='loop' title='Boucle' ccode='// Boucle
// Boucle: While 1
while (1)
{
' type='0' exp='1' >
							<flowline >
								<command class_type='output' title='Sortie' mode='1' port='135266305' mask='32' exp='1' />
								<command class_type='call' title='Appel de la Routine Composant' component='USB_Slave' macro='CheckRx' >
									<return exp='usb_rx' />
								</command>
								<command class_type='decision' title='Décision' exp='usb_rx' swap='0' >
									<flowline >
										<command class_type='output' title='Sortie' mode='1' port='135266304' mask='4' exp='1' />
										<command class_type='call' title='Appel de la Routine Composant' component='USB_Slave' macro='GetByte' >
											<return exp='usb_octet1' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Appel de la Routine Composant' component='USB_Slave' macro='GetByte' >
											<return exp='usb_octet2' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Appel de la Routine Composant' component='USB_Slave' macro='GetByte' >
											<return exp='usb_octet3' />
											<argument exp='2' />
										</command>
										<command class_type='output' title='Sortie' mode='1' port='135266304' mask='4' exp='0' />
										<command class_type='decision' title='Décision' exp='usb_octet1 = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Appel de la Routine Composant' component='USB_Slave' macro='SendString' >
													<argument exp='&quot;C11&quot;' />
													<argument exp='3' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Décision' exp='usb_octet1 = 2' swap='0' >
											<flowline >
												<command class_type='call' title='Appel de la Routine Composant' component='USB_Slave' macro='SendString' >
													<argument exp='&quot;C12&quot;' />
													<argument exp='3' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Décision' exp='usb_octet1 = 3' swap='0' >
											<flowline >
												<command class_type='call' title='Appel de la Routine Composant' component='USB_Slave' macro='SendString' >
													<argument exp='&quot;C13&quot;' />
													<argument exp='3' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Décision' exp='usb_octet2 = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Appel de la Routine Composant' component='USB_Slave' macro='SendString' >
													<argument exp='&quot;C21&quot;' />
													<argument exp='3' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='decision' title='Décision' exp='usb_octet3 = 1' swap='0' >
											<flowline >
												<command class_type='call' title='Appel de la Routine Composant' component='USB_Slave' macro='SendString' >
													<argument exp='&quot;C31&quot;' />
													<argument exp='3' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='output' title='Sortie' mode='1' port='135266305' mask='32' exp='0' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='26cbc2df-5ef0-47db-ab2f-c2425b14462f' vmin='1' vmaj='1' codename='USB_Slave' x='-16' y='56' 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='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='vendor_ID' data='4799' />
					<value target='product_ID' data='61488' />
					<value target='dev_name' data='Flowcode USB Slave' />
					<value target='dev_manufacturer' data='Matrix Multimedia Ltd.' />
					<value target='major_version' data='1' />
					<value target='minor_version' data='0' />
					<value target='enumeration_tout' data='0' />
					<value target='timeout' data='10' />
					<value target='country_code' data='000' />
					<value target='max_current' data='100' />
					<value target='usb_type' data='1' />
					<value target='slave_macro' data='slave_macro' />
					<value target='slave_params' data='000' />
					<value target='driver_directory' data='$(srcdir)' />
					<value target='driver_filename' data='mm_mchpusb' />
					<value target='gen_driver' data='0' />
					<value target='Instance' data='000' />
					<value target='SimTimeout' data='1000' />
					<value target='vid_pid_str' data='vid_12bf&amp;pid_f030' />
					<value target='label' data='USB Slave' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='3' vmaj='1' codename='RS232' x='48' y='-56' 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='001' />
					<value target='BAUD_LIST' data='004' />
					<value target='BAUD' data='9600' />
					<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='$PORTC.6' />
					<value target='RX' data='$PORTB.9' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='001' />
					<value target='RXRemap' data='009' />
					<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='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='3' vmaj='1' codename='RS2321' x='0' y='0' z='3.775' 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='002' />
					<value target='BAUD_LIST' data='004' />
					<value target='BAUD' data='9600' />
					<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='$PORTC.7' />
					<value target='RX' data='$PORTC.8' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='002' />
					<value target='RXRemap' data='024' />
					<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='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='15335401' 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---------------------wAAAAAUAAAAJwMAAIwCAAA' zoom='75' scrollx='10' scrolly='0' flags='0' />
		<view type='0' name='slave_macro' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAJwMAAIwCAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
