arduino-libraries / RTCZero

RTC Library for SAMD21 based boards
http://arduino.cc/en/Reference/RTC
GNU Lesser General Public License v2.1
77 stars 78 forks source link

Error opening SerialUSB after uploading code with rtc.begin #73

Open simon88 opened 3 years ago

simon88 commented 3 years ago

Hi all,

I encouter a bug when I try to use RTCZero library with a personnal board build with an atsmad21e18a and Vscode. In my setup I initialise my rtc like this rtc.begin(), I upload my code everything works, but if I try to reupload another code after some changes for example I can't, because in vscode at left bottom I'am always in Arduino uploading.... It's seem to have a problem with SerialUSB, because when I use rtc Vscode can't reopen serial console. If I comment rtc.begin() I have no problem at all.