<root>
<document schema='101' license='1,BILL_FELKER_8891,QA1710' title='' description='' target='AVR.ATMEGA.Arduino Nano 328' >
	<config data='' clkspd='16000000' simspd='5' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='255' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='fff35ec9-3ba8-47c9-b748-c503d149cc23' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='Misc' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' macronames='$(type)_$(module)__$(macro)' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='g' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='b' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='r' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='led_output' description='This macro will send the pwm to the r,g,or b or all of the rgb led' >
						<command class_type='call' title='Call Component Macro' component='PWM1' macro='SetDutyCycle' >
							<argument exp='r' />
						</command>
						<command class_type='call' title='Call Component Macro' component='PWM2' macro='SetDutyCycle' >
							<argument exp='g' />
						</command>
						<command class_type='call' title='Call Component Macro' component='PWM3' macro='SetDutyCycle' >
							<argument exp='b' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='calculation' title='Calculation' >
							<exp exp='r = 0' />
							<exp exp='g = 0' />
							<exp exp='b = 0' />
							<exp exp='' />
						</command>
						<command class_type='call' title='Call Component Macro' component='PWM1' macro='Enable' />
						<command class_type='call' title='Call Component Macro' component='PWM2' macro='Enable' />
						<command class_type='call' title='Call Component Macro' component='PWM3' macro='Enable' />
						<command class_type='label' title='Connection Point' labelid='0' labelname='A' />
						<command class_type='call' title='Call Component Macro' component='LCDAdafruitOLED1' macro='Clear' />
						<command class_type='call' title='Call Component Macro' component='LCDAdafruitOLED1' macro='PrintString' >
							<argument exp='&quot;red=&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='LCDAdafruitOLED1' macro='PrintNumber' >
							<argument exp='r' />
						</command>
						<command class_type='call' title='Call Component Macro' component='LCDAdafruitOLED1' macro='PrintString' >
							<argument exp='&quot;blue=&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='LCDAdafruitOLED1' macro='PrintNumber' >
							<argument exp='b' />
						</command>
						<command class_type='call' title='Call Component Macro' component='LCDAdafruitOLED1' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' component='LCDAdafruitOLED1' macro='PrintString' >
							<argument exp='&quot;green=&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' component='LCDAdafruitOLED1' macro='PrintNumber' >
							<argument exp='g' />
						</command>
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Call Component Macro' component='red' macro='GetByte' >
									<return exp='r' />
								</command>
								<command class_type='decision' title='Decision' exp='r &gt; 0' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' macro='led_output' />
										<command class_type='goto' title='Goto Connection Point' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' component='blue' macro='GetByte' >
									<return exp='b' />
								</command>
								<command class_type='decision' title='Decision' exp='b &gt; 0' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' macro='led_output' />
										<command class_type='goto' title='Goto Connection Point' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' component='green' macro='GetByte' >
									<return exp='g' />
								</command>
								<command class_type='decision' title='Decision' exp='g &gt; 0' swap='0' >
									<flowline >
										<command class_type='call' title='Call Macro' macro='led_output' />
										<command class_type='goto' title='Goto Connection Point' labelid='0' labelname='' />
									</flowline>
									<flowline />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='8462ac99-ca8f-429b-953a-36dbe58ada72' vmin='4' vmaj='1' codename='red' x='-8' y='-23.05' z='2.4' xsz='11.8794' ysz='11.8794' zsz='16' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='angle_start' data='225.000000' />
					<value target='angle_sweep' data='270.000000' />
					<value target='color' data='16777215' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='2' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='8462ac99-ca8f-429b-953a-36dbe58ada72' vmin='4' vmaj='1' codename='green' x='24' y='-23.0499' z='2.4' xsz='11.8794' ysz='11.8794' zsz='16' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='angle_start' data='225.000000' />
					<value target='angle_sweep' data='270.000000' />
					<value target='color' data='16777215' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='1' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='8462ac99-ca8f-429b-953a-36dbe58ada72' vmin='4' vmaj='1' codename='blue' x='56' y='-23.0499' z='2.4' xsz='11.8794' ysz='11.8794' zsz='16' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='angle_start' data='225.000000' />
					<value target='angle_sweep' data='270.000000' />
					<value target='color' data='16777215' />
					<value target='ScopeTraces' data='0' />
					<value target='channel' data='0' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='000' />
					<value target='convspd' data='003' />
					<value target='actime' data='40' />
					<value target='bits' data='10' />
					<value target='bitmul' data='0.004883' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='5' vmaj='1' codename='PWM1' x='-8' y='-8' z='0.470667' xsz='0.533333' ysz='0.533333' zsz='0.533333' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='001' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTD.6' />
					<value target='RemapPin' data='' />
					<value target='period' data='255' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='32.000000' />
					<value target='frequency_calc' data='31.250000' />
					<value target='pwm_prescale' data='1' />
					<value target='SimRep' data='001' />
					<value target='DispPeriods' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='5' vmaj='1' codename='PWM2' x='24' y='-8' z='0.470664' xsz='0.53333' ysz='0.53333' zsz='0.53333' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='002' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTD.5' />
					<value target='RemapPin' data='' />
					<value target='period' data='255' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='32.000000' />
					<value target='frequency_calc' data='31.250000' />
					<value target='pwm_prescale' data='1' />
					<value target='SimRep' data='001' />
					<value target='DispPeriods' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='444fb704-814c-4707-a15c-759ba088505c' vmin='5' vmaj='1' codename='PWM3' x='56' y='-8' z='0.470664' xsz='0.53333' ysz='0.53333' zsz='0.53333' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='1' >
				<resources />
				<properties />
				<values >
					<value target='channel' data='006' />
					<value target='altpin' data='0' />
					<value target='pwm_pin' data='$PORTD.3' />
					<value target='RemapPin' data='' />
					<value target='period' data='255' />
					<value target='prescale' data='000' />
					<value target='period_calc' data='32.000000' />
					<value target='frequency_calc' data='31.250000' />
					<value target='pwm_prescale' data='1' />
					<value target='SimRep' data='001' />
					<value target='DispPeriods' data='001' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='672cb410-6026-403b-aff7-0628fe9e8140' vmin='8' vmaj='1' codename='LCDAdafruitOLED1' x='0' y='24' z='3.575' xsz='64' ysz='32' zsz='7.15' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='d0_pin' data='$PORTB.2' />
					<value target='d1_pin' data='$PORTB.3' />
					<value target='d2_pin' data='$PORTB.4' />
					<value target='d3_pin' data='$PORTB.5' />
					<value target='rs_pin' data='$PORTB.0' />
					<value target='rw_pin' data='$PORTD.7' />
					<value target='enable_pin' data='$PORTB.1' />
					<value target='Rows' data='2' />
					<value target='Columns' data='16' />
					<value target='BackgroundColor' data='4720649' />
					<value target='LineColor' data='8388608' />
					<value target='TextColor' data='16776960' />
					<value target='Font' data='Arial' />
					<value target='CursorPosX' data='7' />
					<value target='CursorPosY' data='1' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='9737364' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='42' />
		<camera xe='0' ye='0' ze='239.4' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAFQMAABACAAA' zoom='75' scrollx='0' scrolly='853' flags='0' />
		<view type='0' name='led_output' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAFQMAABACAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
