Show Posts
Pages: 1 ... 1070 1071 [1072] 1073 1074 ... 1739
16066  Using Arduino / Programming Questions / Re: dec2bin and bin2dec on: November 22, 2011, 04:42:48 pm
Is there one of the International Forums that is better suited to your native language?
16067  Using Arduino / Project Guidance / Re: Basic "Timer" on: November 22, 2011, 03:53:29 pm
Yes, something like that.
Depends what your code looks like.
16068  Using Arduino / Programming Questions / Re: dec2bin and bin2dec on: November 22, 2011, 03:50:11 pm
A look up is just a table of values.
Code:
const byte LUT [] = {
0,8,4,12. etc
  }
See the pattern?
(Can you explain where your 13 variables come from?)
16069  Using Arduino / Project Guidance / Re: Basic "Timer" on: November 22, 2011, 03:45:29 pm
You don't reset the counter, you use your own"zero"
16070  Using Arduino / Programming Questions / Re: two tasks at the same time on: November 22, 2011, 03:43:28 pm
Looking hopeful, but there's no need to set the pinMode for an analogue pin.
Sorry, I'm not sure, is your language Dutch or Flemish?
16071  Using Arduino / Project Guidance / Re: Basic "Timer" on: November 22, 2011, 03:34:40 pm
Where does "90" come from?
16072  Using Arduino / Project Guidance / Re: Basic "Timer" on: November 22, 2011, 03:24:12 pm
You say your section was the timer.
Who's is it now?
To help, we need to see the code.
16073  Using Arduino / Programming Questions / Re: dec2bin and bin2dec on: November 22, 2011, 02:53:41 pm
Use a look up table
16074  Using Arduino / Motors, Mechanics, and Power / Re: Epilectic servo on: November 22, 2011, 02:39:31 pm
Epicyclic?
Eclectic?
Ecliptic?
Ellicit?
16075  Using Arduino / Programming Questions / Re: two tasks at the same time on: November 22, 2011, 02:26:16 pm
With a single core processor, no, it is not possible to run two pieces of code at the same time.
But it is possible to run two pieces of code at almost the same time.
Certainly, when you make two analogReads, they are at least 100us apart.
16076  Using Arduino / Programming Questions / Re: Using Keyboard to control a Motorshield on: November 22, 2011, 11:59:12 am
Of course it sets "speed" - it sets it to 127.
However, the variable "speed" currently does nothing to set the speed of the motor.
16077  Using Arduino / Programming Questions / Re: Using Keyboard to control a Motorshield on: November 22, 2011, 10:25:34 am
Setting you variable "speed" doesn't archive anything.

However, if you were to pass it as a parameter to "setSpeed", instead of a constant, things might appear to be more sensible.
16078  Using Arduino / LEDs and Multiplexing / Re: Regarding digital clock on led matrix on: November 22, 2011, 03:02:18 am
Please tell us when our assignment is due to be handed in.
16079  Using Arduino / Programming Questions / Re: android and arduino controlling a 4 wheel robot on: November 22, 2011, 03:00:21 am
You've told us what it doesn't do, but there's a lot of debug printing in there, so why not tell us what it does do?
16080  Using Arduino / Programming Questions / Re: 11 LED Counter Help Needed on: November 21, 2011, 03:43:55 pm
Code:
pinMode(PIN2, OUTPUT);
Where did you define PIN2?
Why are you not using the values in "pins"?
Pages: 1 ... 1070 1071 [1072] 1073 1074 ... 1739