Giter Site home page Giter Site logo

raspi-pn532's People

Contributors

hsilomedus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

raspi-pn532's Issues

pn532i2c.writeCommand exception occured

Hi,
first of all thanks for sharing this library.

When I run your program, using i2c connection, everything runs ok.

But after a few moments I get the error:

pn532i2c.writeCommand exception occured: Error writing to /dev/i2c-1 at address 0x24 to address 0x24. Got -20001.

Do you know what could be causing this?

Exception: Cannot open file handle for /dev/i2c-1 got -1 back.

hey so i'm testing you're code with out the pn532 board Connect and im getting the following error when running the program

pi@raspberrypi ~/NetBeansProjects/NFC/dist $ sudo java -jar NFC.jar
Starting up...
Exception: Cannot open file handle for /dev/i2c-1 got -1 back.
Exception in thread "main" java.lang.NullPointerException
at nfc.PN532I2C.writeCommand(PN532I2C.java:97)
at nfc.PN532I2C.writeCommand(PN532I2C.java:156)
at nfc.PN532.getFirmwareVersion(PN532.java:28)
at nfc.Main.main(Main.java:16)

is this becouse i don't have the board connected ore is there somthing wrong with my setup ?

No license specified

Hi there,
It would be great to add a license to the project.
I would like to use your code for commercial purposes but without any license I'm not sure about the right to do it.

Thanks

can't get it working with spi

hey so im traying youre code out and i can't get it working with this board
http://www.ebay.com/itm/311005959514?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

and the following wirring im running a raspberry pi 2 mobel b

MOSI pin 19 to MOSI
MISO pin 21 to MISO
SCLK pin 23 to SCLK
pin 24 to ss
GPIO 0 pin 11 to RSTO
3.3v pin 1 to vcc
gnd pin 6 to gnd

the output from the program is when set in debug mode

Starting up...
Beginning SPI.
Wiringpisetup is 0
Wiringpispisetup is 16
Waking SPI.
getFirmwareVersion
Medium.writeCommand([0] )
Medium.waitForAck()
Medium.readSpiStatus()
Medium.checkSpiAck()
Medium.readResponse(..., 6, 1000)
pn532i2c.readResponse bad length checksum
Didn't find PN53x board

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.