This problem just started after 3 days of working on a project.
I am using Arduino IDE in Windows 10.
When I go to upload "Blink," everything works fine. I connect the USB (sometimes I have to change the port from COM6 to COM5) and upload and it blinks. All good. Well, one weird thing: sometimes I'll upload Blink when it's COM5 and then after the upload I'll notice that the Arduino has switched to COM6. So I have to go in and manually update the Port.
But after I switch to whichever Port has MKR1000 listed on it and go to upload my other more complicated program that uses WiFi and the Nokia 5110 LCD, it seems to throw the Arduino for a loop. All of a sudden it either won't upload properly or say port cannot be found and starts disconnecting from the port about 15 seconds after I connect it, and I'm not able to upload anything.
Anyone have any clues what might be going on? Thank you.
Adding some information about the connections from NOKIA 5110 (also using a breadboard in between):
RST: to pin 6 on MKR1000
CE: to pin 4 on MKR1000
DC: to pin 7 on MKR1000
Din: to pin 3 on MKR1000
Clk: to pin 5 on MKR1000
VCC:to VCC on MKR1000
BL: to VCC on MKR1000
GND: to GND on MKR1000