Skip to content

Commit

Permalink
Merge pull request #7 from pleone/master
Browse files Browse the repository at this point in the history
added nfc var definition - fixes "nfc’ was not declared in this scope"
  • Loading branch information
xiongyihui committed Nov 20, 2013
2 parents d4af842 + 345cd36 commit fd35495
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PN532/examples/readMifare/readMifare.pde
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
#include <PN532_SPI.h>
#include "PN532.h"

PN532_SPI pn532spi(SPI, 10);
PN532 nfc(pn532spi);

void setup(void) {
Serial.begin(115200);
Serial.println("Hello!");
Expand Down

0 comments on commit fd35495

Please sign in to comment.