-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compare/process received data #31
Comments
Hi, your compare array: copmare with Rx_fifo: if the variable n is == 0, then the campare matches. try it |
It keeps not returning 0, even though it seems to match. |
yes, the last 2 bytes in the Rx_fifo are the RSSI and LQI value. These will change almost every time. Therefore you should only compare your real payload. But IMHO this is covered with please add your code here. thx |
// Global variable //...... (just stock stuff between these two)
|
Which are your Sender & Receiver addresses? |
Sender is 1, received is 2 |
you can also do:
|
What is 'n' in this case? |
I am trying to modify the RX_Demo to trigger a script based on the received data, but I am unable to compare the received data to anything.
I don't know how to compare the Rx_fifo buffer to a pre-set value.
I want to make a simple if comparison, e.g.
But that is clearly not the solution.
Can someone help me?
The text was updated successfully, but these errors were encountered: