 unsigned long previousAnalogLedLevelHigh = 0;
 unsigned long previousAnalogLedLevelLow = 0;
 
+unsigned long readMotorsStatus = 0; // 0 = Read Both Low to High and High to Low changes, 1 = Disabled, 2 = Read Low to High changes, 3 = Read High to Low Changes. 0 Means it's enabled by default.
+
 unsigned long resetCalled = 0;
 unsigned long resetDone = 0;
 

  //  Preamble/Postamble = 0x0D for Invalid Data
  //  When the computer or another host sends an invalid Preamble and Postamble comibination, the Arduino responds with 0x0D Preamble and Postamble bytes,
  //  and adds the Invalid Preamble and Postamble bytes to the 7th and 8th byte of the Invalid Command 0x0D Command.
  if (Serial.available() > 0) {

    controller = Serial.readBytes(serial_rx_buffer, sizeof(serial_rx_buffer)) && 0xFF;

  calculatePong();
  getAttention();
  readMotors();
  changeReadMotorsStatus();
  //Serial.println("END OF SETUP");
  //  And we are ready to go
}
