You are reading a single comment by @Andreas and its replies. Click here to read the full conversation.
  • Hey Espruinos!

    I tried to follow this example: https://github.com/espruino/EspruinoDocs/blob/master/devices/NRF24L01P.md

    As I have already the display connected to the middle pins, I like to use the side Pins A0, A1 and B3 to B5 to connect the NRF24L01. So here is my setup:

    SPI3.setup({sck:B3, miso:B4, mosi:B5}); 
    var nrf = require("NRF24L01P").connect( SPI3, A0, A1 );
    

    My 2nd one (the slave) is set up like described in the example. When I try to send a command like (or also something similar):

    nrf.sendCommand("1+2", function(r) { print("=="+r); });
    

    I get this issue:

    ERROR: Field or method does not already exist, and can't create it on a non-object at line 2 col 74
    0;c<=a.length;c+=this.PAYLOAD){for(var d=...
    

    Does anyone knows what that means? I'm using VERSION 1v61

    Thanks & best regards, Andreas

About

Avatar for Andreas @Andreas started