Arduino nano doesn't compile code

So I bought an Arduino nano off of amazon a bit ago and whenever I try to run any code on it, it just flashes the red light a few times in rapid succession and does nothing else, so I returned it thinking it was a knockoff Chinese model, and bought a real one off of this website, but it does the same thing. Here's a video of what it does: Here If anyone can help me, that'd be great! I know it's an issue with my computer. I have the latest version of Arduino IDE and have reinstalled it countless times.

Hi @natn8r. The behavior you are observing is normal and expected.

The "RX" LED flashes to indicate the sketch data is being received by the Arduino Nano.

After that, nothing happens because that is what the bare minimum sketch you uploaded does.

Try this:

  1. Select File > Examples > 01.Basics > Blink from the Arduino IDE menus.
  2. Click the "Upload" button as you did before.

After the upload finishes, you should now see the "L" LED blinking at 0.5 Hz. Nothing too exciting, but it is the first step in a wondrous journey that could lead you to do amazing things with that sweet Nano board.

After that, you can make some modifications to the Blink sketch and upload it again to verify that the changes have the expected effect. Try making the LED blink faster. Maybe a random blink will be more interesting. And off you go!

If you find that things are not working as you expected and get stuck, feel free to come back here with your full code and clear description of what you expected and the behavior that did not match the expectations. We'll surely be able to help you out.

Thank you so much lol
I tried it before and it didn't work, but I tried it again and it's working fine now. Thank you!

You are welcome. I'm glad it is working now. Enjoy!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.