<root>
<document scada='0' schema='102' license='1,44099625,E49CZW' title='' description='' fcversion='590336' target='PICO.PICO.Raspberry_Pi_RP2040' >
	<config data='' clkspd='125000000' simspd='0' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='0' />
			<data name='ClockPin' value='1' />
			<data name='DataPort' value='0' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='2' />
			<data name='CalculatedCommsDelay' value='2' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='0' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='115c534d-92b4-426d-92c7-8a5f53570780' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<gdiopts FullContainer='1' FullTransparency='1' ShowGdi='1' ShowOpengl='1' />
		<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' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Rx' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Length' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Data' type='T8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='50' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='State' type='b1' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Index' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='LedTestState' type='b1' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='blink' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
							<exp exp='State = State XOR 1' />
						</command>
						<command class_type='output' title='Output' cmdcolor='65535' cmdcolor_sec='65535' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' mode='1' port='4194304' mask='33554432' exp='State' usechipref='0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='KeyUp' description='Removes the keypress allowing a single character to be received.
Without calling this macro the component would send multiple key presses.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<local name='Data' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='8' />
						</local>
						<local name='Index' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='loop' title='Loop' textarea='56,63,56,63' cmdcolor='13688896' cmdcolor_sec='13749760' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' type='2' forvar='.Index' exp='8' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
									<exp exp='.Data[.Index] = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='65535' cmdcolor_sec='65535' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' component='USB_HID' macro='SendDataDirect' >
							<argument exp='.Data' />
						</command>
						<command class_type='delay' title='Delay to allow USB interrupt' cmdcolor='2139610' cmdcolor_sec='2139610' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='10' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='ASCIIToKeypress' description='Converts a ASCII character into a keypress.' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='Character' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Data' type='u8' description='HID Keyboard Data' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='8' />
						</local>
						<local name='Index' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='Caps' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
						<command class_type='loop' title='Loop' cmdcolor='13688896' cmdcolor_sec='13749760' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' type='2' forvar='.Index' exp='8' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
									<exp exp='.Data[.Index] = 0' />
								</command>
							</flowline>
						</command>
						<command class_type='switch' title='Numbers' textarea='36,25,36,25' cmdcolor='3937500' cmdcolor_sec='3937500' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='.Character' >
							<case >
								<flowline />
							</case>
							<case exp='&apos;0&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x62' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;1&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x59' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;2&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5A' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;3&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5B' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;4&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5C' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;5&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5D' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;6&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5E' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;7&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5F' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;8&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x60' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;9&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x61' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Numbers' textarea='36,25,36,25' cmdcolor='3937500' cmdcolor_sec='3937500' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='.Character' >
							<case >
								<flowline />
							</case>
							<case exp='&apos;)&apos;' >
								<flowline >
									<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[0] = 0x02' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x62' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;!&apos;' >
								<flowline >
									<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[0] = 0x02' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x59' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;&quot;&apos;' >
								<flowline >
									<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[0] = 0x02' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5A' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;£&apos;' >
								<flowline >
									<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[0] = 0x02' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5B' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;$&apos;' >
								<flowline >
									<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[0] = 0x02' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5C' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;%&apos;' >
								<flowline >
									<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[0] = 0x02' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5D' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;^&apos;' >
								<flowline >
									<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[0] = 0x02' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5E' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;&amp;&apos;' >
								<flowline >
									<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[0] = 0x02' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x5F' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;*&apos;' >
								<flowline >
									<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[0] = 0x02' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x60' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;(&apos;' >
								<flowline >
									<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[0] = 0x02' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x61' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='decision' title='Decision' cmdcolor='255' cmdcolor_sec='255' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='(.Character &gt;= &apos;A&apos;) &amp;&amp; (.Character &lt;= &apos;Z&apos;)' swap='0' >
							<flowline >
								<command class_type='calculation' title='Left shift modifier' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
									<exp exp='.Data[0] = 0x02' />
								</command>
								<command class_type='calculation' title='Convert to lower case' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
									<exp exp='.Character = .Character | 0x20' />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='switch' title='Numbers' textarea='36,25,36,25' cmdcolor='3937500' cmdcolor_sec='3937500' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='.Character' >
							<case >
								<flowline />
							</case>
							<case exp='&apos;a&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x04' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;b&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x05' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;c&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x06' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;d&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x07' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;e&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x08' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;f&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x09' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;g&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x0A' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;h&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x0B' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;i&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x0C' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;j&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x0D' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Numbers' textarea='36,25,36,25' cmdcolor='3937500' cmdcolor_sec='3937500' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='.Character' >
							<case >
								<flowline />
							</case>
							<case exp='&apos;k&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x0E' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;l&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x0F' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;m&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x10' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;n&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x11' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;o&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x12' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;p&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x13' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;q&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x14' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;r&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x15' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;s&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x16' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;t&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x17' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Numbers' textarea='36,25,36,25' cmdcolor='3937500' cmdcolor_sec='3937500' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='.Character' >
							<case >
								<flowline />
							</case>
							<case exp='&apos;u&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x18' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;v&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x19' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;w&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x1A' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;x&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x1B' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;y&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x1C' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;z&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x1D' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;\n&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x28' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;\r&apos;' >
								<flowline />
							</case>
							<case exp='&apos;\t&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x2B' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;/&apos;' >
								<flowline />
							</case>
						</command>
						<command class_type='switch' title='Numbers' textarea='36,64,36,64' cmdcolor='3937500' cmdcolor_sec='3937500' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='.Character' >
							<case >
								<flowline />
							</case>
							<case exp='&apos;*&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x55' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;-&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x56' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;+&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x57' />
									</command>
								</flowline>
							</case>
							<case exp='&apos;\\&apos;' >
								<flowline >
									<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
										<exp exp='.Data[2] = 0x64' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='65535' cmdcolor_sec='65535' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' component='USB_HID' macro='SendDataDirect' >
							<argument exp='.Data' />
						</command>
						<command class_type='delay' title='Delay to allow USB interrupt' cmdcolor='2139610' cmdcolor_sec='2139610' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='10' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Component Macro' cmdcolor='65535' cmdcolor_sec='65535' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' component='USB_HID' macro='Initialise' />
						<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
							<exp exp='Data = &quot;Hello From Your USB Keyboard Device! 12345\n&quot;' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
							<exp exp='Length = Length$ (Data)' />
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='255' cmdcolor_sec='255' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' enable='1' name='TMR1' call='blink' >
							<settings timer='1' prescale='-1' postscale='-1' rollover='250' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='250' />
								<option value='1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='loop' title='Loop' textarea='36,110,36,110' cmdcolor='13688896' cmdcolor_sec='13749760' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='delay' title='Long delay between sending strings' cmdcolor='2139610' cmdcolor_sec='2139610' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
								<command class_type='output' title='Output' cmdcolor='65535' cmdcolor_sec='65535' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' mode='1' port='4194304' mask='1' exp='true' usechipref='0' />
								<command class_type='delay' title='Long delay between sending strings' cmdcolor='2139610' cmdcolor_sec='2139610' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='1' type='2' />
								<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
									<exp exp='Index = 0' />
								</command>
								<command class_type='loop' title='Loop through string data' textarea='259,3,259,3' cmdcolor='13688896' cmdcolor_sec='13749760' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' type='0' exp='Index &lt; Length' >
									<flowline >
										<command class_type='call' title='Call Macro' cmdcolor='42495' cmdcolor_sec='42495' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' macro='ASCIIToKeypress' >
											<argument exp='Data[Index]' />
										</command>
										<command class_type='call' title='Remove keypress status' cmdcolor='42495' cmdcolor_sec='42495' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' macro='KeyUp' />
										<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
											<exp exp='Index = Index + 1' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Check for incoming - Status LEDs on a keyboard' cmdcolor='65535' cmdcolor_sec='65535' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' component='USB_HID' macro='CheckRx' >
									<return exp='Rx' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='255' cmdcolor_sec='255' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' exp='Rx' swap='0' >
									<flowline >
										<command class_type='call' title='Receive status LEDs' cmdcolor='65535' cmdcolor_sec='65535' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' component='USB_HID' macro='ReceiveByte' >
											<return exp='Rx' />
											<argument exp='0' />
										</command>
										<command class_type='output' title='Output to PORTB' disable='1' cmdcolor='65535' cmdcolor_sec='65535' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' mode='0' port='1048577' mask='0' exp='Rx' usechipref='1' />
									</flowline>
									<flowline />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='14150650' cmdcolor_sec='14150650' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' >
									<exp exp='LedTestState = LedTestState XOR 1' />
								</command>
								<command class_type='output' title='Output' cmdcolor='65535' cmdcolor_sec='65535' cmdcolor_txt='2105376' cmdgradient='1' cmdopacity='1' mode='1' port='4194304' mask='1' exp='false' usechipref='0' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='06a0a9b3-dd23-4592-a781-537a31b97c2a' vmin='4' vmaj='1' codename='USB_HID' x='0' y='0' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='vendor_ID' data='4799' />
					<value target='product_ID' data='61472' />
					<value target='dev_name' data='Flowcode USB HID' />
					<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='max_current' data='100' />
					<value target='cntry_code' data='000' />
					<value target='descriptor_Select' data='000' />
					<value target='HID_descriptor' data='0x05,0x01,0x09,0x06,0xA1,0x01,0x05,0x07,0x19,0xe0,0x29,0xe7,0x15,0x00,0x25,0x01,0x75,0x01,0x95,0x08,0x81,0x02,0x95,0x01,0x75,0x08,0x81,0x03,0x95,0x05,0x75,0x01,0x05,0x08,0x19,0x01,0x29,0x05,0x91,0x02,0x95,0x01,0x75,0x03,0x91,0x03,0x95,0x06,0x75,0x08,0x15,0x00,0x25,0x65,0x05,0x07,0x19,0x00,0x29,0x65,0x81,0x00,0xC0' />
					<value target='subclass' data='1' />
					<value target='interface' data='1' />
					<value target='tx_packet_size' data='8' />
					<value target='tx_period' data='10' />
					<value target='rx_packet_size' data='1' />
					<value target='rx_period' data='10' />
					<value target='usb_type' data='0' />
					<value target='label' data='USB HID' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='3.77528' ye='-3.4211' ze='114.471' xt='3.77528' yt='-3.4211' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='454' dy='816' zoom='479.896' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='781.66' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAJAQAAIUDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='blink' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAJAQAAIUDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='KeyUp' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAJAQAAIUDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ASCIIToKeypress' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAAJAQAAIUDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
