Show Posts
Pages: 1 ... 1171 1172 [1173] 1174 1175 ... 1892
17581  Using Arduino / Programming Questions / Re: pwm to target measurement on: January 11, 2012, 01:54:53 pm
Why are you calculating the floats every time through loop()?
Not sure what the commas in the ifs are doing.
They're not illegal, but they're probably not doing what you think.
17582  Using Arduino / Programming Questions / Re: The GY-26 Compass sensor module on: January 11, 2012, 09:52:43 am
Quote
The value 239 (decimal) will not fit in a byte.
Wuh?
17583  Using Arduino / Programming Questions / Re: question about averaging sensor inputs on: January 11, 2012, 07:57:38 am
Code:
  total3= total3 - rrindex[index];         
   rrindex[index] = analogRead(rrin);
   total3= total3 + rrindex[index];         
   index = index + 1;                   
   if (index >= numReadings)             
    index = 0;                           
 
Looks like you need to review your use of "index".
17584  Using Arduino / Programming Questions / Re: Lookup Table in Sketch on: January 11, 2012, 02:50:40 am
Or you could try the "map" function.
17585  Using Arduino / Project Guidance / Re: Strobe light on: January 11, 2012, 02:30:37 am
Quote
5 * .02 = 0.1mW
No - 5 * 0.02 = 0.1W
17586  Using Arduino / Project Guidance / Re: Advice needed: Controlling a Servo from audio input on: January 10, 2012, 04:45:35 pm
Have you tried the Servo library?
17587  Using Arduino / Programming Questions / Re: Help with controling the brightness of 3 LED's using processing. on: January 10, 2012, 04:34:48 pm
The availability of a character has nothing at all to do with the display cycle, so yes, it should be completely separate.
17588  Community / Gigs and Collaborations / Re: Looking for Arduino Project Partners! on: January 10, 2012, 04:10:57 pm
Please stop cross-posting
17589  Using Arduino / Project Guidance / Re: Advice needed: Controlling a Servo from audio input on: January 10, 2012, 04:06:36 pm
Barring major changes in air pressure, the velocity of sound will be pretty constant, and you couldn't measure it easily with a single microphone
17590  Using Arduino / Programming Questions / Re: calculating XOR checksum problem on: January 10, 2012, 03:54:49 pm
I don't think an NMEA sentence should contain a null.
Can you print the HEX value of the characters?
17591  Using Arduino / Project Guidance / MOVED: Looking for Arduino Project Partners! on: January 10, 2012, 03:47:45 pm
This topic has been moved to Gigs and Collaborations.

http://arduino.cc/forum/index.php?topic=86489.0
17592  Using Arduino / Programming Questions / Re: Help with controling the brightness of 3 LED's using processing. on: January 10, 2012, 03:21:56 pm
You need to read characters as soon as they become available, not after your delay interval.
17593  Community / Bar Sport / Re: Watch your cap usage on: January 10, 2012, 01:09:01 pm
Surely that's also a question of hyphenation, not merely capitalisation.
17594  Using Arduino / Project Guidance / Re: Arduino newb question on: January 10, 2012, 01:05:55 pm
No, you won't cause any damage.
17595  Community / Gigs and Collaborations / Re: Looking to hire Boston based programmer for small prototype project on: January 10, 2012, 12:59:30 pm
How do you cope with local topographical oddities, like the Solent's double tide?
Pages: 1 ... 1171 1172 [1173] 1174 1175 ... 1892