I hope this is the right section :)
I want to send analogReads from an Arduino to another using wireless communication. Basically I'm using Nordic nRF24L01+ chips and the Mirf library let me send data via [u]byte array[/u] with this synthax:
byte data data = B1000001; data = B1111111; Mirf.send(data);
and in the receiver I can read data with:
byte data Mirf.getData(data); Serial.println(data); Serial.println(data);
but in this way I can't send values more than 2^8 bit per cell. So I wanna ask you how to send integer values with byte array beacuse I'm not very familiar with this variable type. I would also send always an array with 2 o n cell because I want to store and send different analogReads in different cells, something like: data = analogRead(0); data = analogRead(1); ..... .....
Any answer will be really appreciated. Thanks !