Skip to main content

Questions tagged [debugging]

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

0 votes
1 answer
80 views

I am trying to debug using Arduino IDE through STM32Duino for my STM32 Nucleo-144 F767ZI. The code is uploaded successfully, but upon pressing debug, I get this error. Waiting for gdb server to start....
Tejas A's user avatar
0 votes
0 answers
96 views

#include <MIDI.h> int scale = A4; int oct = A2; int potval, octval,octval2=0; int newnote, prevnote = -1; int newpotval,prepotval=-1,potval2=0; int trigr = 7; // Ultrasonic right int echor = ...
DETOX's user avatar
  • 1
-1 votes
1 answer
326 views

I have three large PROGMEM arrays, in order to store musical notes for a song. One array is the notes, one is the note durations, and one is the pause after the note. The first array is an int one and ...
user1584421's user avatar
  • 1,435
1 vote
0 answers
146 views

Here is the verbose for the Arduino IDE: Flashing with command:/Users/hakan/.arduino-create/arduino/openocd/0.11.0-arduino2/bin/openocd -d2 -s /Users/hakan/.arduino-create/arduino/openocd/0.11.0-...
Mr. Panda's user avatar
  • 151
1 vote
0 answers
66 views

The code below is a program that aims to apply the Pans-Thompskin algorithm to a signal attained from a ECG filter. The filter seems to work alright but it fails to blink the LED and collect a correct ...
David Chan's user avatar
1 vote
0 answers
428 views

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
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
2 votes
0 answers
77 views

I am trying to connect JTAG debugger to my esp32 according to the following steps https://www.instructables.com/How-to-Use-a-Debugger-on-an-ESP32/ but still I am facing issue in debugging. I am ...
Manisha Narayana Gowda's user avatar
-1 votes
1 answer
61 views

The first time, pow() works. But inside of a 'for loop', or again afterwards, it doesn't behave !? (I'm using a Chinese Pro Mini with Arduino 1.8.16) EDIT To clarify what I am asking, my question is:...
TRS-80's user avatar
  • 21
1 vote
0 answers
90 views

I've got an ESP32 with an CO2 sensor attached. The Arduino script I'm using is quite old and worked for sending them over LoraWAN to TTN and is stable. I added an Wifi-Client to read data more ...
Standard's user avatar
  • 111
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
1 vote
1 answer
681 views

I am writing my own assert() macro on Arduino as shown below. When I run it from the main() it always works correctly (prints the message and gets into an infinite loop), however when I call it within ...
Jurc192's user avatar
  • 73
0 votes
1 answer
3k views

I used this simple code to understand the basics of serial communication. This achieves simple communication between the computer and arduino: String receive_buffer; void setup() { Serial.begin(9600)...
satan 29's user avatar
  • 169
2 votes
1 answer
6k views

I tried to modify the basic "hello-world" sketch for the LCD that is a part of the examples section in the IDE. I intended to make a countdown timer using the LCD. The original code simply ...
satan 29's user avatar
  • 169
2 votes
0 answers
65 views

As part of a project, I created a simulation of a juncture with 4 traffic signals. The time for the green signal is set based on a function that calculates it based on an algorithm (and it takes the ...
satan 29's user avatar
  • 169

15 30 50 per page
1
2 3 4 5
7