Advanced functions for Arduino DUE