<root>
<document schema='101' license='1,Bernard Bernard,1ZTHAH' title='' description='' target='PIC.16F.16F887' >
	<config data='!0,23e2!10,3eff%0,2%3,0%4,0%5,1%6,1%7,1%8,3%a,0%b,0%c,0%d,1%19,3%18,0' 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='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='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug >
		<watch expr='B' />
	</debug>
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='bd9787f6-5ca4-41de-9d23-03f608376c73' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='Red' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Blue' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</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='0' usrinit='0' setinit='' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Tick' description='' >
						<command class_type='call' title='Call Component Macro' component='rgb_led1' macro='Tick' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='call' title='Call Component Macro' component='LCD1' macro='Start' />
						<command class_type='call' title='Call Component Macro' component='LCD1' macro='Clear' />
						<command class_type='calculation' title='Calculation' >
							<exp exp='Blue = 100' />
							<exp exp='Green = 100' />
							<exp exp='Red = 100' />
						</command>
						<command class_type='interrupt' title='Interrupt' enable='1' name='TMR0' call='Tick' >
							<settings timer='1' prescale='1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='1' />
								<option value='0' />
								<option value='0' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='call' title='Call Component Macro' component='rgb_led1' macro='Enable' />
						<command class_type='call' title='Call Component Macro' component='LCD1' macro='PrintString' >
							<argument exp='&quot;    R     G     B&quot;' />
						</command>
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='decision' title='Decision' exp='$PORTC.0 AND Blue &lt; 255' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Blue = Blue + 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='$PORTC.1 AND Blue &gt; 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Blue = Blue - 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='$PORTC.2 AND Green &lt; 255' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Green = Green + 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='$PORTC.3 AND Green &gt; 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Green = Green - 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='$PORTC.4 AND Red &lt; 255' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Red = Red + 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' exp='$PORTC.5 AND Red &gt; 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' >
											<exp exp='Red = Red - 1' />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD1' macro='Cursor' >
									<argument exp='3' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD1' macro='PrintNumber' >
									<argument exp='Red' />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD1' macro='PrintString' >
									<argument exp='&quot;  &quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD1' macro='Cursor' >
									<argument exp='9' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD1' macro='PrintNumber' >
									<argument exp='Green' />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD1' macro='PrintString' >
									<argument exp='&quot;  &quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD1' macro='Cursor' >
									<argument exp='15' />
									<argument exp='2' />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD1' macro='PrintNumber' >
									<argument exp='Blue' />
								</command>
								<command class_type='call' title='Call Component Macro' component='LCD1' macro='PrintString' >
									<argument exp='&quot;  &quot;' />
								</command>
								<command class_type='call' title='Call Component Macro' component='rgb_led1' macro='SetColor' >
									<argument exp='Red' />
									<argument exp='Green' />
									<argument exp='Blue' />
								</command>
								<command class_type='delay' title='Delay' exp='10' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='1fb787a5-54fb-4847-9299-3adbf9927b59' vmin='808' vmaj='16' codename='rgb_led1' x='0' y='64' z='1.25' xsz='9.6' ysz='9.6' zsz='1' 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='red_pin' data='$PORTB.0' />
					<value target='green_pin' data='$PORTB.1' />
					<value target='blue_pin' data='$PORTB.2' />
					<value target='polarity' data='000' />
					<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='26732594-ad79-472f-80ff-95d365b3b252' vmin='542' vmaj='16' codename='sw_push_pcb1' x='-88' y='0' z='3.7' xsz='3.55556' ysz='3.87097' zsz='1' 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='pin' data='$PORTC.5' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='26732594-ad79-472f-80ff-95d365b3b252' vmin='542' vmaj='16' codename='sw_push_pcb2' x='-56' y='0' z='3.7' xsz='3.55556' ysz='3.87097' zsz='1' 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='pin' data='$PORTC.4' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='26732594-ad79-472f-80ff-95d365b3b252' vmin='542' vmaj='16' codename='sw_push_pcb3' x='-16' y='0' z='7.3' xsz='3.55556' ysz='3.87097' zsz='1' 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='pin' data='$PORTC.3' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='26732594-ad79-472f-80ff-95d365b3b252' vmin='542' vmaj='16' codename='sw_push_pcb4' x='16' y='0' z='3.7' xsz='3.55556' ysz='3.87097' zsz='1' 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='pin' data='$PORTC.2' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='26732594-ad79-472f-80ff-95d365b3b252' vmin='542' vmaj='16' codename='sw_push_pcb5' x='88' y='0' z='3.7' xsz='3.55556' ysz='3.87097' zsz='1' 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='pin' data='$PORTC.0' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='26732594-ad79-472f-80ff-95d365b3b252' vmin='542' vmaj='16' codename='sw_push_pcb6' x='56' y='0' z='3.7' xsz='3.55556' ysz='3.87097' zsz='1' 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='pin' data='$PORTC.1' />
					<value target='polarity' data='000' />
					<value target='debounce' data='10' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='0953aac0-9c23-4c2f-9843-88954a4191ea' vmin='286' vmaj='32' codename='LCD1' x='0' y='-64' z='0.55' xsz='128' ysz='56' zsz='1.1' 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='LCD_Mode' data='000' />
					<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_Data_4' data='$PORTA.1' />
					<value target='Pin_Data_5' data='$PORTA.1' />
					<value target='Pin_Data_6' data='$PORTA.1' />
					<value target='Pin_Data_7' data='$PORTA.1' />
					<value target='LCD_Port' data='$PORTA' />
					<value target='Pin_RS' data='$PORTD.4' />
					<value target='Pin_E' data='$PORTD.5' />
					<value target='LCD_Use_Write' data='0' />
					<value target='Pin_RW' data='$PORTA.0' />
					<value target='Rows' data='004' />
					<value target='Columns' data='020' />
					<value target='BackgroundColor' data='16711680' />
					<value target='LineColor' data='0' />
					<value target='TextColor' data='16777215' />
					<value target='Font' data='@Gulim' />
					<value target='CursorPosX' data='20' />
					<value target='CursorPosY' data='2' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label1' x='-72' y='24' z='0' xsz='31.3043' ysz='16' zsz='0' 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='Color' data='192' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='R' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label2' x='0' y='24' z='0' xsz='31.3043' ysz='16' zsz='0' 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='Color' data='49188' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='G' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label3' x='72' y='24' z='0' xsz='31.3043' ysz='16' zsz='0' 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='Color' data='16711750' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='B' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label4' x='-56' y='-24' z='0' xsz='31.3043' ysz='16' zsz='0' 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='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='+' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label5' x='-88' y='-24' z='0' xsz='31.3043' ysz='16' zsz='0' 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='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='-' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label6' x='16' y='-24' z='0' xsz='31.3043' ysz='16' zsz='0' 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='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='+' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label7' x='-16' y='-24' z='0' xsz='31.3043' ysz='16' zsz='0' 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='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='-' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label8' x='88' y='-24' z='0' xsz='31.3043' ysz='16' zsz='0' 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='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='+' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='text' codename='label9' x='56' y='-24' z='0' xsz='31.3043' ysz='16' zsz='0' 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='Color' data='0' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='-' />
				</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' />
		<view type='0' name='Tick' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAWwQAAI0CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
