   irsenddummy.sendRC6(val, bits);
   verify(val, bits, RC6);
 }
+void testRCMM(unsigned long val, int bits) {
+  irsenddummy.reset();
+  irsenddummy.sendRCMM(val, bits);
+  verify(val, bits, RCMM);
+}
 
 void test() {
   Serial.println("NEC tests");

    } 
    else if (results->decode_type == RC6) {
      Serial.print("Decoded RC6: ");
    }
    Serial.print(results->value, HEX);
    Serial.print(" (");

  testRC6(0xaaaaa, 20);
  testRC6(0x55555, 20);
  testRC6(0x12345, 20);
  Serial.println("RCMM tests");
  testNEC(0x00000000, 32);
  testNEC(0xffffffff, 32);
  testNEC(0xaaaaaaaa, 32);
  testNEC(0x55555555, 32);
  testNEC(0x12345678, 32);
}

void setup()
