The process of finding and resolving problems ('bugs') in a hardware and/or software system.
1
vote
1answer
26 views
How to fix error line number offset in Sublime Text when compiling for Arduino
When compiling for Arduino via the Stino plugin line numbers are not represented correctly in the output. For example, I have an error on line 117 however the output is: sketch_name.ino.cpp:136:1: ...
1
vote
1answer
79 views
Am I Running Out of RAM Or Not?
I'm attempting to drive 300 TM1803 RGB LEDs from an Arduino Uno using the FastLED library. My code works fine for 100 LEDs, but when I go to 150, the arrays that store LED values and my sensor data ...
0
votes
0answers
56 views
I2C hookup - sketch just crashes
I am encountering problems with I2C when trying to attach a 9DoF Sensor to my Arduino Uno. Following these instructions (the hardware setup I have is like in the schematic) I noticed the basic example ...
0
votes
1answer
36 views
How do I write a debugger for Arduino?
I want to write my own debugger.
I've found Visual Micro plugin for Visual Studio provides Arduino Debug.
So, does anyone have ideas how it works?
I just desire make the same plugin in Eclipse IDE.
...
2
votes
2answers
67 views
Extract arduino collected data periodically
I'd like to extract data collected by a battery powered arduino for example once a day without stopping it and not using SD card.
It's posible, when I want to extract the collected data, to connect a ...
0
votes
3answers
42 views
Why is this spitting giberish instead of serial numbers?
#include <TrueRandom.h>
void setup() {
char* ss= (char*)TrueRandom.random(111111111,999999999);
char* finalss;
Serial.begin(9600);
finalss[0] = ss[0];
finalss[1] = ss[1];
finalss[2] ...
0
votes
1answer
37 views
Arduino - Progamming issue
my first post here.
Anyway I'm working on a Simon Says game.
I have a weird bug with the function that reads button input.
This is the code:
int deBounce(int count){
int pressed=-1;
int ...
0
votes
1answer
47 views
Issue with adding a library: No such file or directory
I downloaded a Library called "Morse" which I got from the Arduino website:
http://arduino.cc/en/Hacking/LibraryTutorial
(all the way at the bottom of the page there is a link called Morse.zip)
And ...
0
votes
1answer
86 views
Arduino hangs after 3-4 minutes on battery power, but not on USB
I have a simple sketch running on a BE Leonardo-compatible board.
It reads input from a potentiometer, and outputs to two RGB LEDs which change colour over time - in a different pattern if certain ...
1
vote
2answers
243 views
Debugger for Code::Blocks + Arduino
I am not very experienced in this, but I was wondering if Code::Blocks has a way of getting a debugger that runs for Arduino chips, specifically. I understand there is Arduino IDE for but does it ...
1
vote
1answer
435 views
Why is Arduino STINO upload function not working?
I'm using sublime text for editing and modifying my arduino libraries. Sublime text is pretty pretty, useful and embed a very powerfull plugin system. Someone created an Arduino plugin for it. The ...
1
vote
1answer
113 views
What is the capability of AVRISP and USBASP on ATMega48, 328, 2560?
For use with ATMega 48 (old Arduino?), 328 (UNO, Pro Mini) and 2560 (Mega2560) chips, what is the capability for the AVRISP and USBASP programmers on:
Can it read, write fuse?
Can it read, write ...
1
vote
1answer
740 views
Does ATMega 328/2560 chips support JTAG-type programmer and hardware debugger?
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 ...
1
vote
1answer
202 views
Debugging i2C from Mac OSX desktop
I have a raspberryPi and Arduino connected via i2C. On the RPi I have a python script that takes int values and simply sends them to the RPi, which in turn echoes them back. I am trying to debug this, ...
0
votes
3answers
523 views
Why does my wired button always read HIGH?
I have made a simple Arduino program that uses a potentiometer to dim a LED.
This program also makes a second LED blink.
Finally, I have added a button that controls a third LED; this part of my ...
3
votes
1answer
304 views
How do I debug on-chip with Arduino?
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 ...