<root>
<document schema='101' license='1,PrimaryTechnologyServices,PV4TZA' title='' description='' target='PIC.18F.18F46K22' >
	<config data='!0,ff!8,8!10,f8!18,fc!20,ff!28,fd!30,ba!38,ff!40,ff!48,ff!50,ff!58,ff!60,ff!68,ff%8,8%c,0%d,0%e,0%f,0%10,0%11,0%13,3%18,0%1a,f%28,1%29,0%2a,1%2b,1%2c,1%2d,1%2f,1%30,0%32,0%36,0%37,1%40,1%41,1%42,1%43,1%4e,1%4f,1%50,1%51,1%52,1%53,1%5d,1%5e,1%5f,1%60,1%61,1%62,1%63,1%6e,1' clkspd='16000000' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<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='5fc28f35-440c-42c0-8466-2cdb8f6368ae' 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='false' type='b1' description='' isconst='1' 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='OLED_ON' description='' >
						<command class_type='comment' title='' comment='2V8 ON' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048580' mask='2' exp='1' />
						<command class_type='comment' title='' comment='RESET' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048579' mask='4' exp='0' />
						<command class_type='delay' title='Delay' exp='5' type='0' />
						<command class_type='output' title='Output' mode='1' port='1048579' mask='4' exp='1' />
						<command class_type='comment' title='' comment='HV ON' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048580' mask='4' exp='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='OLED_OFF' description='' >
						<command class_type='comment' title='' comment='HV OFF' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048580' mask='4' exp='0' />
						<command class_type='delay' title='Delay' exp='100' type='1' />
						<command class_type='comment' title='' comment='2V8 OFF' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048580' mask='2' exp='0' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<command class_type='comment' title='' comment='18F46K22' textarea='12,0,12,0' />
						<command class_type='native' title='C Code' ccode='/*
  Enter C code below this comment
*/
/*osccon = 01100010b; */
/*INT OSC*/
/*8MHZ*/
osccon = 01110010b; 
/*INT OSC*/
/*16MHZ*/
/*baudcon1 = 0x00;*/
/*baudcon2 = 0x00;*/
/*intcon2 = 00000101b;*/
/*enable pullups B*/
/*wpub = 00110110b;*/
/*set b1*/' language='C' />
						<command class_type='comment' title='' comment='OLED DCS HI' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048580' mask='1' exp='1' />
						<command class_type='comment' title='' comment='OLED RED HI' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='1' port='1048579' mask='4' exp='1' />
						<command class_type='comment' title='' comment='OLED VCC / HV OFF' textarea='12,0,12,0' />
						<command class_type='output' title='Output' mode='2' port='1048580' mask='6' exp='0x00' />
						<command class_type='delay' title='Delay' exp='100' type='1' />
						<command class_type='call' title='Call Macro' macro='OLED_ON' />
						<command class_type='call' title='Call Component Macro' component='gLCD_SSD1351' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='gLCD_SSD1351' macro='SetDisplayOrientation' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_SSD1351' macro='ClearDisplay' />
						<command class_type='call' title='Call Component Macro' component='gLCD_SSD1351' macro='PrintNumber' >
							<argument exp='250' />
							<argument exp='50' />
							<argument exp='50' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='24219805-113d-4b12-b6bd-e1b0b0c33981' vmin='2' vmaj='1' codename='I2C_Master1' x='48' y='104' z='0.755' xsz='60' ysz='26' zsz='1.51' 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='CHANNEL' data='002' />
					<value target='BAUD_LIST' data='002' />
					<value target='SRC' data='000' />
					<value target='SMB' data='000' />
					<value target='BAUD' data='50000' />
					<value target='SDA' data='$PORTD.1' />
					<value target='SCL' data='$PORTD.0' />
					<value target='label' data='I2C Master' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='c73616d1-7ad0-45d9-aada-69ccfa4c5efc' vmin='3' vmaj='1' codename='RS232' x='-56' y='104' z='0.755' xsz='60' ysz='26' zsz='1.51' 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='CHANNEL' data='002' />
					<value target='BAUD_LIST' data='004' />
					<value target='BAUD' data='9600' />
					<value target='DBITS' data='008' />
					<value target='RETURN' data='000' />
					<value target='ToutVal' data='255' />
					<value target='FLOWEN' data='000' />
					<value target='ECHO' data='000' />
					<value target='TX' data='$PORTD.6' />
					<value target='RX' data='$PORTD.7' />
					<value target='CTS' data='$PORTB.1' />
					<value target='RTS' data='$PORTB.2' />
					<value target='TXRemap' data='' />
					<value target='RXRemap' data='' />
					<value target='label' data='RS232' />
					<value target='ScopeTraces' data='0' />
					<value target='ConsoleData' data='0' />
					<value target='ConsoleColumns' data='64' />
					<value target='DataSource' data='001' />
					<value target='com_port' data='003' />
					<value target='Injector' data='000' />
					<value target='InjectorHandle' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='fd1a193b-149f-4ba8-b1ce-ce39ca863975' vmin='6' vmaj='1' codename='gLCD_SSD1351' x='0' y='-45.488' z='0' xsz='5.99359' ysz='5.32725' 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='pixel_height' data='96' />
					<value target='pixel_width' data='128' />
					<value target='monochrome' data='0' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='16777215' />
					<value target='colour_bit_depth' data='16' />
					<value target='red_bit_depth' data='5' />
					<value target='green_bit_depth' data='6' />
					<value target='blue_bit_depth' data='5' />
					<value target='CS_pin' data='$PORTE.0' />
					<value target='RS_pin' data='$PORTD.3' />
					<value target='SD_pin' data='$PORTA.1' />
					<value target='SCK_pin' data='$PORTA.2' />
					<value target='Reset_pin' data='$PORTD.2' />
					<value target='DisplayMethod' data='000' />
				</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='388' 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---------------------wAAAAAUAAAALwUAAF8CAAA' zoom='75' scrollx='0' scrolly='599' flags='0' />
		<view type='0' name='OLED_OFF' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAALwUAAF8CAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='OLED_ON' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAALwUAAF8CAAA' zoom='75' scrollx='0' scrolly='35' flags='0' />
	</layout>
</document>
</root>
