Show Posts
Pages: 1 ... 1068 1069 [1070] 1071 1072 ... 1917
16036  Using Arduino / Programming Questions / Re: Change Arduino Uno frequency with program. on: May 03, 2012, 08:31:45 am
Quote
Im trying to get communication
What sort of "communication"?
16037  Using Arduino / Programming Questions / Re: Change Arduino Uno frequency with program. on: May 03, 2012, 08:05:58 am
Quote
I have attiny2313 with 1MHz (TX) and Arduino Uno 16MHz (RX).
Individually, the words and numbers makes some sense, but when herded together like that, something is lost.

Can you explain what it is you are trying to do?
16038  Using Arduino / Project Guidance / Re: Help building first robot. on: May 03, 2012, 06:39:55 am
What does it matter what drives the wheels?
You could have the wheels driven by hydraulic motors, and the basic structure of the code would be the same.
(slightly oilier, but the same)
16039  Using Arduino / Programming Questions / Re: compiling error with attiny45 on: May 03, 2012, 05:08:09 am
Quote
All 21 lines of it?
Yes, at least three lines too many
16040  Using Arduino / Project Guidance / Re: detection of people comming in and going out of a room (PING detector) on: May 03, 2012, 04:59:01 am
Quote
I tought they would send out an analog signal (the distance they measure) but I see people connect the signal to a digital pin.
They send out a digital signal, apulse whose width is proportional to range.
Have you looked at the Ping example code in the Playground?
16041  Using Arduino / Programming Questions / Re: compiling error with attiny45 on: May 03, 2012, 04:52:46 am
Nope, no error here. (IDE 1.0)

Edit: oops missed the "tiny" bit.
16042  Using Arduino / Programming Questions / Re: How to add Ping))) to this code on: May 03, 2012, 03:09:24 am
Why do you want to wire a Ping to an H-bridge?
16043  Using Arduino / Programming Questions / Re: problem joining 2 sketches together on: May 03, 2012, 02:14:47 am
Quote
which is not going to well
Define "not going too well".

Assuming you remove the join marks, or at least comment them out, the code compiles, so what's the problem?
16044  Using Arduino / Programming Questions / Re: Rc Receiver to a variable on: May 03, 2012, 02:09:53 am
Read a pulse's length
Map a number to a different range
16045  Using Arduino / General Electronics / Re: running motor with no motor shield on: May 02, 2012, 03:53:55 pm
No, not end of discussion.
As you yourself quoted
Quote
Although each I/O port can source more than the test conditions (20 mA at VCC = 5V, 10 mA at VCC = 3V) under steady state conditions (non-transient), the following must be observed:
20mA is clearly NOT the maximum recommended, as long as the listed conditions are met.
16046  Using Arduino / Programming Questions / Re: Can you call a variable from an object in another tab? on: May 02, 2012, 03:35:29 pm
Another thing is it isn't necessary to set the pin mode of a pin you're going to do an analogRead on.
16047  Using Arduino / Programming Questions / Re: Can you call a variable from an object in another tab? on: May 02, 2012, 03:25:53 pm
Sorry, that should have read "directly referenced".
You can, of course pass pointers and references between functions.
16048  Using Arduino / Programming Questions / Re: Can you call a variable from an object in another tab? on: May 02, 2012, 03:19:32 pm
Regardless of whether the function are in different tabs or the same tab, any variable declared within a function can never be referenced in another function.
For that, it would need global/external scope.
16049  Using Arduino / Programming Questions / Re: Can you call a variable from an object in another tab? on: May 02, 2012, 03:15:29 pm
You can reference a variable, but not call it, unless the variable is a function pointer.

(Is it just me, or are those two items of code identical?)
16050  Using Arduino / Programming Questions / Re: Coding help! on: May 02, 2012, 03:13:07 pm
@OP
To save your inevitable embarrassment,  I've deleted your duplicate cross-postings.
Cross-posting wastes time, and I'm sure you wouldn't want that.
Pages: 1 ... 1068 1069 [1070] 1071 1072 ... 1917