Skip to main content

Questions tagged [debugging]

The process of finding and resolving problems ('bugs') in a hardware and/or software system.

17 votes
6 answers
210k views

Whenever I try to program my Arduino UNO Rev.3, I'm seeing the following error avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 ...
Evan Carroll's user avatar
15 votes
4 answers
7k views

I am new to programming and I thought a simple project to do would be to create an ammo counter. I have been troubleshooting this code for several hours now, and can not figure out why my code is ...
pvGuy's user avatar
  • 183
9 votes
4 answers
16k views

Breakpoints are a great way to see how the compiler runs to your code. Now my question is, is there a possibility to use breakpoints when you debug your code?
H. Pauwelyn's user avatar
9 votes
1 answer
1k views

When I compile my code, the Arduino IDE returns the binary sketch size in byte. Is there a good way to find out (approximately) what function or what part of my code takes up how much memory in ...
fuenfundachtzig's user avatar
5 votes
2 answers
6k views

Though an emulator is quite useful for debugging code that has no side effects, most real-world applications include some circuitry besides the Arduino. If a microcontroller on an Arduino had a JTAG ...
polkovnikov.ph's user avatar
4 votes
1 answer
10k views

As stated in www.Arduino.cc FAQ, "Can I use an Arduino board without the Arduino software? Sure. It's just an AVR development board, you can use straight AVR C or C++ (with avr-gcc and avrdude or AVR ...
EEd's user avatar
  • 904
4 votes
3 answers
294 views

I am currently running this piece of code: main.ino #include "speed_profile.h" void setup() { // put your setup code here, to run once: output_pin_setup(); cli(); timer1_setup(); sei(); } ...
Lamda's user avatar
  • 141
4 votes
3 answers
3k views

I have an arduino program that only does serial communications with a little bit of math, and I am writing another one to communicate with it on a second arduino. For testing purposes I was hoping I ...
bob mcgrath's user avatar
4 votes
1 answer
76 views

I connected three LEDs to an Arduino Uno and wrote a simple LED class. I toggle all the leds the main loop, but for some reason one led (connected to pin7) always misbehaves, skips one toggle or stays ...
Jurc192's user avatar
  • 73
4 votes
1 answer
14k views

I just got an Elegoo UNO starter kit the other day and have been working my way through the little tutorials on all the parts it came with. I am using VSCode with Platform.io plugin and (after getting ...
wileyrivers's user avatar
3 votes
1 answer
270 views

I'm kind of new to Arduino and C, and I was having trouble with this sketch. I'm working on a project to control 6 servos using virtual buttons. When I hold down the button, the servo moves forward ...
rayank97's user avatar
3 votes
2 answers
2k views

first-time builder here. I just got my Arduino Nano Every in the mail from Mouser, and I'm trying to upload a modified version of the blink example to my new brand-new board. However, every time I ...
Kronimiciad's user avatar
3 votes
2 answers
5k views

I'm using the Visual Studio Code extension to develop for Arduino which works great. It doesn't have a Serial Plotter like the regular Arduino IDE, which I need to debug this project. I can run the ...
Joel Spolsky's user avatar
3 votes
3 answers
4k views

I use my Seeeduino V4, DFPlayer mini, and this speaker module from AliExpress to create an automatic doorbell. The problem is that it seems that this speaker module's Yurobot amplifier is not ...
Starter's user avatar
  • 153
3 votes
2 answers
3k views

I'm a newbie to Arduino so please excuse the easy question and guide me to the appropriate sources or forums. I just bought an Arduino Uno Starter Kit that comes with the "Arduino Projects Book" by ...
Dave's user avatar
  • 157

15 30 50 per page
1
2 3 4 5
7