The "Arduino Due" ? Not all libraries for the normal Arduino boards work on the Arduino Due. Which library are you using ?