Hi, I am brand new to this, I have downloaded the program set up my circuit and put the code into the arduino ide, when I try the debug button it says “debugging is not supported by the arduino uno” what can I do to fix this please?
using other board, not Uno.
…or for simple program flow monitoring, you can use Serial.prints sprinkled around the code.
If they’re not fast enough, use spare pins for LEDs to indicate specific states or points in the code.
AVR based Arduino boards (Uno, Mega, Nano etc) don't support debugging as they are missing the needed hardware.
You can debug other boards; some of them have the hardware integrated (Arduino Zero if not mistaken), others need additional hardware to be connected before you can use the debug functionality.
See https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-debugger/
For debugging the Uno, follow @lastchancename's advise.
Also UNO R4 WiFi does not require any additional hardware, as it already has a built-in debugger on ESP32.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.