I am able to send text from the Arduino wirelessly to RPi. I am now trying to send the sensor data I'm measuring to the Pi. This is what I have below:
int moisture = A0;
int temp = 3;
//Skipping the setup and reading of the values
radio.write(&moisture);
radio.write(&temp);
//the above couple lines is where I start having trouble. The RPi will spit output a seemingly random selection of numbers