 
 int serialRX()
 {
+  byte iB;
   // read a a byte from the serialbuffer
   iB = Serial.read();
 }
 
-void serialTX(byte oB)
+void serialTX(byte oB) // for testing purposes only
 {
+  byte oB;
   if (oB == 13)
   {
     Serial.write(11);

float voltage = 0.0;
unsigned long startTime;
unsigned long elapsedTime;
byte byteIn = 0;
byte iB = 0;

void setup()

  Serial.write(oB);
}

float sensV() // measure the voltage
{
  sumSamples = 0;

