I replaced my old Due because yesterday, when I was making a simple circuit with an LED and a microswitch, and whenever I pressed the microswitch, the board itself seemed to make a highpitched noise that came from the chip? So I got a new one.
Run into a heap of issues with the new board:
Constantly getting error message that no device is connected to COM4, but pressing reset or erase on board seems to fix this issue. Never had this issue with old board.
Or unsupported processor message...
When I hit compile and upload, it uploads an old program and it wont stop. My program has lots of serial prints in it for debugging. So I deleted most of it (and thus most of the messages/variable readings) and when I re-upload and run the serial monitor again, I am still getting seeing those old messages (despite the commands for them being deleted). I have tried pressing erase on the board... but I guess its the IDE sending an old program and I cant figure how or why its doing it?
... Also when I pressed fix encoding and reload, it stuck my old program back in... why makes me think that the IDE has my old program stuck in its memory or something and isnt seeing all the changes I am making etc...
I am using windows 10 and the latest IDE
Any help will be greatly appreciated I am using arduino for a uni project which is worth a fair amount of marks!