So here's the story:
Everything was working fine. It was sending sensor information from one arduino, and recieving at the other. I went to change something in the header to allow for more sensor info to pass through, and now it stops working!! I am not the one who set this up, a previous co op student did. I am jsut finishing it up. I have no idea what I did. Both rf modules are still powering, but the rx and tx leds that usually light on do not light up anymore. I did some trouble shooting, as you will see in my code. I however have extremely limited knowledge on how this works, and I am on the verge of tears. I have been working to fix this for the past two days.
Here is what I have :
2 Arduinos
2 of thesehttp://www.rfsolutions.co.uk/acatalog/info_ZULU_M_Arduino.html. one on the arduino with the sensors, one on another to collect the data
DATASHEET: http://www.rfsolutions.co.uk/acatalog/DS-ZULUARDUINO-1.pdf
I have attached three things: the arduino code, the header file, and the c++ file for the module. I think it has somehting to do with the c++ as that is where I made the most minor of changes but ever since then, it has been messed up.
There is nothing wrong with the arduino code, as nothing has changed from before and it used to work! As you can see from the c+ file, I did some serial prints. It works all the way till serial.println("four") meaning "four" shows up on the monitor, therefore I think it gets stuck somewhere in the for loop. I do not think there is anything wrong with the recieve, but rather its just not transmitting, although I may be quite wrong.
I will be taking all the work and parts home this weekend, so any help is appreciated as this will not leave my mind until I can fix it!
RFZuluArduino.h (687 Bytes)
RFZuluArduino.cpp (3.23 KB)
Transmit_Test.ino (1.61 KB)
Receive_Test.ino (471 Bytes)