I recently bought 2 arduino leonardos (DEV 15795) https://www.sparkfun.com/products/15795
I was running timer interrupt code set up to measure and eventually use pwm to control temperature. The first board became unrecognized by windows and Arduino IDE (unable to select port or upload). After this, I assumed I must’ve accidentally touched 5V to Gd and shorted out the board or something even though the red power LED still came on, and I bought another one.
The second board worked for several days running example code and other things on this board before trying to upload the Timer interrupt code I had written. Today I went to upload the temperature control on interrupt code that compiled correctly, and my QWIIC display never showed anything and the board became unrecognizable (not even the splash screen in the setup code for my QWIIC display before the registers were even edited for the timer)
I then took the boards using an UNO as ISP and reprogrammed them both following this tutorial https://www.arduino.cc/en/Tutorial/Buil … ArduinoISP . I had the show verbose output during upload box checked, and the code uploaded successfully to the board.
Now I’ve got two boards that both seemingly should work, both flash yellow as downloading code, and yet both still wont run even the Blink example sketch on Arduino… The code uploads successfully, the light stops flashing, and then no blink or anything happens. I’m wondering if the 15795 has some sort of special bootloader on it that I need to upload differently or if there’s something else wrong. From what I can tell everything seems fine with uploading to the board, I just get no execution at all on either board.
I’d understand if my code was wrong and I had a register misnamed that messed with the timer, but after resetting the bootloader I should be fine, right?