 //RF module: http://openenergymonitor.org/emon/buildingblocks/simple-rf-link
 --------------------------------------------------------------*/
 #include <VirtualWire.h> // library for RF RX/TX
+#include <stdarg.h>
 
-int variableA, variableB, variableC, variableD, variableE;
+// int variableA, variableB, variableC, variableD, variableE;
+
+int variableA = 113;
+int variableB = 114;
+int variableC = 115;
+int variableD = 116;
+int variableE = 117;
 float a,e,k,m,u;
 
 char cArray[100];

if (readDataRF())
  {
    digitalWrite(LED_PIN,HIGH);
    /*A=variableA/100.0;
    B=variableB/100.0;
    C=variableC/100.0;
    D=variableD/100.0;
    E=variableE/100.0;*/
    delay(300);
    digitalWrite(LED_PIN,LOW);
    //write data to serial in formatt OEM_gateway python script can understand nodeID Val1 Val2 etc.
    Serial.print(nodeID);    Serial.print(' ');
    Serial.print(variableA); Serial.print(' ');
    Serial.print(variableB); Serial.print(' ');
    Serial.print(variableC); Serial.print(' ');
    Serial.print(variableD); Serial.print(' ');
    Serial.print(variableE);
    Serial.print("\r\n");

  delay(500);
  } // end if RF

}
    digitalWrite(LED_PIN, HIGH);
    delay(500);
    digitalWrite(LED_PIN, LOW);
    // Serial.print(nodeID);    Serial.print(' ');
    // Serial.print('123'); Serial.print(' ');
    // Serial.print('124'); Serial.print(' ');
    // Serial.print('125'); Serial.print(' ');
    // Serial.print('126'); Serial.print(' ');
    // Serial.print('127');
    // Serial.print("\r\n");
    p("%d %d %d %d %d %d\r\n", nodeID, variableA, variableB, variableC, variableD, variableE);

   
}

