I get a weird value back from a NRF24L01+ register #11108
Unanswered
elschmando
asked this question in
Hardware & Peripherals
Replies: 1 comment
-
It would help if you showed where the '@' occurred. My guess is that it's ASCII character '@' which is 0x40. NRF24L01 is quite hard to use. I strongly recommend you start with the official driver and test before venturing into coding it directly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I try my luck with the NRF24L01+ transceiver and I'm getting a weird value back from register 0x17.
I just try to read if RX_EMPTY has data to fetch.
I do it throught this function:
`def read_reg(add):
cs.on()
send_add = bytearray()
if (0x00 <= add <= 0x17) or (0x1c <= add <= 0x1d):
send_add.append(read_conf_bin | add)
else:
send_add.append(add)
and this command:
test2 = read_reg(0x17)
What does the @ mean?
Beta Was this translation helpful? Give feedback.
All reactions