Skip to content

Sending fails, wrong pin? #34

@JockeyDoe

Description

@JockeyDoe

Hi,
I am not able to send or receive anything.

var rf24 = new nrf24.nRF24(19, 0);
 rf24.begin();

 rf24.config({
   PALevel: nrf24.RF24_PA_MAX,
   DataRate: nrf24.RF24_1MBPS,
   Irq: 16
 });

 console.log(rf24.present());

 var data = Buffer.from("Turn LED on");
 rf24.useWritePipe("0xF0F0F0F0E1", true);
 console.log(rf24.write(data));

 rf24.destroy();

Output:

true
0

The wiring is correct, but the second output tells me nothing was sent. Also my receiver doesn't receive any data.

Is it possible, my code doesn't work because I am using another CE Pin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions