BLavery / lib_nrf24

Python library for NRF24L01+ Transceivers
71 stars 56 forks source link

Weird data in Arduino #2

Closed gepd closed 6 years ago

gepd commented 9 years ago

Hi, after try with many libraries, this one works just fine in my Raspberry pi, well almost all.

I sent a text from the Arduino to the RPi and all work fine, I received the ACSII text

But when I try to send from RPi to the Arduino, with writeAckPayload() or write() I didn't receive the ACSII text

I send buf = ['1'] (from RPi)

And in Arduino:

char msg[32]; 
radio.read( &msg, sizeof(msg) );
printf("receiving: %c\n",msg);

But the output is 825297112

what kind of data is it? what I'm doing wrong?