   obd.println(obd_cmd);
   readOBD();
 }
+
+void checkIncommingCmd(int cmd)
+{
+  switch (cmd) {
+    case 0:
+      send_OBD_cmd(PID_RPM);
+      break;
+    case 1:
+      send_OBD_cmd(PID_SPEED);
+      break;
+    case 2:
+      send_OBD_cmd(PID_FUEL_LEVEL);
+      break;
+    case 3:
+      send_OBD_cmd(PID_DISTANCE);
+      break;
+    case 4:
+      send_OBD_cmd(PID_THROTTLE);
+      break;
+  }
+}

  send_OBD_cmd("0140");     //send 0140, retrieve available pid's 40-??
  delay(1000);
  send_OBD_cmd(PID_RPM);    //send 010C1, RPM cmd
  delay(1000);
}


 Developed by: Ruy García
 Created: July 22, 2014
 By: Ruy García
 Javascript: parseInt( ( "41 0C 0F A0".substring(6) ).replace(" ",""),16 );
 */

#include <TinyGPS++.h>
