Show Posts
Pages: 1 ... 1127 1128 [1129] 1130 1131 ... 1863
16921  Using Arduino / Programming Questions / Re: Noob question: Doing a function() for x seconds on: January 25, 2012, 03:01:29 am
Quote
I would suggest you work through some of the example sketches in the IDE, in particular, the 'blink without delay' sketch.

I would go so far as to suggest it should be a requirement for joining the forum.

Amen.
 smiley-yell
16922  Using Arduino / Programming Questions / Re: Tone frequency limits. on: January 25, 2012, 02:48:38 am
OK, I concede, it is a bit of a paper-trail

http://arduino.cc/en/Reference/Libraries

takes you here:

http://code.google.com/p/arduino-tone/

and then here:

http://code.google.com/p/rogue-code/wiki/ToneLibraryDocumentation

Where it says that with a clock speed of 8MHz, the minimum frequency is 31Hz with an eight bit timer.
16923  Using Arduino / Project Guidance / MOVED: Apocalypse Proof/Resistant Personal And Scientific Computer on: January 25, 2012, 02:40:01 am
This topic has been moved to Bar Sport.

Couldn't really think of a better category, but "Project Guidance" doesn't really fit either.

http://arduino.cc/forum/index.php?topic=88609.0
16924  Using Arduino / Programming Questions / Re: robot code issue on: January 25, 2012, 01:31:35 am
No, I'm saying what the code does, does not agree with what the comment says.
The clue is in the end condition of the loop, and what gets written to the servo or ESC object.

Example:
Code:
for(pos = 90; pos < 130; pos += 20)  // goes from 90 degrees "neutral" to 130 degrees "foward speed"
You might think from the comment that the values 90, 110 and 130 are written to the servo object, but in fact, the values written are 90 and 110, simply because 110 + 20 is NOT less than 130.
As I said, this may or not be important to the correct functioning of the device, but it could confuse someone at a first reading.
16925  Using Arduino / Project Guidance / Re: LOW on: January 25, 2012, 01:29:19 am
Strictly speaking, you should only use true or false to initialise a boolean
16926  Using Arduino / Project Guidance / Re: project: power mitt on: January 25, 2012, 01:28:14 am
Perhaps the slow response is partly due to the 1/5th of a second delay.
16927  Using Arduino / Programming Questions / Re: DC motor Steering control through POT on: January 24, 2012, 04:08:13 pm
I give up.
Really.
16928  Using Arduino / Programming Questions / Re: DC motor Steering control through POT on: January 24, 2012, 03:49:25 pm
Please read reply #150 (!!) again, and try to translate it to English, please.
16929  Using Arduino / Programming Questions / Re: DC motor Steering control through POT on: January 24, 2012, 03:40:21 pm
Your signal to noise ratio is dropping badly.
16930  Using Arduino / Programming Questions / Re: Tone frequency limits. on: January 24, 2012, 03:39:24 pm
I think it is in the documentation.

Yup, it is.
16931  Using Arduino / Programming Questions / Re: DC motor Steering control through POT on: January 24, 2012, 03:33:18 pm
println, by preference, but yes.
16932  Using Arduino / Programming Questions / Re: DC motor Steering control through POT on: January 24, 2012, 03:29:59 pm
By putting prints at significant points in your code, like in setup.
16933  Using Arduino / Programming Questions / Re: DC motor Steering control through POT on: January 24, 2012, 03:26:13 pm
Is, as has been suggested, your processor resetting?
You'd know this, if you'd followed the suggestion to label your prints.
What is the battery thing doing in your circuit?
16934  General Category / General Discussion / Re: How does the Member Status system work in this Forum?? on: January 24, 2012, 02:39:26 pm
Some of us have blue stars.
Dunno why.
16935  Using Arduino / Programming Questions / Re: robot code issue on: January 24, 2012, 02:36:55 pm
Well, most (if not all) of the comments on the "for" loops are wrong.
That may be relevant.

Did you remember to wait long enough for the servo to move?
Pages: 1 ... 1127 1128 [1129] 1130 1131 ... 1863