Troubleshooting the Arduino Blink Sketch (Program)

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 4

  • @Hakucho64
    @Hakucho64 Год назад

    Thanks for the video. I worked out that the LED_BUILTIN macro wasn't resolving to the correct pin number (which for my board is 13). Turns out I had the wrong board type selected in the IDE, and once I fixed that, the macro resolved to 13 as expected and the LED started flashing properly.

  • @Hakucho64
    @Hakucho64 Год назад

    At 4:43, you have the LED wire in socket 12, not socket 13. So why is the LED still blinking? A few frames later I see that the wire is back in socket 13.

    • @makeratplaycoding2666
      @makeratplaycoding2666  Год назад +1

      Good eye. At one point I was using pin 12 in my code, but changed to pin 13 to match the LED_BUILTIN define, but still used old video footage. 😁