I used the /dev/ttyusbmodem1431 and the readMifare sketch doesn't display anything in the serial monitor, if I use another sketch like TimeCheck the println in the serial monitor works correctly.
I include an image of the TimeCheck sketch
thanks in advance
read MiFare card not working
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- wallas77
- Posts: 8
- Joined: Fri Sep 26, 2014 1:29 pm
read MiFare card not working
- Attachments
-
- Arduino2.gif (520.36 KiB) Viewed 191 times
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Duplicating MiFare card
Wallas77 could we get some more information. Are you using the shield and on what Arduino? how is it powered and what are the cards you are using?
- ktownsend
- Posts: 1447
- Joined: Thu Nov 05, 2009 2:18 am
Re: Duplicating MiFare card
Please post new questions in new threads, thanks.
- wallas77
- Posts: 8
- Joined: Fri Sep 26, 2014 1:29 pm
Re: read MiFare card not working
I'm using an arduino yun with the NFC + RFID shield, the power supply is with a USB to mini USB cable directly to the computer
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: read MiFare card not working
This is a Yun thing - it has nothing to do with the NFC shield. Sometimes with Yun and Leonardo the serial monitor doesn't want to connect properly. One thing you can do is wait for it to connect. Try changing the beginning of the setup() function:
Code: Select all
void setup(void) {
while (!Serial); //wait for a serial connection
Serial.begin(115200);
Serial.println("Hello!");
...etc...
Please be positive and constructive with your questions and comments.