<root>
<document schema='101' license='0,30day_18053720,W0W0AB' title='' description='' target='PIC.16F.16F877A' >
	<config data='!0,3f72%0,2%2,0%3,0%6,1%7,0%9,3%b,1%8,1%d,1' clkspd='19660800' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='1000' />
			<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='monitor' value='1' />
			<data name='ictloop' value='1' />
			<data name='ictrate' value='1000' />
			<data name='ictmask' 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='' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='RED' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='BLUE' 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='GREEN' 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='Timer0_ISR' description='' >
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__ledrgb0' macro='Tick' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='Start' />
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='Cursor' >
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='PrintASCII' >
							<argument exp='&quot;RED   AMOUNT   =&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='Cursor' >
							<argument exp='0' />
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='PrintASCII' >
							<argument exp='&quot;GREEN AMOUNT   =&quot;' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='Cursor' >
							<argument exp='0' />
							<argument exp='2' />
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='PrintASCII' >
							<argument exp='&quot;BLUE  AMOUNT   =&quot;' />
						</command>
						<command class_type='interrupt' title='Interrupt' textarea='36,0,511,300' enable='1' name='TMR0' call='Timer0_ISR' >
							<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAA' masklo='-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAD-AAAA-wAAAP8AAAA' >
								<option value='1' />
								<option value='0' />
								<option value='0' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__ledrgb0' macro='Enable' />
						<command class_type='loop' title='Loop' textarea='36,0,511,300' exp='1' type='0' start='1' count='1' breakend='0' >
							<flowline >
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__adc0' macro='GetByte' >
									<return exp='RED' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='Cursor' >
									<argument exp='17' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='PrintNumber' >
									<argument exp='RED' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__adc1' macro='GetByte' >
									<return exp='GREEN' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='Cursor' >
									<argument exp='17' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='PrintNumber' >
									<argument exp='GREEN' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__adc2' macro='GetByte' >
									<return exp='BLUE' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='Cursor' >
									<argument exp='17' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='PrintNumber' >
									<argument exp='BLUE' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__ledrgb0' macro='SetColor' >
									<argument exp='RED' />
									<argument exp='GREEN' />
									<argument exp='BLUE' />
								</command>
								<command class_type='delay' title='Delay' textarea='36,0,511,300' exp='100' type='1' />
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='Cursor' >
									<argument exp='17' />
									<argument exp='0' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='PrintString' >
									<argument exp='&quot;   &quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='Cursor' >
									<argument exp='17' />
									<argument exp='1' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='PrintString' >
									<argument exp='&quot;   &quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='Cursor' >
									<argument exp='17' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' textarea='36,0,511,300' component='v5__lcddisplay0' macro='PrintString' >
									<argument exp='&quot;   &quot;' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='1fb787a5-54fb-4847-9299-3adbf9927b59' vmin='3' vmaj='1' codename='v5__ledrgb0' x='-68.5714' y='16' z='0' xsz='11.4286' ysz='11.4286' zsz='1.14286' 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='red_pin' data='$PORTB.0' />
					<value target='green_pin' data='$PORTB.1' />
					<value target='blue_pin' data='$PORTB.2' />
					<value target='polarity' data='1' />
					<value target='colorbitsize' data='008' />
					<value target='rollover' data='255' />
					<value target='target' data='' />
					<value target='Shape' data='007' />
					<value target='Width' data='5.000000' />
					<value target='Height' data='5.000000' />
					<value target='Depth' data='2.500000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='1' vmaj='1' codename='v5__adc0' x='-34.2857' y='-4.57143' z='0' xsz='14.2857' ysz='36.2857' zsz='1.14286' 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='tang_col' data='2960685' />
					<value target='mark_col' data='255' />
					<value target='channel' data='0' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='0' />
					<value target='convspd' data='3' />
					<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='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='1' vmaj='1' codename='v5__adc1' x='0' y='-4.57143' z='0' xsz='14.2857' ysz='36.2857' zsz='1.14286' 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='tang_col' data='2960685' />
					<value target='mark_col' data='255' />
					<value target='channel' data='1' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='0' />
					<value target='convspd' data='3' />
					<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='1a8c2bb7-8bed-4a1c-9186-ba24688c8840' vmin='1' vmaj='1' codename='v5__adc2' x='32' y='-4.57143' z='0' xsz='14.2857' ysz='36.2857' zsz='1.14286' 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='tang_col' data='2960685' />
					<value target='mark_col' data='255' />
					<value target='channel' data='2' />
					<value target='vrefvol' data='500' />
					<value target='vrefop' data='0' />
					<value target='convspd' data='3' />
					<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='0953aac0-9c23-4c2f-9843-88954a4191ea' vmin='7' vmaj='1' codename='v5__lcddisplay0' x='-0.85715' y='-64.8572' z='1.05195' xsz='192' ysz='72' zsz='1.14286' 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='Pin_Data_0' data='$PORTD.0' />
					<value target='Pin_Data_1' data='$PORTD.1' />
					<value target='Pin_Data_2' data='$PORTD.2' />
					<value target='Pin_Data_3' data='$PORTD.3' />
					<value target='Pin_RS' data='$PORTD.4' />
					<value target='Pin_E' data='$PORTD.5' />
					<value target='Rows' data='4' />
					<value target='Columns' data='20' />
					<value target='BackgroundColor' data='0xFF0000' />
					<value target='LineColor' data='0' />
					<value target='TextColor' data='0xFFFFFF' />
					<value target='Font' data='Arial' />
					<value target='CursorPosX' data='18' />
					<value target='CursorPosY' data='2' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='33b1e2c6-5509-40bf-a464-167edcbcf571' vmin='0' vmaj='1' codename='scopeview1' x='0' y='0' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='1' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin0' data='$PORTB.0' />
					<value target='pin1' data='$PORTB.1' />
					<value target='pin2' data='$PORTB.2' />
					<value target='pin3' data='' />
					<value target='an0' data='' />
					<value target='an1' data='' />
					<value target='cmparray' data='OldAn1' />
				</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='25' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAWwQAAI0CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
