Here's some code I recently wrote to transmit DMX on Teensy. Maybe it could work on Due? It uses Serial2 with only the normal functions.https://github.com/PaulStoffregen/SOAK2016/blob/master/controller/leds.cppYou'll probably need to use the elapsedMillis.h library, since Due doesn't have this feature built in.You'll probably also need to use a recent version of Due's core library, since this uses availableForWrite().
I tried but nothing.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16