Avatar for csandor

csandor

Member since Feb 2015 • Last active Feb 2015
  • 1 conversations
  • 3 comments

Most recent activity

  • in General
    Avatar for csandor

    Thank you :) Great support you provide I have to say.

  • in General
    Avatar for csandor

    Thank you for your reply, yep, I was dumb on this, the module loaded well (I guess) when sent from the right side - just thought the error was the same, but now another thing came up, and that occured first. I have the PN532, and when I connect it and want to run this code:

    I2C1.setup({scl:B6, sda:B7});
    var nfc = require("PN532").connect(I2C1);
    nfc.SAMConfig(); // Start listening
    console.log(nfc.getVersion());
    

    this happening:

    Uncaught Error: Field or method does not already exist, and can't create it on Uint8Array
     at line 1 col 288
    ...this.i2c.readFrom(36,d+1),b.slice(6)}­
                                   ^
    in function "cmd" called from line 1 col 31
    {return this.cmd([20,1,20,0],8)}
                                   ^
    undefined
    =undefined
    Uncaught Error: Field or method does not already exist, and can't create it on undefined
     at line 1 col 288
    ...this.i2c.readFrom(36,d+1),b.slice(6)}­
                                   ^
    in function "cmd" called from line 1 col 23
    {var a=this.cmd([2],12);return{chip:"PN5"+a[2­].toString(16),...
                           ^
     at line 1 col 46
    ...],12);return{chip:"PN5"+a[2].toString­(16),firmware:a[3]+"."+...
                                   ^
    in function "getVersion" called from line 1 col 28
    console.log(nfc.getVersion());
    

    Before the firmware update it had worked, didn't even touched it for a long time after it worked.
    Any guess? :/

  • in General
    Avatar for csandor

    Somehow Web IDE just stopped pulling modules from the online source, so I couldn't use any of the not integrated ones. On any module I try to require, it says "ERROR: Unable to mount SD card : NOT_READY \n WARNING: Module "xyz" not found" (I tried with module "PN532" and "KeyPad") and I don't know what to do. Even the Firmware update notification stuff working, so it couldn't be a network issue, the module link is correct in settings, and everything seems well, but still it doesn't work.

    Can anyone help me, please?

    Csandor

Actions