I couldn't think of another title to put on this thread.
I recently purchased and assembled a Borduino. I have been going through some tests, and found that there is an odd behavior... either that or I'm losing my mind.
I have the DC version and am using a FTDI FT232R cable to upload sketches to it (though I don't think that matters).
I uploaded the blink sketch, and rather than blink, the LED would stay lit constantly. I went ahead and added a few lines of code to output to the serial monitor to try debugging... and it started working! I figured that maybe I must have a poor solder joint somewhere, so I went back over the board to check my work.
I then kind of expanded on the Blink Sketch to test some more of the digital outputs, and again, the sketch seems to "hang" unless I add in "Serial.begin(9600);" to void setup ().
Now one thing that I do need to point out, and I'm not entirely sure if it's related. I'm using Linux, specifically Fedora 15 64 bit. I did have to modify a couple of files to fix a compile problem. It had to do with the AVR toolchain.
Specifically, this is what I did.
Opened up /usr/avr/include/util/delay.h
and added "#include <math.h>" near the top.
Opened up /usr/share/arduino/hardware/arduino/cores/arduino/wiring.h and commented out line 79 which read "#define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5))".
The first "fix" involving the delay.h file is suspect to me. I got the information for that fix from here
. I didn't copy any files over as suggested, and I haven't tested my sketch on a Windows computer yet. I'll do those things and report my results. Prior to copying any files over from the source that I downloaded, I'll do a compare and see where the differences are.
In the meantime, any other suggestions or pointers are certainly appreciated.