 }
 
 //Receive commands from the tuning PC app
-void SerialReceive()
-{
-
+bool SerialReceive()
+{
+  bool return_value = false;
   // read the bytes sent from tuning app
   int index=0;
   //if there are bytes in the serial buffer, then read them until we have received a full packet


  //Read the NVOL data as a test.
  Serial.println(nvol.a);
  
  //Setup the OLED
    // by default, we'll generate the high voltage from the 3.3v line internally! (neat!)

    display.setTextSize(1);
    display.setTextColor(WHITE);
    display.setCursor(0,0);
 
//float tempfloat = (float)adc_copy * 0.1901 + 1.6192+(float)temperature_copy;

 display.print(temperature_copy);
 display.print(" ");
 display.print(adc_copy);
 if (dell.read_data()==true)
  {
 display.print(" ");
 display.print("PWR ");
  }
  else
  {
 display.print("     ");
  }
  if (fastDigitalRead(CRADLE_SENSOR)==false)
  {
 display.print(" ");
 display.print("CRDL ");
  }
  else
  {
 display.print("      ");
  }
display.setCursor(0,20);

display.print(enc);

display.print(" ");
display.print(current_sense_raw_copy);

 display.display();
 //Serial.print(millis());
