 #ifdef CDC_IBUS
+
+// http://github.com/timotto/IBUS_Protocol
+#include <IBUS_Protocol.h>
+// http://pjrc.com/
+#include <AltSoftSerial.h>
+#include <EEPROM.h>
 
 //#define DEBUG_CDC(x) Serial.print(x)
 #define DEBUG_CDC
-
-// SoftwareSerial
-#define CDC_BUS_TX  12
-#define CDC_BUS_RX  11
-
-#include <EEPROM.h>
-#include <IBUS_Protocol.h>
-#include <AltSoftSerial.h>
 
 //Ignition status, Off:
 //80 04 BF 11 00 2A

          break;
      }
      break;
    case 0xF0: //BMBT
      switch(frameData[0]) {
        case 0x48: // Button
          _ibus_handleButton(0x4800 | frameData[1]);
          return;
      }
      break;
    case 0x50: //MFL
      switch(frameData[0]) {
        case 0x3B: // Button
          _ibus_handleButton(0x3B00 | frameData[1]);

// Display on
// 46 05 FF D5 01 00 68
// 

// Wait for IBUS_TX_WAIT milliseconds after receiving the last frame before sending
#define IBUS_TX_WAIT     50

#define IBUS_GT          0x3b
#define IBUS_CID         0x46
#define IBUS_MFL         0x50
#define IBUS_IKE         0x80
#define IBUS_GLO         0xBF
#define IBUS_BMBT        0xF0
#define IBUS_LOC         0xFF

#define BTN_BMBT_LEFT    0x4810
#define BTN_BMBT_RIGHT   0x4800
#define BTN_BMBT_CD1     0x4811
