Thanks for your reply. Indeed, I noticed there was still a Serial line in the code:
while(!Serial);
After removing the code is working as expected.
Thanks for your reply. Indeed, I noticed there was still a Serial line in the code:
while(!Serial);
After removing the code is working as expected.