PIR sensor and DmxMaster library

DmxMaster uses pin 13 as default

A link to the library, and any hardware, might allow us to explain what you are seeing. No links == no hope.