BLavery / lib_nrf24

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

addresses convertion issue #4

Closed deckbsd closed 6 years ago

deckbsd commented 6 years ago

Hi,

I try to communicate with my arduino to my pi. On my arduino i'm using the nrf24 tmrh20 library. I declare my addresses like this byte addresses[][6] = {"1Node","2Node"};

On my pi, i can't so i would like to know value in hex that i have to put in pipes = [[0xe7, 0xe7, 0xe7, 0xe7, 0xe7], [0xe7, 0xe7, 0xe7, 0xe7, 0xe7]] to get the same address ? any idea ? Thanks by advance

rtxm commented 6 years ago

The addresses are reversed in this library. In your case, in you python script use "edoN1"… or reversed("1Node") as address.