LPD6803 adalight issue

Arduino working code does not work teensy3.1

Yes this is correct.
Unless it has been designed to work on the teensy3 it will not work on it. This applies to all code that access the fundamental hardware inside the chip.