Questions tagged [debugging]

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

Filter by
Sorted by
Tagged with
9 votes
1 answer
1k views

Overview of compiled code size

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
16 votes
6 answers
168k views

How do I resolve "avrdude: stk500_recv(): programmer is not responding"?

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
1 vote
1 answer
151 views

Help with debugging code

This is NOT my code; was posted on Project Hub. I tried to use the code (humidity controller) but it returns an error on line 270: else if (DHT.humidity >= setpoint + 3 and syson == true) { //if ...
kwhunter's user avatar
1 vote
0 answers
250 views

Adding Serial2 ends up blocking nano rp2040

Background Info I want to have two serials in my arduino nano rp2040 connect, in order to be able to communicate using the following scheme. (μC is a microcontroller). μC1 <--> μC2 <--> ...
MIKE PAPADAKIS's user avatar
1 vote
2 answers
125 views

Logging without IDE

Is there a way to log events on Arduino when developing using C / AVR toolchain, and not the Arduino IDE? Working on Ubuntu.
vasily's user avatar
  • 133