Improved timing on Arduino Due

No more flicker!