@BearWithBeard thank you for the solution. I downgraded Arduino SAMD to 1.8.9. This solved the problem. Many thanks.