 #include <ArtNode.h>
 #include "ArtNetFrameExtension.h"
 #include "OctoWS2811.h"
+
+
+#if F_BUS < 60000000
+#error "Teensy needs to run at 120MHz to read all packets in time"
+#endif
 
 #include "TeensyMAC.h"
 #include <EEPROM.h>

#define NUM_PIXELS_PR_STRIP 384  //3 DMX universes * 512 = 1536
                            //1536/4 = 384
                            //384/144 = 2.6 meter

DMAMEM uint32_t displayMemory[NUM_PIXELS_PR_STRIP*8];
uint32_t drawingMemory[NUM_PIXELS_PR_STRIP*8];


                bitSet(portSyncFlag, port);
                uint16_t portOffset = port*128;
                //write the dmx data to the Octo frame buffer
                //uint32_t* dmxData = (uint32_t*) dmx->Data;
                for (int i = 0; i < 128; i++) {
                  memcpy(dmxMemory+portOffset+i, dmx->Data+i*4, 32);
                  //LEDS.dmxPixel(i+portOffset, data[i]);
                }        
              }
              break;}
            // OpSync  
            case 0x5200: {
              for (int i = 0; i < 128*config.numPorts; i++) {
                LEDS.dmxPixel(i, dmxMemory[i]);
              }
              LEDS.show();
              syncFps++;
              //Serial.println(portSyncFlag,BIN);
