Combining Adafruit NeoPixels and XY-MK-5V RF receiver

Hi.

I am having troubles using both Adafruit NeoPixels, and the XY-MK-5V RF receiver. The code below works as long as I don’t run the pixels.show() method. After running show(), the RF receiver wont receive anymore. I had something like this working before.

Any ideas?

#include <Adafruit_NeoPixel.h>

const int radioPin = 11;

// 1 = led count, 9 = pin
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(1, 9, NEO_GRB + NEO_KHZ800);

// Setup
void setup() {
  Serial.begin(9600);

  pinMode(radioPin, INPUT);
    
  pixels.begin();
  pixels.setPixelColor(0, pixels.Color(255,0,0));
  pixels.show();
}


// Loop
void loop() {
  int i = 0;
  unsigned long t = 0;

  byte prevBit = 0;
  byte bit = 0;

  unsigned long sender = 0;
  bool on = false;
  unsigned int recipient = 0;

  // Data collection from reciever circuit
  while (i < 64)
  {
    t = pulseIn(radioPin, LOW, 1000000);

    if (t > 200 && t < 400) { 
      bit = 0;
    } else if (t > 1100 && t < 1560) { 
      bit = 1;
    } else { 
      i = 0;
      break;
    }

    if (i % 2 == 1) {
      if ((prevBit ^ bit) == 0) { // must be either 01 or 10, cannot be 00 or 11
        i = 0;
        break;
      }
     
      if (i < 53) { // first 26 data bits
        sender <<= 1;
        sender |= prevBit;
      }
      else if (i == 55) { // 27th data bit
        on = prevBit;
      }
      else { // last 4 data bits
        recipient <<= 1;
        recipient |= prevBit;
      }
    }

    prevBit = bit;
    ++i;
  }

  // interpret message
  if (i > 0) {
    Serial.print("S: ");
    Serial.println(sender);
    Serial.print("R: ");
    Serial.println(recipient);
    Serial.print("O: ");
    Serial.println(on);
    delay(radioDelay);
  }
}