Loading...
  Show Posts
Pages: 1 ... 70 71 [72] 73 74 ... 104
1066  Using Arduino / Project Guidance / Re: Single shot on: January 03, 2013, 10:55:15 am
just replace switch == HIGH with sensorValue<400 and replace (do this if TRUE) with digitalWrite(13, HIGH) and likewise for (do this if false).

We only provide examples, the rest is up to you.
1067  Using Arduino / Project Guidance / Re: Single shot on: January 03, 2013, 10:25:40 am
Pseudo example:

byte latch = 0;  //initial variable
If(switch == HIGH) {  //looks at the switch, if it is high for the first time, LED is ON. If the switch changes then goes high again, LED is OFF

!latch; // This detects whether the switch changed or not.

latch ? (do this if TRUE) : (do this if FALSE);  //conditional statement,  compressed IF/ELSE statement
}
1068  Using Arduino / Project Guidance / Re: 4x 3 matrix Keypad control speed motor on: January 03, 2013, 07:48:05 am
Did you by any chance do a search in the forum for 4x3 keypad? Me and a few other people helped one guy with a keypad, and his code is somewhere in this forum. You just need to find it.
1069  Using Arduino / Project Guidance / Re: SoftwareSerial only rx Pin cause no more pins left on: January 02, 2013, 03:40:10 pm
Ok the Blink LED works so, include the softwareSerial in the blink LED code and set the RX pin to one your not going to use then see if you get the same error.

Your code compiles fine with a regular UNO/Mega board, so it has to be an issue with the software.
1070  Using Arduino / Project Guidance / Re: SoftwareSerial only rx Pin cause no more pins left on: January 02, 2013, 03:12:09 pm
save any changes to the code and restart the program, that usually fixes it.
1071  Using Arduino / Project Guidance / Re: Trying to get Leonardo and iPad talking. on: January 02, 2013, 02:25:44 pm
hansibull? his post is on page 7
1072  Using Arduino / Project Guidance / Re: SoftwareSerial only rx Pin cause no more pins left on: January 02, 2013, 02:20:21 pm
Maybe you put the Attiny software in the wrong location. I dont have an Attiny so I wouldn't know off hand, but read this and relocate it.

http://hlt.media.mit.edu/?p=1695
1073  Using Arduino / Project Guidance / Re: Trying to get Leonardo and iPad talking. on: January 02, 2013, 01:57:29 pm
Im guessing your trying to make an ICade? In which case, others have posted codes that do work(recognize key functions) with the IPad, but they also had other issues.
1074  Using Arduino / Project Guidance / Re: Trying to get Leonardo and iPad talking. on: January 02, 2013, 01:43:33 pm
Your interfacing Windows key commands with an IPad, I dont think the Key functions are the same. Did you do any research as to what keys can be recognised? Try going back to "U, D, L, R" keys
1075  Using Arduino / Project Guidance / Re: SoftwareSerial only rx Pin cause no more pins left on: January 02, 2013, 01:33:57 pm
Where is your baud rate?

mySerial.begin(9600);
1076  Using Arduino / Project Guidance / Re: Trying to get Leonardo and iPad talking. on: January 02, 2013, 01:28:44 pm
You need to put the stuff in your IF statements in { }

example.

Code:
if(digitalRead(0) == LOW)                      //UP
 {
  Keyboard.press('U');
  Keyboard.release('U');
  delay(ButtonDelay);
 }
1077  Using Arduino / Project Guidance / Re: simple motor question on: January 02, 2013, 11:55:49 am
@crankyjanky
You need to post a picture or a link to the type of motor you have, because im not aware of ANY female plug that exists, to do what you want.
1078  Using Arduino / Project Guidance / Re: SoftwareSerial only rx Pin cause no more pins left on: January 02, 2013, 11:44:47 am
Post the code you have as of now.
1079  Using Arduino / Project Guidance / Re: simple motor question on: January 02, 2013, 11:39:47 am
It's just to mount the motor in certain brackets. Its usually used to save some space and not need to use screws or other bulky clips to hold the motor in. Actually I have some cars that use it as a vibration damper. Motor clips don't hold onto the motor too well, so that part is used to reduce some of the motor vibration. Screws work just as well thou.
1080  Using Arduino / Project Guidance / Re: Duel Motor Control Help on: January 02, 2013, 11:08:57 am
Yes, yes, yes and that depends on your code. If it is a LONG code then you might have some memory issues, but from what your telling us, it won't be a problem.
Pages: 1 ... 70 71 [72] 73 74 ... 104