Show Posts
Pages: 1 ... 1070 1071 [1072] 1073 1074 ... 1886
16066  Using Arduino / Programming Questions / Re: About the % symbol meaning modulus on: April 06, 2012, 03:05:01 pm
It returns the remainder of the integer division of the left side by the right side.
e.g.
7 % 4 = 3
16067  Using Arduino / Programming Questions / Re: send command via rs232 on: April 06, 2012, 07:43:12 am
Loop-back tx to rx.
16068  Using Arduino / Project Guidance / Re: HELP GPS on: April 06, 2012, 04:27:30 am
If you post your code between code tags, we will be able to read it.
However, from a quick scan, I'd say you can't compare the int returned by Serial.read to an array.

If you go back to your post, click on "modify", then highlight the code, click on the # icon on the editors toolbar, then click on "save".

Edit: ok, you're not comparing an int to an array, but if you'd posted correctly, that would've been more obvious.
16069  Using Arduino / Project Guidance / Re: Crazy Erratic servo operation on: April 06, 2012, 03:59:21 am
The signals are sent at around 50Hz continuously.
Are you certain that the supply grounds are connected, and that the supply is up to the job?
16070  Using Arduino / Programming Questions / Re: send command via rs232 on: April 05, 2012, 03:23:44 pm
Quote
Do you know what is it wrong?
No.
Where's the code?
16071  Using Arduino / Project Guidance / Re: Crazy Erratic servo operation on: April 05, 2012, 02:33:36 pm
Quote
There is something from with the code for sure! its either arduino servo issue or something else
Well, good to see all aspects are covered.

With the servos disconnected, what do the servo signals look like on the scope?
16072  Using Arduino / General Electronics / Re: Has anybody seen these nice "doughnuts" for easy soldering? on: April 05, 2012, 02:03:35 pm
That looks like a really expensive solution looking for a non-existent problem
16073  Using Arduino / Project Guidance / Re: help: alternative to display in seven segment on: April 05, 2012, 09:34:12 am
A function to convert BCD to outputs would be the simplest approach - a switch/case is crazy and a debug nightmare.
16074  Using Arduino / Programming Questions / Re: quick question on: April 05, 2012, 04:49:12 am
Does that "else" look like any other "else" in examples you've come across?
16075  Using Arduino / Programming Questions / Re: quick question on: April 05, 2012, 04:06:59 am
Code:
} else )  
BZZZZT

Quote
but when i load the program i get an error
No, you didn't get as far as loading the program - that's a compiler error, not a bootloader error.
16076  Community / Bar Sport / Re: Laws of the Forum on: April 05, 2012, 03:29:40 am
Quote
I don't think you connected the grounds, Dave.
I've often wondered if that's why the AE-35 unit failed, and pondered Kubrick's and Clarke's wisdom in not including that line of dialogue.
16077  Community / Bar Sport / Re: Why good style is important ... on: April 05, 2012, 01:42:54 am
Wow!
And presumably people were gullible enough to part with cash for those?
16078  Using Arduino / Programming Questions / Re: TonePitchFollower with multiple speakers on: April 05, 2012, 01:32:34 am
Quote
im curious if there could be a way to have more.

i remember when i had set up about 60 + case

Which is why you should go back and read reply #1.

Please, please, use [code] [/code] tags when posting code.

Quote
I would get very weird symbols like @% ^%*# or even symbols that aren't on the keyboard
That's probably your program running out of RAM, which is why you should be using  for loops
16079  Community / Bar Sport / Re: Why good style is important ... on: April 05, 2012, 01:29:24 am
Serious - what's a pocket protector?
Some sort of super-hero who watches your personal finances?
Is this a USA thing?
16080  Using Arduino / Project Guidance / Re: controlling a servo with an accelerometer on: April 04, 2012, 03:52:37 pm
I have a feeling adding any kind of active guidance to a rocket is going to be illegal in many jurisdictions - be careful
Pages: 1 ... 1070 1071 [1072] 1073 1074 ... 1886