Show Posts
Pages: 1 ... 40 41 [42] 43 44 ... 262
616  Using Arduino / Project Guidance / Re: BYTE keyword error on: February 17, 2014, 04:23:24 am
In the OP's defence, I don't see an occurrence of  "BYTE" in that code.... but I suppose it could be in one of these?

Code:
#include <string.h>
 #include <ctype.h>

EDIT.... wait I found it with my other glasses on
617  Topics / Education and Teaching / Re: Our School Project - Security System using RFID + Biometric Fingerprint Scanner on: February 16, 2014, 10:47:39 pm
Post your code in code tags.... didn't you see half of it's in italics? Somewhere in there there's a square bracket i square bracket from an array and that turns italics on. So the square bracket i square bracket has actually gone missing.

Select your code and hit the # icon above the  smiley-sweat
618  Using Arduino / Project Guidance / Re: sensors guidance on: February 16, 2014, 10:43:48 pm
Search the forum and Good-old-Google for "beacons" and "beaconing".... I have no experience of them but I think they are devices that let robots latch on to each other, so no reason why the human couldn't have one? I think they're IR.
619  Using Arduino / General Electronics / Re: 5v wall wart as digital input on: February 16, 2014, 01:57:08 pm
Your method doesn't actually detect that the pump is running though: just that it's likely to have power to it.
620  Using Arduino / General Electronics / Re: Help on using relay with arduino on: February 16, 2014, 01:54:31 pm
The transisitor? You sure it's ok? Connected the right way round?
621  Using Arduino / Motors, Mechanics, and Power / Re: I need help to control 2 dc motors with a ps2 analog joystick on: February 16, 2014, 01:51:28 pm
Quote
i need the code for two motors,i tried to double the code but it not works,what do I do now?

I think you post the code to show what you tried, and explain what didn't work.
622  Using Arduino / General Electronics / Re: Help on using relay with arduino on: February 16, 2014, 01:48:54 pm
So it seems the relay is ok?

Now try the circuit you have, but with the relay given 5V of its own, not from Arduino. (Remember to connect all the grounds)
623  Using Arduino / General Electronics / Re: Help on using relay with arduino on: February 16, 2014, 01:27:12 pm
Maybe the Arduino 5V can't supply enough current?

BTW, when you put 5V across the relay with no other electronics to complicate things, can you hear it switch?
624  Using Arduino / Programming Questions / Re: Servo Control with three buttons. (resolved and working!!!) on: February 16, 2014, 12:48:16 pm
I'm keen to see it in action
625  Using Arduino / Programming Questions / Re: Home controller system on web page on: February 16, 2014, 12:43:48 pm

Which mean? So overall my html is okay?

No it means your code is impossible to read... Use the code tag # above the  smiley-sweat so that

Code:
it
{
looks like
}
this
626  Using Arduino / Programming Questions / Re: Servo Control with three buttons. (resolved and working!!!) on: February 16, 2014, 12:35:32 pm
Slapping myself for just twigging to the fact that A being set high near the top of loop() isn't persistent through subsequent visits, while of course the armed variable is, until it's deliberately reset. Sorry PaulS, wildbill and Robin2....

Now I'm interested to hear how many doses of salt and pepper the OP is going to have to sell to recoup the cost of an Arduino, servo, coin machine and so on....
627  Using Arduino / Programming Questions / Re: Servo Control with three buttons. on: February 16, 2014, 12:14:42 pm
We did it, we did it!!! 

Excellent.

Quote
Here is the working code for those who are interested.

Um.... where?
628  Using Arduino / Programming Questions / Re: Servo Control with three buttons. on: February 16, 2014, 12:12:51 pm
No need for any delays. Re-read reply #15. PaulS gave you the necessary algorithm there.

And he's doing that already.

BUT, as soon as A is pressed it checks B right away. The OP doesn't want them to have to press them simultaneously, so if the user isn't infinetsimally quick on B, it'll read B as low.
629  Using Arduino / Programming Questions / Re: Servo Control with three buttons. on: February 16, 2014, 12:05:32 pm
You make any other changes at the same time? Maybe post the whole code again.

630  Using Arduino / Programming Questions / Re: Home controller system on web page on: February 16, 2014, 12:03:14 pm
Good example of why to use code tags.

Did you see it turned italic in the middle there? There's an array called command with elements called "i" and guess what?.... open square bracket followed by an i followed by a close square bracket is what turns italic on. So that few characters of your code has been interpreted rather than appearing on the screen.
Pages: 1 ... 40 41 [42] 43 44 ... 262