added Arduino Due compatibility