Show Posts
Pages: 1 ... 853 854 [855] 856 857 ... 1744
12811  Using Arduino / Project Guidance / Re: Looking for an Angle sensor on: June 08, 2012, 11:01:02 am
Quote
The accelerometers are vastly over-kill for this application but are cheap enough to be viable
What else did you have in mind?
12812  Using Arduino / Project Guidance / Re: Help converting pointer to integer, please?! on: June 08, 2012, 10:59:58 am
If you applied the auto format tool to your code, I'd bet you'd be able to spot your error.
12813  Using Arduino / Project Guidance / Re: Laser Instrument (advice is needed) on: June 08, 2012, 09:40:20 am
With a soldering iron.
12814  Using Arduino / Programming Questions / Re: Programming Help on: June 08, 2012, 08:44:42 am
In that case, the problem lies in the stuff that you didn't write, so should be easy to find.
Alternatively, you could look at the portions of the code that are related to the joystick, because now you know that's where this problem lies.
12815  Using Arduino / Programming Questions / Re: Programming Help on: June 08, 2012, 08:26:46 am
You've also got both axes of your joystick on the same input pin.
12816  Using Arduino / Programming Questions / Re: Programming Help on: June 08, 2012, 08:17:34 am
Code:
JaguarLeft.attach(9);
JaguarLeft.attach(10); 
Right there.
12817  Using Arduino / Programming Questions / Re: Programming Help on: June 08, 2012, 08:13:37 am
Quote
It compiled just fine.
Of course it did - there's nothing syntactically wrong with what you did.
Doesn't make it right though.

"My hovercraft is full of eels" is a perfectly grammatical sentence, but (except to Monty Python fans) doesn't make a lot of sense.
12818  Using Arduino / Project Guidance / Re: Arduino - take picture by CMOS camera on: June 08, 2012, 07:44:38 am
Quote
"Kinda real time" can be defined as a few minutes later.
OT: I once read an argument that a monthly payroll can be considered real-time system.
The (tongue-in-cheek) article came to that conclusion because of the dire consequences of not delivering the system's output in a timely and accurate manner!
12819  Using Arduino / Project Guidance / Re: Laser Instrument (advice is needed) on: June 08, 2012, 06:11:54 am
Quote
I want to be able to see the beams. I
Get it wrong, and they could be the last things you see clearly!
12820  Using Arduino / Project Guidance / Re: Laser Instrument (advice is needed) on: June 08, 2012, 05:28:51 am
Quote
The lasers (20mw green diodes)
Why such powerful devices?
12821  Using Arduino / Programming Questions / Re: Odd need to convert unsigned long to a byte array on: June 08, 2012, 05:23:00 am
Quote
Is it big or little endian?)
Big endian.
12822  Using Arduino / Programming Questions / Re: hex/byte to int conversion on: June 08, 2012, 04:34:56 am
Quote
ohh it adjusts for upper lower.
No, it doesn't.
It simply ignores upper or lower case.
ASCII digits '0' to '9' have hex values 0x30 to 0x39.
ASCII digits 'A' to 'F' have hex values 0x41 to 0x46 or 'a' to 'f' 0x61 to 66.
If an ASCII hex digit is greater than 9
Code:
if(ascii > 0x39)
, then subtracting 7 from it (assuming it is A to F or a to f) will convert the least significant four bits of it to 0x0A to 0x0F, so that ANDing it with 15 will yield the hex digit represented by the ASCII character.

Of course, you can give it any ASCII character (including punctuation), and it will attempt to turn it into hex.
12823  Using Arduino / Project Guidance / Re: Help converting pointer to integer, please?! on: June 08, 2012, 03:54:49 am
Quote
multiple definition of `DallasTemperature::getTempC(unsigned char*)'
Seems pretty clear to me - you've defined the same function more than once.
I'd be able to help better if I could see the code.
12824  Using Arduino / Programming Questions / Re: Easy question on: June 08, 2012, 02:44:59 am
Quote
No, led is connected in pin 13..
Then disconnect it immediately and put a resistor in series.
12825  Community / Local Groups / Re: Seeking Brisbane Arduino enthusiasts on: June 08, 2012, 01:41:18 am
Quote
PS - Sorry about the spam, I'm putting this on multiple threads to maximise the chance someone will see it!
Don't worry about the spam, I've removed the duplicate posts to minimise the irritation to others.
Makes sure you don't do it again.
Pages: 1 ... 853 854 [855] 856 857 ... 1744