Hi there
I am new to C ++, I also try to post here on the forum, but got no answer.
so I try but
#include <SPI.h>
#include <RFID.h>
#define SDA_DIO 10
#define RESET_DIO 9
RFID RC522(SDA_DIO, RESET_DIO);
void setup()
{
Serial.begin(9600);
SPI.begin();
RC522.init();
}
void loop()
{
/* Temporary loop counter */
byte i;
//if(theTagsMatch(RC522.serNum, myNumber))
if (RC522(RC522.serNum,23 83 DE C7 B9)){
Serial.print("Hey");
{
/* If so then get its serial number */
RC522.readCardSerial();
Serial.println("Card detected:");
/* Output the serial number to the UART /
for(i = 0; i <= 4; i++)
{
Serial.print(RC522.serNum ,HEX);*
Serial.print(" ");*
}*
Serial.println();*
Serial.println();*
} *
}
I'm trying to get cardt recognized.
I can not get all those that others have made ??to work.
so help me out please =(
system
August 19, 2014, 9:48am
2
I also try to post here on the forum, but got no answer.
Wrong. You got no one to do your homework for you.
You were asked to provide a link to the library you were using. You STILL haven't done that.
Does that code even compile? I seriously doubt it.
I am new to C ++
This, and your other post, imply that you are a student. There is a reason that there are teachers. You REALLY need to go talk to your teacher.
system
August 19, 2014, 5:26pm
3
I'm trying to get cardt recognized.
Credit for what , posting on the forum ?
Thanks for not helping. It's only human to trial and error. Wrong. You got no one to do your homework for you.???
so I google it and found help elsewhere, where they are NOT reluctant to help
"This, and your other post, imply that you are a student. You REALLY need to go talk to your teacher.!"
It has ben more than 10 years I get out of school
if (rfid.serNum[0] == 111 && rfid.serNum[1] == 222 && rfid.serNum[2] == 333 && rfid.serNum[3] == 444 && rfid.serNum[4] == 555){
I am so glad to get help in this forum, NOT!!