I have tried many times to connect the SAMD21 to the Arduino IDE via the USB cable, even resetting the board, but I have never been able to load a program. Can you suggest another way to upload a sketch?
make sure your usb cable is data AND power and not power only… try different usb cables
Hi!, my usb cable is ok. I discovered something strange. There was a wrong statement in my program that the compiler didn’t report:
attachInterrupt(digitalPinToInterrupt(PinInter),count1,FALLING) ;
When I corrected it , the upload went right away.
attachInterrupt(PinInter, count1, FALLING);
2 Likes