<root>
<document schema='101' license='1,Simonfi Tibor,VFD4CJ' title='' description='' target='AVR.ATMEGA.Arduino Mega 2560 R3' >
	<config data='' 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='0fe4adfc-42f5-4883-beb1-4f80d551c370' 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='tag' 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='SerialNumber' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='5' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Buffer' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='20' />
					</def>
				</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='Main' description='' >
						<command class_type='delay' title='Delay' exp='1' type='1' />
						<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='SetBackgroundColour' >
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='SetForegroundColour' >
							<argument exp='1' />
						</command>
						<command class_type='comment' title='' comment='Comment' textarea='12,0,12,0' />
						<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='Print' >
							<argument exp='&quot;Init&quot;' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' component='RFID_MFRC522' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
						<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='Print' >
							<argument exp='&quot;Done&quot;' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='delay' title='Delay' exp='1' type='2' />
						<command class_type='loop' title='Loop' type='0' exp='1' >
							<flowline >
								<command class_type='delay' title='Delay' disable='1' exp='1' type='2' />
								<command class_type='call' title='Call Component Macro' component='RFID_MFRC522' macro='CheckTag' >
									<return exp='tag' />
								</command>
								<command class_type='decision' title='Decision' exp='tag' swap='0' >
									<flowline >
										<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
										<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
											<argument exp='SerialNumber[0]' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
											<argument exp='Buffer[1]' />
											<argument exp='20' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
											<argument exp='Buffer[2]' />
											<argument exp='40' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
											<argument exp='Buffer[3]' />
											<argument exp='60' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
											<argument exp='Buffer[4]' />
											<argument exp='80' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' component='RFID_MFRC522' macro='Read' >
											<return exp='SerialNumber[0]' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
											<argument exp='Buffer[0]' />
											<argument exp='90' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='calculation' title='Calculation' >
											<exp exp='Buffer[0] = Buffer[0] + 1' />
										</command>
										<command class_type='call' title='Call Component Macro' component='RFID_MFRC522' macro='Write' >
											<return exp='tag' />
											<argument exp='1' />
											<argument exp='Buffer' />
										</command>
										<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='PrintNumber' >
											<argument exp='tag' />
											<argument exp='110' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
									</flowline>
									<flowline >
										<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='ClearDisplay' />
										<command class_type='call' title='Call Component Macro' component='gLCD_SSD1306_i2c1' macro='Print' >
											<argument exp='&quot;no tag&quot;' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
									</flowline>
								</command>
								<command class_type='call' title='Call Component Macro' component='RFID_MFRC522' macro='Sleep' />
								<command class_type='delay' title='Delay' exp='100' type='1' />
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='3f8d29a6-40a6-4d5e-a254-190c86d9ebb7' vmin='0' vmaj='1' codename='RFID_MFRC522' x='-71' y='24' z='3.575' 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 >
					<value target='Channel' data='001' />
					<value target='miso' data='$PORTB.3' />
					<value target='mosi' data='$PORTB.2' />
					<value target='sck' data='$PORTB.1' />
					<value target='CS' data='$PORTB.0' />
					<value target='reset' data='$PORTL.0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='f6ab6074-68ba-4cd4-9274-f973102f8518' vmin='6' vmaj='1' codename='gLCD_SSD1306_i2c1' 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 >
					<value target='pixel_height' data='64' />
					<value target='pixel_width' data='128' />
					<value target='monochrome' data='1' />
					<value target='foreground_colour' data='16777215' />
					<value target='background_colour' data='0' />
					<value target='colour_bit_depth' data='1' />
					<value target='red_bit_depth' data='0' />
					<value target='green_bit_depth' data='0' />
					<value target='blue_bit_depth' data='0' />
					<value target='SD_pin' data='$PORTD.1' />
					<value target='SCK_pin' data='$PORTD.0' />
					<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='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='0' brightness='0' perspective='0' >
		<background rgb='5767167' 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---------------------wAAAAAUAAAAXwcAAIwDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
