Hello Everyone !
Ive been making a project that uses accelerometer (adxl335) as earthquake detector, and im using 2 RF modules (HC12 transceiver) and 2 arduino uno to send the analog data wirelessly but i had a hard time in using virtualwire, i understand how the virtualwire works but how about sending 3 analog inputs (the x, y, and z of ADXL335)? I can send those 3 analog inputs wirelessly but not using virtualwire, im not sure if those data that i sent and put in the xValue, yValue and zValue are still INTEGERS. Can you check my code? Here are my Sender and Receiver code. Thank You.
SENDER.ino (1.15 KB)
RECEIVER.ino (1.6 KB)