<root>
<document scada='0' schema='103' license='1,15100971,EKTAJH' title='' description='' fcversion='655364' target='ARD.ATMEGA.Arduino Uno R3 PDIP' >
	<config data='' clkspd='16000000' simspd='1' usewdt='0' constif='0' commport='3' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='1' head='//ADC Channel Definitions to unlock these pins via 1 component
#define MX_ADC_CHANNEL_1
#define MX_ADC_CHANNEL_2
#define MX_ADC_CHANNEL_3
#define MX_ADC_CHANNEL_4
#define MX_ADC_CHANNEL_5' 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='3' />
			<data name='ClockPin' value='1' />
			<data name='DataPort' value='3' />
			<data name='DataPin' value='0' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='11' />
			<data name='CalculatedCommsDelay' value='11' />
			<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='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='cc0c6f87-a58f-4d73-8a8f-a717445ec8e9' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' bIs3dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' showmacros='1' iconpath='' />
		<component class_type='root' codename='panel' panelId='-1' 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='Mode' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ReturnCount' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Address' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Command' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Returns' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='255' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ADC_Ref_Type' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='ADC_Precharge' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='10' setinit='10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Params' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='8' />
					</def>
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='ActionCommand' description='Once all the parameters are received we action the command' statediag='0' >
						<return name='Return' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='TempUINT' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='idx' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='TempULONG' type='u32' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<local name='temp' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='6' />
						</local>
						<command class_type='calculation' title='Default to no return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
							<exp exp='ReturnCount = 0' />
						</command>
						<command class_type='call' title='The first byte after the command start is the command code' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='CircularBuffer1' macro='GetByte' >
							<return exp='Command' />
						</command>
						<command class_type='switch' title='IO Commands' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Command' >
							<case >
								<flowline />
							</case>
							<case exp='0x80' >
								<flowline >
									<command class_type='comment' title='' comment='Set Output' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //State' />
									</command>
									<command class_type='switch' title='IO Channel' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Params[0]' >
										<case >
											<flowline />
										</case>
										<case exp='0' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='1' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='2' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='4' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='8' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='4' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='16' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='5' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='32' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='6' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='64' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='7' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='128' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='8' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='1' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='9' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='2' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
									</command>
									<command class_type='switch' title='IO Channel' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Params[0]' >
										<case >
											<flowline />
										</case>
										<case exp='10' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='4' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='11' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='8' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='12' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='16' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='13' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='32' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='14' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='1' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='15' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='2' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='16' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='4' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='17' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='8' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='18' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='16' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
										<case exp='19' >
											<flowline >
												<command class_type='output' title='Output' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='32' exp='Params[1]' usechipref='1' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0x81' >
								<flowline >
									<command class_type='comment' title='' comment='Get Input' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
									</command>
									<command class_type='switch' title='IO Channel' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Params[0]' >
										<case >
											<flowline />
										</case>
										<case exp='0' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='1' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='2' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='4' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='8' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='4' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='16' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='5' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='32' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='6' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='64' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='7' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048579' mask='128' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='8' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='1' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='9' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='2' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
									</command>
									<command class_type='switch' title='IO Channel' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Params[0]' >
										<case >
											<flowline />
										</case>
										<case exp='10' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='4' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='11' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='8' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='12' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='16' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='13' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048577' mask='32' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='14' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='1' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='15' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='2' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='16' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='4' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='17' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='8' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='18' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='16' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
										<case exp='19' >
											<flowline >
												<command class_type='input' title='Input' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' mode='1' port='1048578' mask='32' exp='Returns[0]' usechipref='1' />
											</flowline>
										</case>
									</command>
									<command class_type='calculation' title='Default to no return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Analog Commands' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Command' >
							<case >
								<flowline />
							</case>
							<case exp='0x82' >
								<flowline >
									<command class_type='comment' title='' comment='ADC 8' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
									</command>
									<command class_type='native' title='Disable weak pullups' ccode='DDRC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));
PORTC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='comment' title='' comment='We leverage a single ADC component to allow us to read 
any ADC channel by using C code' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='native' title='C Code' ccode='FC_CAL_ADC_Enable_1(FCV_PARAMS[0], 5, FCV_ADC_REF_TYPE, FCV_ADC_PRECHARGE);
FCL_TEMPUINT = FC_CAL_ADC_Sample_1(0);
FC_CAL_ADC_Disable_1();' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Copy var into 8-bit return' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Returns[0] = .TempUINT' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
							<case exp='0x83' >
								<flowline >
									<command class_type='comment' title='' comment='ADC 10' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
									</command>
									<command class_type='native' title='Disable weak pullups' ccode='DDRC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));
PORTC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='comment' title='' comment='We leverage a single ADC component to allow us to read 
any ADC channel by using C code' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='native' title='C Code' ccode='FC_CAL_ADC_Enable_1(FCV_PARAMS[0], 5, FCV_ADC_REF_TYPE, FCV_ADC_PRECHARGE);
FCL_TEMPUINT = FC_CAL_ADC_Sample_1(1);
FC_CAL_ADC_Disable_1();' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Convert 16-bit var into 2x 8-bit' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Returns[1] = .TempUINT' />
										<exp exp='Returns[0] = .TempUINT &gt;&gt; 8' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 2' />
									</command>
								</flowline>
							</case>
							<case exp='0x93' >
								<flowline >
									<command class_type='comment' title='' comment='Set ADC Ref type
0 = AREF
1 = VCC - Default
2 = N/A
3 = 1.1V' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //ADC Ref Type' />
									</command>
									<command class_type='decision' title='In range' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='(Params[0] &lt; 4) &amp;&amp; (Params[0] != 2)' swap='0' >
										<flowline >
											<command class_type='calculation' title='Assign to VREF variable' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
												<exp exp='ADC_Ref_Type = Params[0]' />
											</command>
											<command class_type='native' title='Assign new VREF value' ccode='FC_CAL_ADC_Enable_1(0, 5, FCV_ADC_REF_TYPE, FCV_ADC_PRECHARGE);
FC_CAL_ADC_Disable_1();' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
										</flowline>
										<flowline />
									</command>
								</flowline>
							</case>
							<case exp='0x94' >
								<flowline >
									<command class_type='comment' title='' comment='ADC 8 Average' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Count' />
										<exp exp='Params[2] = CircularBuffer1 :: GetByte () //Delay' />
										<exp exp='' />
										<exp exp='Returns[0] = Params[1] //Store Count' />
									</command>
									<command class_type='native' title='Disable weak pullups' ccode='DDRC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));
PORTC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Init Count Variable' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.TempULONG = 0' />
									</command>
									<command class_type='comment' title='' comment='We leverage a single ADC component to allow us to read 
any ADC channel by using C code' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='native' title='C Code' ccode='FC_CAL_ADC_Enable_1(FCV_PARAMS[0], 5, FCV_ADC_REF_TYPE, FCV_ADC_PRECHARGE);
while(FCV_PARAMS[1]--)
{
  FCL_TEMPULONG += FC_CAL_ADC_Sample_1(0);
  if (FCV_PARAMS[2])
  {
    delay_us(FCV_PARAMS[2]);
  }
}
FC_CAL_ADC_Disable_1();' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Divide count by num samples' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.TempULONG = .TempULONG / Returns[0]' />
									</command>
									<command class_type='calculation' title='Copy var into 8-bit return' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Returns[0] = .TempULONG' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
							<case exp='0x95' >
								<flowline >
									<command class_type='comment' title='' comment='ADC 10 Average' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Count' />
										<exp exp='Params[2] = CircularBuffer1 :: GetByte () //Delay' />
										<exp exp='' />
										<exp exp='Returns[0] = Params[1] //Store Count' />
									</command>
									<command class_type='native' title='Disable weak pullups' ccode='DDRC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));
PORTC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Init Count Variable' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.TempULONG = 0' />
									</command>
									<command class_type='comment' title='' comment='We leverage a single ADC component to allow us to read 
any ADC channel by using C code' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='native' title='C Code' ccode='FC_CAL_ADC_Enable_1(FCV_PARAMS[0], 5, FCV_ADC_REF_TYPE, FCV_ADC_PRECHARGE);
while(FCV_PARAMS[1]--)
{
  FCL_TEMPULONG += FC_CAL_ADC_Sample_1(1);
  if (FCV_PARAMS[2])
  {
    delay_us(FCV_PARAMS[2]);
  }
}
FC_CAL_ADC_Disable_1();' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Divide count by num samples' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.TempULONG = .TempULONG / Returns[0]' />
									</command>
									<command class_type='calculation' title='Convert 10-bit var into 2x 8-bit' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Returns[1] = .TempULONG' />
										<exp exp='Returns[0] = .TempULONG &gt;&gt; 8' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 2' />
									</command>
								</flowline>
							</case>
							<case exp='0x96' >
								<flowline >
									<command class_type='comment' title='' comment='Set ADC Precharge Time' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ADC_Precharge = CircularBuffer1 :: GetByte () //ADC Precharge time' />
									</command>
								</flowline>
							</case>
							<case exp='0x97' >
								<flowline >
									<command class_type='comment' title='' comment='ADC 8 Array' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Count' />
										<exp exp='Params[2] = CircularBuffer1 :: GetByte () //Delay MSB' />
										<exp exp='Params[3] = CircularBuffer1 :: GetByte () //Delay LSB' />
										<exp exp='' />
										<exp exp='Address = (Params[2] &lt;&lt; 8) | Params[3]' />
									</command>
									<command class_type='native' title='Disable weak pullups' ccode='DDRC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));
PORTC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Init Count Variable' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.Idx = 0' />
									</command>
									<command class_type='comment' title='' comment='We leverage a single ADC component to allow us to read 
any ADC channel by using C code' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='native' title='C Code' ccode='FC_CAL_ADC_Enable_1(FCV_PARAMS[0], 5, FCV_ADC_REF_TYPE, FCV_ADC_PRECHARGE);
while(FCL_IDX &lt; FCV_PARAMS[1])
{
  FCV_RETURNS[FCL_IDX] = FC_CAL_ADC_Sample_1(0);
  if (FCV_ADDRESS)
  {
    FCI_DELAYINT_US(FCV_ADDRESS);
  }
  FCL_IDX++;
}
FC_CAL_ADC_Disable_1();' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = .idx' />
									</command>
								</flowline>
							</case>
							<case exp='0x98' >
								<flowline >
									<command class_type='comment' title='' comment='ADC 10 Array' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Count' />
										<exp exp='Params[2] = CircularBuffer1 :: GetByte () //Delay MSB' />
										<exp exp='Params[3] = CircularBuffer1 :: GetByte () //Delay LSB' />
										<exp exp='' />
										<exp exp='Address = (Params[2] &lt;&lt; 8) | Params[3]' />
									</command>
									<command class_type='native' title='Disable weak pullups' ccode='DDRC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));
PORTC &amp;= ~(1 &lt;&lt; (FCV_PARAMS[0] &amp; 0x3F));' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Init Count Variable' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.Idx = 0' />
									</command>
									<command class_type='comment' title='' comment='We leverage a single ADC component to allow us to read 
any ADC channel by using C code' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='native' title='C Code' ccode='FC_CAL_ADC_Enable_1(FCV_PARAMS[0], 5, FCV_ADC_REF_TYPE, FCV_ADC_PRECHARGE);
while(FCL_IDX &lt; FCV_PARAMS[1])
{
  FCL_TEMPUINT = FC_CAL_ADC_Sample_1(1);
  FCV_RETURNS[FCL_IDX * 2] = FCL_TEMPUINT &gt;&gt; 8;
  FCV_RETURNS[(FCL_IDX * 2) + 1] = FCL_TEMPUINT;
  if (FCV_ADDRESS)
  {
    FCI_DELAYINT_US(FCV_ADDRESS);
  }
  FCL_IDX++;
}
FC_CAL_ADC_Disable_1();' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = .idx * 2' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='SPI Commands' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Command' >
							<case >
								<flowline />
							</case>
							<case exp='0x84' >
								<flowline >
									<command class_type='comment' title='' comment='SPI Init' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_spi1' macro='Master_Init' />
								</flowline>
							</case>
							<case exp='0x85' >
								<flowline >
									<command class_type='comment' title='' comment='SPI Transfer' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Data' />
										<exp exp='' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_spi1' macro='Master_Byte' >
										<return exp='Returns[0]' />
										<argument exp='Params[1]' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
							<case exp='0x86' >
								<flowline >
									<command class_type='comment' title='' comment='SPI Set Prescaler' textarea='36,-6,36,-6' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Scaler' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_spi1' macro='SetPrescaler' >
										<argument exp='Params[1]' />
									</command>
								</flowline>
							</case>
							<case exp='0xAA' >
								<flowline >
									<command class_type='comment' title='' comment='SPI Transfer Transaction' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Count MSB' />
										<exp exp='Params[2] = CircularBuffer1 :: GetByte () //Count LSB' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.TempUINT = (Params[1] &lt;&lt; 8) + Params[2]' />
										<exp exp='ReturnCount = .TempUINT' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.idx = 0' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='0' exp='.idx &lt; .TempUINT' >
										<flowline >
											<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
												<exp exp='Returns[.idx] = CircularBuffer1 :: GetByte () //Data Byte' />
												<exp exp='.idx = .idx + 1' />
											</command>
										</flowline>
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_spi1' macro='Master_Transaction' >
										<argument exp='Returns' />
										<argument exp='.TempUINT' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='I2C Commands' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Command' >
							<case >
								<flowline />
							</case>
							<case exp='0x87' >
								<flowline >
									<command class_type='comment' title='' comment='I2C Init' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Baud' />
										<exp exp='' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_i2c1' macro='Master_Init' />
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Params[1]' >
										<case >
											<flowline >
												<command class_type='native' title='100KHz' ccode='TWBR = 72;
TWSR = 0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='native' title='400KHz' ccode='TWBR = 12;
TWSR = 0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='native' title='1MHz' ccode='TWBR = 0;
TWSR = 0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0x88' >
								<flowline >
									<command class_type='comment' title='' comment='I2C Start' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_i2c1' macro='Master_Start' />
								</flowline>
							</case>
							<case exp='0x89' >
								<flowline >
									<command class_type='comment' title='' comment='I2C Restart' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_i2c1' macro='Master_Restart' />
								</flowline>
							</case>
							<case exp='0x8A' >
								<flowline >
									<command class_type='comment' title='' comment='I2C Stop' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_i2c1' macro='Master_Stop' />
								</flowline>
							</case>
							<case exp='0x8B' >
								<flowline >
									<command class_type='comment' title='' comment='I2C Send' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Data' />
										<exp exp='' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_i2c1' macro='Master_TxByte' >
										<return exp='Returns[0]' />
										<argument exp='Params[1]' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
							<case exp='0x8C' >
								<flowline >
									<command class_type='comment' title='' comment='I2C Receive' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Last Flag' />
										<exp exp='' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_i2c1' macro='Master_RxByte' >
										<return exp='Returns[0]' />
										<argument exp='Params[1]' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
							<case exp='0xAB' >
								<flowline >
									<command class_type='comment' title='' comment='I2C Trans Init' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Device Address' />
										<exp exp='Params[2] = CircularBuffer1 :: GetByte () //Baud' />
										<exp exp='' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_i2c1' macro='Transaction_Initialise' >
										<argument exp='Params[1]' />
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Params[2]' >
										<case >
											<flowline >
												<command class_type='native' title='100KHz' ccode='TWBR = 72;
TWSR = 0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='native' title='400KHz' ccode='TWBR = 12;
TWSR = 0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='native' title='1MHz' ccode='TWBR = 0;
TWSR = 0;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0xAC' >
								<flowline >
									<command class_type='comment' title='' comment='I2C Trans RX' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //CountMSB' />
										<exp exp='Params[2] = CircularBuffer1 :: GetByte () //CountLSB' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.TempUINT = (Params[1] &lt;&lt; 8) + Params[2]' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = .TempUINT + 2' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_i2c1' macro='Transaction_Read' >
										<return exp='.TempUINT' />
										<argument exp='Returns' />
										<argument exp='.TempUINT' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Returns[ReturnCount - 2] = .TempUINT &gt;&gt; 8' />
										<exp exp='Returns[ReturnCount - 1] = .TempUINT' />
									</command>
								</flowline>
							</case>
							<case exp='0xAD' >
								<flowline >
									<command class_type='comment' title='' comment='I2C Trans TX' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //CountMSB' />
										<exp exp='Params[2] = CircularBuffer1 :: GetByte () //CountLSB' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.TempUINT = (Params[1] &lt;&lt; 8) + Params[2]' />
									</command>
									<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='0' exp='ReturnCount &lt; (.TempUINT &amp; 0x7FFF)' >
										<flowline >
											<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
												<exp exp='Returns[ReturnCount] = CircularBuffer1 :: GetByte () //TX Data' />
												<exp exp='ReturnCount = ReturnCount + 1' />
											</command>
										</flowline>
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='cal_i2c1' macro='Transaction_Write' >
										<return exp='.TempUINT' />
										<argument exp='Returns' />
										<argument exp='.TempUINT' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Returns[0] = .TempUINT &gt;&gt; 8' />
										<exp exp='Returns[1] = .TempUINT' />
									</command>
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 2' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='PWM Commands' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Command' >
							<case >
								<flowline />
							</case>
							<case exp='0x8D' >
								<flowline >
									<command class_type='comment' title='' comment='Enable' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Params[0]' >
										<case >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM1' macro='Enable' />
											</flowline>
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM2' macro='Enable' />
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM3' macro='Enable' />
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM4' macro='Enable' />
											</flowline>
										</case>
										<case exp='4' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM5' macro='Enable' />
											</flowline>
										</case>
										<case exp='5' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM6' macro='Enable' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0x8E' >
								<flowline >
									<command class_type='comment' title='' comment='Disable' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Params[0]' >
										<case >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM1' macro='Disable' />
											</flowline>
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM2' macro='Disable' />
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM3' macro='Disable' />
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM4' macro='Disable' />
											</flowline>
										</case>
										<case exp='4' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM5' macro='Disable' />
											</flowline>
										</case>
										<case exp='5' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM6' macro='Disable' />
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0x8F' >
								<flowline >
									<command class_type='comment' title='' comment='Prescaler' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Scaler' />
										<exp exp='Params[2] = CircularBuffer1 :: GetByte () //Period' />
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Params[0]' >
										<case >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM1' macro='ChangePeriod' >
													<argument exp='Params[2]' />
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM2' macro='ChangePeriod' >
													<argument exp='Params[2]' />
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM3' macro='ChangePeriod' >
													<argument exp='Params[2]' />
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM4' macro='ChangePeriod' >
													<argument exp='Params[2]' />
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
										<case exp='4' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM5' macro='ChangePeriod' >
													<argument exp='Params[2]' />
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
										<case exp='5' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM6' macro='ChangePeriod' >
													<argument exp='Params[2]' />
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
							<case exp='0x90' >
								<flowline >
									<command class_type='comment' title='' comment='Duty 8' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Duty' />
									</command>
									<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Params[0]' >
										<case >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM1' macro='SetDutyCycle' >
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
										<case exp='1' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM2' macro='SetDutyCycle' >
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
										<case exp='2' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM3' macro='SetDutyCycle' >
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
										<case exp='3' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM4' macro='SetDutyCycle' >
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
										<case exp='4' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM5' macro='SetDutyCycle' >
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
										<case exp='5' >
											<flowline >
												<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='PWM6' macro='SetDutyCycle' >
													<argument exp='Params[1]' />
												</command>
											</flowline>
										</case>
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='OneWire Commands' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Command' >
							<case >
								<flowline />
							</case>
							<case exp='0xB0' >
								<flowline >
									<command class_type='comment' title='' comment='Init
' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='One_Wire1' macro='Initialise' />
								</flowline>
							</case>
							<case exp='0xB1' >
								<flowline >
									<command class_type='comment' title='' comment='BusReset' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='One_Wire1' macro='BusReset' >
										<return exp='Returns[0]' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
							<case exp='0xB2' >
								<flowline >
									<command class_type='comment' title='' comment='SkipROM' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='One_Wire1' macro='SkipROM' />
								</flowline>
							</case>
							<case exp='0xB3' >
								<flowline >
									<command class_type='comment' title='' comment='MatchROM' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='.temp[0] = Params[2]' />
										<exp exp='.temp[1] = Params[3]' />
										<exp exp='.temp[2] = Params[4]' />
										<exp exp='.temp[3] = Params[5]' />
										<exp exp='.temp[4] = Params[6]' />
										<exp exp='.temp[5] = Params[7]' />
									</command>
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='One_Wire1' macro='MatchROM' >
										<argument exp='Params[1]' />
										<argument exp='.temp' />
									</command>
								</flowline>
							</case>
							<case exp='0xB4' >
								<flowline >
									<command class_type='comment' title='' comment='ScanBus' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='One_Wire1' macro='ScanBus' >
										<return exp='Returns[0]' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
							<case exp='0xB5' >
								<flowline >
									<command class_type='comment' title='' comment='GetIDByte' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='One_Wire1' macro='GetIDByte' >
										<return exp='Returns[0]' />
										<argument exp='Params[1]' />
										<argument exp='Params[2]' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
							<case exp='0xB6' >
								<flowline >
									<command class_type='comment' title='' comment='GetDeviceCount' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='One_Wire1' macro='GetDeviceCount' >
										<return exp='Returns[0]' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
							<case exp='0xB7' >
								<flowline >
									<command class_type='comment' title='' comment='Transmit Byte' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='One_Wire1' macro='TransmitByte' >
										<argument exp='Params[0]' />
									</command>
								</flowline>
							</case>
							<case exp='0xB8' >
								<flowline >
									<command class_type='comment' title='' comment='Receive Byte' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='One_Wire1' macro='ReceiveByte' >
										<return exp='Returns[0]' />
									</command>
									<command class_type='calculation' title='Specify number of return bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Servo Commands' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Command' >
							<case >
								<flowline />
							</case>
							<case exp='0xB9' >
								<flowline >
									<command class_type='comment' title='' comment='Enable' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Servo_Controller1' macro='EnableServo' >
										<argument exp='Params[0]' />
									</command>
								</flowline>
							</case>
							<case exp='0xBA' >
								<flowline >
									<command class_type='comment' title='' comment='Disable' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Servo_Controller1' macro='DisableServo' >
										<argument exp='Params[0]' />
									</command>
								</flowline>
							</case>
							<case exp='0xBB' >
								<flowline >
									<command class_type='comment' title='' comment='Position 8' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Channel' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Postion' />
									</command>
									<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Servo_Controller1' macro='SetPosition' >
										<argument exp='Params[0]' />
										<argument exp='Params[1]' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Command' >
							<case >
								<flowline />
							</case>
							<case exp='0x91' >
								<flowline >
									<command class_type='comment' title='' comment='Write Register' textarea='40,10,40,10' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Address MSB' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Address LSB' />
										<exp exp='Params[2] = CircularBuffer1 :: GetByte () //Data' />
									</command>
									<command class_type='calculation' title='Calculate 16-bit Address' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Address = Params[0]' />
										<exp exp='Address = Address &lt;&lt; 8' />
										<exp exp='Address = Address | Params[1]' />
									</command>
									<command class_type='native' title='C Code' ccode='volatile char* register_ptr = (char*)FCV_ADDRESS;
*register_ptr = FCV_PARAMS[2];' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
								</flowline>
							</case>
							<case exp='0x92' >
								<flowline >
									<command class_type='comment' title='' comment='Read Register' textarea='40,10,40,10' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
									<command class_type='calculation' title='Collect Parameters for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Params[0] = CircularBuffer1 :: GetByte () //Address MSB' />
										<exp exp='Params[1] = CircularBuffer1 :: GetByte () //Address LSB' />
									</command>
									<command class_type='calculation' title='Calculate 16-bit Address' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='Address = Params[0]' />
										<exp exp='Address = Address &lt;&lt; 8' />
										<exp exp='Address = Address | Params[1]' />
									</command>
									<command class_type='native' title='C Code' ccode='volatile char* register_ptr = (char*)FCV_ADDRESS;
FCV_RETURNS[0] = *register_ptr;' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' language='C' />
									<command class_type='calculation' title='Return 1 bytes' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
										<exp exp='ReturnCount = 1' />
									</command>
								</flowline>
							</case>
						</command>
						<command class_type='call' title='Echo Command Code - Acknowledge command has been actioned' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='UART1' macro='SendChar' >
							<argument exp='Command' />
						</command>
						<command class_type='decision' title='Do we need to send returns' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='ReturnCount &gt; 0' swap='0' >
							<flowline >
								<command class_type='call' title='Send Return Array' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='UART1' macro='SendByteArray' >
									<argument exp='Returns' />
									<argument exp='ReturnCount' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='API_Receive_Interrupt_Handler' description='' 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='0' setinit='' />
						<command class_type='call' title='Collect Byte From UART' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='UART1' macro='ReceiveChar' >
							<return exp='.Data' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Store RX byte into buffer' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='CircularBuffer1' macro='PutByte' >
							<argument exp='.Data' />
						</command>
					</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='calculation' title='Reset Mode to 0 - Waiting for command' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
							<exp exp='Mode = 0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='UART1' macro='Initialise' />
						<command class_type='interrupt' title='Enable RX Interrupt - Catch API bytes as they come in' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' enable='1' name='RXINT0' call='API_Receive_Interrupt_Handler' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' ppsport='-1' ppspin='-1' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='Servo_Controller1' macro='Initialise' />
						<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='0' exp='1' >
							<flowline >
								<command class_type='decision' title='Simple State Machine' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='Mode' swap='0' >
									<flowline >
										<command class_type='comment' title='' comment='Next we check for incoming &apos;;&apos; and &apos;\n&apos; characters
to signify the end of a command, we want to be sure we
have received the command code and all parameters before
we start running the command.

This time the data is retained in the buffer to be
processed once we have received everything.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='decision' title='Check for end of command' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='CircularBuffer1 :: LookForValue (&quot;;\n&quot;,2,0,1)' swap='0' >
											<flowline >
												<command class_type='call' title='Run Selected Command' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' macro='ActionCommand' />
												<command class_type='calculation' title='Jump to first state' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
													<exp exp='Mode = 0' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline >
										<command class_type='comment' title='' comment='First we check for an incoming &apos;:&apos; character
to signify the start of a command.

We remove any data stored in the buffer before 
the start character is received to ensure we dont
process any incorrect values.
' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
										<command class_type='decision' title='Check for start of command' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='CircularBuffer1 :: LookForValue (&quot;:&quot;,1,1,1)' swap='0' >
											<flowline >
												<command class_type='calculation' title='Jump to next state' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
													<exp exp='Mode = 1' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
							</flowline>
						</command>
						<command class_type='comment' title='' comment='ADC code is called using a C icon.
We need the icon below to force Flowcode to keep the code for the
ADC component in the compiled C code. Otherwise it would try
and optimise it out.' textarea='12,0,12,0' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' />
						<command class_type='call' title='DUmmy call to include component code' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='slider_plastic1' macro='GetByte' >
							<return exp='Returns[0]' />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='0' vmaj='1' codename='PWM1' panelId='0' x='121.33' y='-515.446' z='0' xsz='17.8818' ysz='17.8818' zsz='2.53138' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='001' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTD.6' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='002' />
					<value target='period' data='181' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='11.375000' />
					<value target='frequency_calc2' data='87912.085938' />
					<value target='frequency_calc' data='87.912086' />
					<value target='pwm_prescale' data='1' />
					<value target='ReqFreq' data='100.000000' />
					<value target='OldReqFreq' data='100.000000' />
					<value target='CalcFreq' data='100.004570' />
					<value target='CalcPeriod' data='10936' />
					<value target='CalcScaler' data='64' />
					<value target='Apply' data='0' />
					<value target='ClockSpeed' data='16000000' />
					<value target='SimRep' data='001' />
					<value target='Family' data='ARD' />
					<value target='ModifiedConnection' data='D.6' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='0' vmaj='1' codename='PWM2' panelId='0' x='316.21' y='-515.446' z='1' xsz='17.8818' ysz='17.8818' zsz='2.53138' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='002' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTD.5' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='002' />
					<value target='period' data='181' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='11.375000' />
					<value target='frequency_calc2' data='87912.085938' />
					<value target='frequency_calc' data='87.912086' />
					<value target='pwm_prescale' data='1' />
					<value target='ReqFreq' data='100.000000' />
					<value target='OldReqFreq' data='100.000000' />
					<value target='CalcFreq' data='100.004570' />
					<value target='CalcPeriod' data='10936' />
					<value target='CalcScaler' data='64' />
					<value target='Apply' data='0' />
					<value target='ClockSpeed' data='16000000' />
					<value target='SimRep' data='001' />
					<value target='Family' data='ARD' />
					<value target='ModifiedConnection' data='D.5' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c67171df-0ad6-4b11-8361-cfe14b072847' vmin='1' vmaj='2' codename='cal_spi1' panelId='0' x='400.519' y='-116.541' z='2' xsz='18.4322' ysz='19.3121' zsz='50.6275' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ENABLED' data='1' />
					<value target='REF' data='1' />
					<value target='CHANNEL' data='000' />
					<value target='MOSI' data='$PORTB.3' />
					<value target='MOSIPins' data='008' />
					<value target='MISO' data='$PORTB.4' />
					<value target='MISOPins' data='013' />
					<value target='CLK' data='$PORTB.5' />
					<value target='CLKPins' data='004' />
					<value target='UseAutoCS' data='0' />
					<value target='UseCS' data='0' />
					<value target='SS' data='$PORTC.2' />
					<value target='CSPolarity' data='000' />
					<value target='SSPins' data='000' />
					<value target='AltSSPin' data='0' />
					<value target='Mode' data='000' />
					<value target='PR_SCALE' data='064' />
					<value target='CKE' data='001' />
					<value target='CKP' data='000' />
					<value target='SMP' data='001' />
					<value target='ScopeTraces' data='1' />
					<value target='ConsoleData' data='1' />
					<value target='Injector' data='000' />
					<value target='InjectorCS' data='0' />
					<value target='InjectorHandle' data='0' />
					<value target='InjectorChannel' data='0' />
					<value target='Loading' data='0' />
					<value target='BMODE' data='6' />
					<value target='MOSI_PORT' data='$PORTB.3' />
					<value target='MOSI_TRIS' data='$PORTB.3' />
					<value target='MOSI_PIN' data='3' />
					<value target='MISO_PORT' data='$PORTB.4' />
					<value target='MISO_TRIS' data='$PORTB.4' />
					<value target='MISO_PIN' data='4' />
					<value target='SCK_PORT' data='$PORTB.5' />
					<value target='SCK_TRIS' data='$PORTB.5' />
					<value target='SCK_PIN' data='5' />
					<value target='SS_PORT' data='$PORTC.2' />
					<value target='SS_TRIS' data='$PORTC.2' />
					<value target='SS_PIN' data='2' />
					<value target='Remappable' data='' />
					<value target='MOSIReg' data='008' />
					<value target='CLKREG' data='004' />
					<value target='MOSIRPNUM' data='21' />
					<value target='MOSIBank' data='b' />
					<value target='MOSIBank2' data='c' />
					<value target='CLKRPNUM' data='20' />
					<value target='CLKBank' data='b' />
					<value target='MISORPREG' data='SSP1DATPPS' />
					<value target='MISOBank' data='b' />
					<value target='SPIName' data='' />
					<value target='MISOReg' data='000' />
					<value target='SPIClock' data='' />
					<value target='MISOBank2' data='c' />
					<value target='CLKBank2' data='c' />
					<value target='ParentName' data='' />
					<value target='BitDelay' data='4' />
					<value target='ClockSpeed' data='16000000' />
					<value target='MasterDivider' data='1' />
					<value target='Sim' data='1' />
					<value target='CLKRPREG' data='' />
					<value target='SSRPREG' data='' />
					<value target='SSBank' data='' />
					<value target='SSBank2' data='' />
					<value target='AltSSReg' data='' />
					<value target='AltSSMask' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c34f9b8a-a915-4f75-ad0c-87f2ad670a8a' vmin='5' vmaj='1' codename='CircularBuffer1' panelId='0' x='209' y='-114.008' z='3' xsz='0.677966' ysz='0.708335' zsz='2.53138' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='BufferSize' data='128' />
					<value target='StorageType' data='000' />
					<value target='MemType' data='000' />
					<value target='RETURN' data='000' />
					<value target='Console' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='0' vmaj='1' codename='PWM3' panelId='0' x='520.33' y='-515.446' z='4' xsz='17.8818' ysz='17.8818' zsz='2.53138' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='003' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTB.1' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='002' />
					<value target='period' data='181' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='11.375000' />
					<value target='frequency_calc2' data='87912.085938' />
					<value target='frequency_calc' data='87.912086' />
					<value target='pwm_prescale' data='1' />
					<value target='ReqFreq' data='100.000000' />
					<value target='OldReqFreq' data='100.000000' />
					<value target='CalcFreq' data='100.004570' />
					<value target='CalcPeriod' data='10936' />
					<value target='CalcScaler' data='64' />
					<value target='Apply' data='0' />
					<value target='ClockSpeed' data='16000000' />
					<value target='SimRep' data='001' />
					<value target='Family' data='ARD' />
					<value target='ModifiedConnection' data='B.1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='0' vmaj='1' codename='PWM4' panelId='0' x='117.21' y='-663.706' z='5' xsz='17.8818' ysz='17.8818' zsz='2.53138' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='004' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTB.2' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='002' />
					<value target='period' data='181' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='11.375000' />
					<value target='frequency_calc2' data='87912.085938' />
					<value target='frequency_calc' data='87.912086' />
					<value target='pwm_prescale' data='1' />
					<value target='ReqFreq' data='100.000000' />
					<value target='OldReqFreq' data='100.000000' />
					<value target='CalcFreq' data='100.004570' />
					<value target='CalcPeriod' data='10936' />
					<value target='CalcScaler' data='64' />
					<value target='Apply' data='0' />
					<value target='ClockSpeed' data='16000000' />
					<value target='SimRep' data='001' />
					<value target='Family' data='ARD' />
					<value target='ModifiedConnection' data='B.2' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='0' vmaj='1' codename='PWM5' panelId='0' x='314.33' y='-663.706' z='6' xsz='17.8818' ysz='17.8818' zsz='2.53138' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='005' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTB.3' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='002' />
					<value target='period' data='181' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='11.375000' />
					<value target='frequency_calc2' data='87912.085938' />
					<value target='frequency_calc' data='87.912086' />
					<value target='pwm_prescale' data='1' />
					<value target='ReqFreq' data='100.000000' />
					<value target='OldReqFreq' data='100.000000' />
					<value target='CalcFreq' data='100.004570' />
					<value target='CalcPeriod' data='10936' />
					<value target='CalcScaler' data='64' />
					<value target='Apply' data='0' />
					<value target='ClockSpeed' data='16000000' />
					<value target='SimRep' data='001' />
					<value target='Family' data='ARD' />
					<value target='ModifiedConnection' data='B.3' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='0' vmaj='1' codename='PWM6' panelId='0' x='524.21' y='-663.706' z='7' xsz='17.8818' ysz='17.8818' zsz='2.53138' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='006' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTD.3' />
					<value target='RemapPin' data='000' />
					<value target='timer' data='002' />
					<value target='period' data='181' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='11.375000' />
					<value target='frequency_calc2' data='87912.085938' />
					<value target='frequency_calc' data='87.912086' />
					<value target='pwm_prescale' data='1' />
					<value target='ReqFreq' data='100.000000' />
					<value target='OldReqFreq' data='100.000000' />
					<value target='CalcFreq' data='100.004570' />
					<value target='CalcPeriod' data='10936' />
					<value target='CalcScaler' data='64' />
					<value target='Apply' data='0' />
					<value target='ClockSpeed' data='16000000' />
					<value target='SimRep' data='001' />
					<value target='Family' data='ARD' />
					<value target='ModifiedConnection' data='D.3' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='ed3a5141-43bb-43e0-86b0-2243fd1147ca' vmin='0' vmaj='2' codename='cal_i2c1' panelId='0' x='516.894' y='-115.535' z='8' xsz='17.1154' ysz='19.756' zsz='50.6275' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='ENABLED' data='1' />
					<value target='REF' data='1' />
					<value target='CHANNEL' data='001' />
					<value target='Mode' data='000' />
					<value target='SDA' data='$PORTC.4' />
					<value target='SDAPins' data='000' />
					<value target='SCL' data='$PORTC.5' />
					<value target='SCLPins' data='001' />
					<value target='StopDel' data='0' />
					<value target='BAUD_LIST' data='002' />
					<value target='BAUD' data='400000' />
					<value target='SRC' data='000' />
					<value target='SMB' data='000' />
					<value target='ClockStretching' data='1' />
					<value target='BMODE' data='0' />
					<value target='SDA_PORT' data='$PORTC.4' />
					<value target='SDA_TRIS' data='$PORTC.4' />
					<value target='SDA_PIN' data='4' />
					<value target='SCL_PORT' data='$PORTC.5' />
					<value target='SCL_TRIS' data='$PORTC.5' />
					<value target='SCL_PIN' data='5' />
					<value target='MASTER' data='1' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
					<value target='InjectorChannel' data='0' />
					<value target='Loading' data='0' />
					<value target='REMAPPABLE' data='' />
					<value target='SDABank' data='b' />
					<value target='SDABank2' data='c' />
					<value target='SCLBank' data='b' />
					<value target='SCLBank2' data='c' />
					<value target='SDARPNUM' data='21' />
					<value target='SCLRPNUM' data='20' />
					<value target='SDARPREG' data='SSP1DATPPS' />
					<value target='SCLRPREG' data='SSP1CLKPPS' />
					<value target='SDAREG' data='000' />
					<value target='SCLREG' data='001' />
					<value target='Sim' data='1' />
					<value target='ParentName' data='' />
					<value target='BitDelay' data='2' />
					<value target='SDAAlts' data='000' />
					<value target='SCLAlts' data='000' />
					<value target='SDAAlt' data='0' />
					<value target='SCLAlt' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='64b26b13-68cf-4a92-8616-e882b7c71023' vmin='4' vmaj='1' codename='One_Wire1' panelId='0' x='299.858' y='-114.603' z='9' xsz='15.8451' ysz='18.5966' zsz='63.2844' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='oo_pin' data='$PORTD.2' />
					<value target='Timing' data='000' />
					<value target='BufferSize' data='24' />
					<value target='OneWire' data='1' />
					<value target='ESPIntKeepout' data='0' />
					<value target='NopTiming' data='0' />
					<value target='Nops6us' data='66' />
					<value target='Nops9us' data='18' />
					<value target='Nops10us' data='114' />
					<value target='NopFiddle' data='6' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='0' />
					<value target='InjectorChannel' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9202a62e-0a42-4780-adce-16b701e5ec53' vmin='1' vmaj='2' codename='Servo_Controller1' panelId='0' x='327.462' y='-307.787' z='10' xsz='25.3737' ysz='25.3737' zsz='50.9104' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='Channel_Count' data='008' />
					<value target='pin0' data='$D2' />
					<value target='pin1' data='$D3' />
					<value target='pin2' data='$D4' />
					<value target='pin3' data='$D5' />
					<value target='pin4' data='$D6' />
					<value target='pin5' data='$D7' />
					<value target='pin6' data='$D8' />
					<value target='pin7' data='$D9' />
					<value target='Peripherals' data='PWM0 + PWM1 + Timer1' />
					<value target='TrimMode' data='001' />
					<value target='trim0' data='000' />
					<value target='trim1' data='0' />
					<value target='trim2' data='0' />
					<value target='trim3' data='0' />
					<value target='trim4' data='0' />
					<value target='trim5' data='0' />
					<value target='trim6' data='000' />
					<value target='trim7' data='0' />
					<value target='min_pulse_width' data='1000' />
					<value target='max_pulse_width' data='2500' />
					<value target='CCPLo' data='64' />
					<value target='CCPHi' data='156' />
					<value target='Servo_Clock_Count_25' data='400' />
					<value target='Servo_Clock_Count_1280' data='16016' />
					<value target='Servo_Clock_Count_2500' data='40000' />
					<value target='Servo_Period_Multiplier' data='93' />
					<value target='IntRange' data='0 - 23807' />
					<value target='Divider' data='0' />
					<value target='RoundUp' data='1' />
					<value target='IntScaler' data='0.365972' />
					<value target='MaxPeriod' data='23715' />
					<value target='sim0' data='' />
					<value target='sim1' data='' />
					<value target='sim2' data='' />
					<value target='sim3' data='' />
					<value target='sim4' data='' />
					<value target='sim5' data='' />
					<value target='sim6' data='' />
					<value target='sim7' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='0' vmaj='3' codename='UART1' panelId='0' x='115.819' y='-115.508' z='11' xsz='17.1154' ysz='17.1154' zsz='63.2844' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='cal_uart::CHANNEL' data='001' />
					<value target='cal_uart::BAUD_LIST' data='009' />
					<value target='cal_uart::BAUD' data='115200' />
					<value target='cal_uart::DBITS' data='008' />
					<value target='cal_uart::RETURN' data='001' />
					<value target='cal_uart::ECHO' data='000' />
					<value target='cal_uart::UseTX' data='1' />
					<value target='cal_uart::TX' data='$PORTD.1' />
					<value target='cal_uart::OutputPins' data='007' />
					<value target='cal_uart::TXAlt' data='0' />
					<value target='cal_uart::UseRX' data='1' />
					<value target='cal_uart::RX' data='$PORTD.0' />
					<value target='cal_uart::InputPins' data='013' />
					<value target='cal_uart::RXAlt' data='0' />
					<value target='cal_uart::FLOWEN' data='000' />
					<value target='cal_uart::RTS' data='$PORTB.2' />
					<value target='cal_uart::CTS' data='$PORTB.1' />
					<value target='label' data='UART' />
					<value target='cal_uart::ScopeTraces' data='0' />
					<value target='cal_uart::ConsoleData' data='1' />
					<value target='cal_uart::ConsoleFormat' data='000' />
					<value target='cal_uart::ConsoleColumns' data='64' />
					<value target='cal_uart::DataSource' data='000' />
					<value target='cal_uart::com_port' data='000' />
					<value target='cal_uart::Injector' data='000' />
					<value target='cal_uart::APIUseDDR' data='' />
					<value target='cal_uart::APIDDRPin' data='' />
					<value target='cal_uart::APIDDRRXState' data='' />
					<value target='cal_uart::APIUseFC' data='' />
					<value target='cal_uart::APICTSPin' data='' />
					<value target='cal_uart::APIRTSPin' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='11ca2f38-de81-4812-9338-4b5a7a89a658' vmin='0' vmaj='1' codename='slider_plastic1' panelId='0' x='312.426' y='-797.628' z='12' xsz='17.8571' ysz='17.8571' 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='2' poslock='1' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='adc_base1::channel' data='0' />
					<value target='adc_base1::vrefvol' data='500' />
					<value target='adc_base1::vrefop' data='1' />
					<value target='adc_base1::convspd' data='6' />
					<value target='adc_base1::actime' data='40' />
					<value target='adc_base1::bits' data='10' />
					<value target='VrefForCalculations' data='' />
					<value target='BitDepth' data='10' />
					<value target='SetValue' data='1.000000' />
					<value target='RetainValue' data='0' />
					<value target='ModifiedConnection' data='An 0' />
					<value target='ComponentLabel' data='000' />
					<value target='LabelColour' data='0' />
					<value target='GdiText2::sText' data='slider_plastic1' />
					<value target='ConnectionLabels' data='1' />
					<value target='ShowPinValue' data='1' />
					<value target='Style' data='0' />
					<value target='Gauge1::brFill' data='288230376147764163' />
					<value target='Gauge1::colFrameOutline' data='9868950' />
					<value target='Gauge1::brFrameFill' data='273030727405388739' />
					<value target='Gauge1::colPointerOutline' data='9868950' />
					<value target='Gauge1::brPointerFill' data='261490253360251843' />
					<value target='Gauge1::colText' data='0' />
					<value target='Gauge1::colTickMarkOutline' data='0' />
					<value target='Gauge1::brTickMarkFill' data='12829635' />
					<value target='Gauge1::colCapOutline' data='12829635' />
					<value target='Gauge1::brCapFill' data='288230376147764163' />
					<value target='Gauge1::sMainImage' data='' />
					<value target='Gauge1::sCapImage' data='' />
					<value target='GdiGauge1::nPointerKnob' data='  2' />
					<value target='GdiSwitch1::nType' data='  2' />
					<value target='UpperBoundValue' data='5.000050' />
					<value target='adc_base1::ScopeTraces' data='0' />
					<value target='StoredColourStyle' data='0' />
					<value target='FlowcodeType' data='0' />
					<value target='Enabled' data='1' />
					<value target='Product' data='ARD' />
				</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='-1883.99' ye='1.13286' ze='409.136' xt='-1883.99' yt='1.13286' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='251' dy='384' zoom='74.2321' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='0' />
		<winpos ID='7005' RectRecentFloat='1000,191,1875,1036' RectRecentDocked='0,0,251,413' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</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='-63.9259' ye='144.443' ze='861.07' xt='-63.9259' yt='144.443' 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' />
		<winpos ID='7004' RectRecentFloat='556,304,1206,754' RectRecentDocked='0,0,509,514' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
	</panel3d>
	<panels2d count='1' >
		<panel2d_0 id='0' name='Uno API Firmware' >
			<winpos ID='1171' RectRecentFloat='599,152,1320,1007' RectRecentDocked='1014,183,1523,697' RecentFrameAlignment='16384' RecentRowIndex='0' IsFloating='0' MRUWidth='32767' PinState='0' IsMaximized='0' IsVisible='0' />
			<background fill='72057594034704078' showgrid='0' gridstyle='1' gridsize='10' gridbrush='71776119075691740' snaptogrid='1' />
		</panel2d_0>
	</panels2d>
	<layout >
		<view type='0' name='ActionCommand' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA9QMAAP0BAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='API_Receive_Interrupt_Handler' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA9QMAAP0BAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAeAAAA9QMAAP0BAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
