Submitted by dominator99 on Thu, 03/12/2015 - 16:44
Hi All
Experiencing a new problem when trying to receive a transmission of an integer array (int mySensVals[5]) over an nRF24L01 network between 2 Arduino Uno's.
I can receive the first 3 of the integers transmitted but not the last 2. Because values 2 (mySensVals[1] & 3 mySensVals[2] are currently 0, I substituted the values 1, 2, 3, 4, 5 in the array mySensVals[5].
I received the values 1, 2 & 3 but not 4 & 5?
All values appear correctly on the serial monitor of the Tx station but for some reason the last 2 integers do not show on the Rx serial monitor HOWEVER, occasionally, the Tx values 4 & 5 appear on the Rx side in positions 1 & 2 ie mySensVals[0] & mySensVals[1] before returning to the previous pattern of only receiving the first 3 integers?
I've spent 2 days trying to resolve this problem. Any ideas would be gratefully appreciated (keep it simple please!)
nRF24L01 transmitting an int array problem
Submitted by dominator99 on Thu, 03/12/2015 - 16:44Hi All
Experiencing a new problem when trying to receive a transmission of an integer array (int mySensVals[5]) over an nRF24L01 network between 2 Arduino Uno's.
I can receive the first 3 of the integers transmitted but not the last 2. Because values 2 (mySensVals[1] & 3 mySensVals[2] are currently 0, I substituted the values 1, 2, 3, 4, 5 in the array mySensVals[5].
I received the values 1, 2 & 3 but not 4 & 5?
All values appear correctly on the serial monitor of the Tx station but for some reason the last 2 integers do not show on the Rx serial monitor HOWEVER, occasionally, the Tx values 4 & 5 appear on the Rx side in positions 1 & 2 ie mySensVals[0] & mySensVals[1] before returning to the previous pattern of only receiving the first 3 integers?
I've spent 2 days trying to resolve this problem. Any ideas would be gratefully appreciated (keep it simple please!)