Show Posts
Pages: 1 ... 1171 1172 [1173] 1174 1175 ... 1752
17581  Using Arduino / Programming Questions / Re: function calling issue on: August 28, 2011, 01:44:22 pm
Code:
#define AF 14
Code:
AF = LOW;
That doesn't make much sense.
Did you mean "digitalWrite (AF, LOW);" ?

Quote
That part is in one big comment
Really?
17582  Using Arduino / Programming Questions / Re: Inverting Anolog read with LDR on: August 28, 2011, 01:26:00 pm
You could use a subtract operator, or you could use "map".
17583  Using Arduino / Programming Questions / Re: Help with programming:P on: August 28, 2011, 01:25:16 pm
Code:
digitalWrite (11, digitalRead (12));
Don't forget the appropriate pinMode calls.
17584  Using Arduino / Programming Questions / Re: function calling issue on: August 28, 2011, 01:24:07 pm
Code:
"measurements"-> "metric" or "imperial"
That doesn't look like a valid pointer construct.

Code:
if(sound ?? sensitivity3){
?? is not a C operator I've come across.

Code:
int super;
Code:
switch (mode) {
    case super:
Quote
'" super' cannot appear in a constant-expression"
17585  Using Arduino / Programming Questions / Re: Help with programming:P on: August 28, 2011, 12:46:24 pm
Quote
i want to send a signal through pin 11 and make it come out in pin 12
You need a jumper wire, not code.
17586  Using Arduino / Programming Questions / Re: function calling issue on: August 28, 2011, 12:21:30 pm
Code:
if(shutter == LOW);  
?

Actually, I meant all of it.
I don't do keyhole debugging.

Quote
Iz sekrut!
I had to google that one - I thought you were maybe Turkish.

If you don't want any help, shall I just lock this thread now, or move it to "Garbage"?
17587  Using Arduino / Programming Questions / Re: More than 12 servos on UNO ? on: August 28, 2011, 12:20:37 pm
What Bilbo said - it just depends on how much other stuff is going on, and how much jitter you can tolerate.
17588  Using Arduino / Programming Questions / Re: function calling issue on: August 28, 2011, 12:15:37 pm
If you could just lean a little to your left, I can't quite see your code.
17589  Using Arduino / Programming Questions / Re: function calling issue on: August 28, 2011, 11:07:22 am
"auto" is a reserved word.
17590  Using Arduino / General Electronics / Re: Best mosfet for switching DC from 5v Arduino pin. on: August 27, 2011, 12:34:27 pm
Unless you put a driver between the Arduino and the MOSFET, you should really be looking for "L" suffix (Logic) devices.
A 10V VGS isn't going to saturate with a 5V Arduino input, so your device is going to get HOT.
17591  Using Arduino / Project Guidance / Re: people mapping issue on: August 27, 2011, 12:29:06 pm
Have you thought of a thermal camera?
17592  Using Arduino / Programming Questions / Re: First Arduino Project: Help! on: August 27, 2011, 11:57:32 am
Quote
A pattern of all the outputs can stored in a single int variable.
sp. "byte variable"
17593  Using Arduino / Programming Questions / Re: First Arduino Project: Help! on: August 27, 2011, 11:29:02 am
You've got eight bits of data.
Eight bits allows 256 unique combinations, so an array of 32 bytes represents the 256 combinations, with each bit representing PASS/FAIL.
Your eight input bits reference a single bit in the array,and the bit represents either PASS or FAIL.
Simple arithmetic will give you which byte/bit to access.
17594  Using Arduino / Project Guidance / Re: people mapping issue on: August 27, 2011, 11:06:18 am
Quote
but the errors was fatal since the anything van move a certain a char anything and it will be mapped ,
Translation?
17595  Using Arduino / Programming Questions / Re: strange code/servo malfunction on: August 27, 2011, 11:03:17 am
Quote
servo batteries were dead, causing the circut to attempt to take power from that poor 9V battery
How have you got the batteries wired?
Pages: 1 ... 1171 1172 [1173] 1174 1175 ... 1752