Show Posts
Pages: 1 ... 49 50 [51] 52 53 ... 196
751  Using Arduino / Project Guidance / Re: Arduino Robot Arm controlled by Joystick on: December 05, 2013, 05:24:29 pm
Ok, well that is done with case statements. Every time he press the joystick, it switches the case statement. Its easy to do yea, but then that means you need to know what case statement your in, so you will need some kind of display.
752  Using Arduino / Project Guidance / Re: RF Transmitter / Receiver Issue using VirtualWire library on: December 05, 2013, 05:20:04 pm
Which IF statement, this one "if (vw_get_message(buf, &buflen)) // Non-blocking" ?

Do you ever see "Got: " on the serial monitor?
753  Using Arduino / Project Guidance / Re: Arduino Robot Arm controlled by Joystick on: December 05, 2013, 05:11:32 pm
Why not just get a game controller, like a PS2 controller. You have two joysticks, plenty of buttons for button combinations, and you don't need to make any platforms or cases to mount the pieces to. There is a working library in the Arduino playground (a few actually), that I myself have used in the past. It only uses pins 10-13 too.
754  Using Arduino / Project Guidance / Re: Using multiple push-buttons on: December 05, 2013, 05:20:22 am
I fixed my post. Being that you want to use the serial monitor, don't send or receive the messages from the other Arduino using "Serial", but Serial1,2 and 3 are fine to use.
755  Using Arduino / Project Guidance / Re: LED tetris HELP on: December 05, 2013, 04:02:02 am
You found the problem, see someone with better eyes. Lol
756  Using Arduino / Project Guidance / Re: Using multiple push-buttons on: December 05, 2013, 03:58:53 am
All the grounds are tied together, so anyone of them will work.
757  Using Arduino / Project Guidance / Re: Using multiple push-buttons on: December 05, 2013, 03:50:43 am
Quote
Would I just wire it as the above says to?
Yea, it's just three wires.

Serial works both ways, send and receive, so you can a message to the other arduino, and if you receive a message, you can simple add the persons name in front of it then display it.
Ex.
Serial.print("John: ");
Serial.print(message);

Or you can use the sprintf function to combine both into one and display the buffer, but that just a little over kill, just a little.
758  Using Arduino / Project Guidance / Re: LED tetris HELP on: December 05, 2013, 03:46:57 am
It to me, does look like it could be a memory problem, but the thing is, the T is not the last piece, it's towards the middle of them. If it was the very last of the pieces, then I would be more confident to say it was a memory issue. Your rotate function seems ok, as it does rotate every other piece fine, so, I don't know.

Maybe someone else with better eyes can find the problem.
759  Using Arduino / Project Guidance / Re: Using multiple push-buttons on: December 05, 2013, 03:37:02 am
Quote
I really am unsure about this working out. Is there a way to somehow connect the input from these two boards together?
You can easily do that via a Serial connection, cross wire them, but don't use Serial1 "Serial"on the first keyboard, you'll need that for the serial monitor.

Quote
Is there a way to save the outputs from the Serial Monitor? I would like to record the messages that is being typed from the keyboard.
There was a way to do it using the command prompt, but since I have Windows 8, I can't do it any more due to security reasons. Maybe someone else found a way around that issue.
760  Using Arduino / Project Guidance / Re: LED tetris HELP on: December 05, 2013, 03:19:29 am
I tried to find where you initialized it, but couldn't find it.

Another thing, at what point does the piece mess up? Asa it gets on screen or asa you rotate it? (asa -> As soon as)
I'm curious as to why you chose to have a 16 x 16 byte array, where each element is considered a single byte, whereas using a single array of words? It would cut down your code and memory usage greatly, but also probably make it more confusing too.
761  Using Arduino / Project Guidance / Re: Which language should I learn? on: December 05, 2013, 03:11:42 am
Apps are widely written in Java, so try the program Eclipse. More direct, look at Android App Developers + Eclipse.
Keep in mind, Java is not that easy.
762  Using Arduino / Project Guidance / Re: LED tetris HELP on: December 05, 2013, 03:03:22 am
You may very well be running out of memory, but if it is just one piece that's causing a problem, it could be something else instead.  How big did you make the 3D array "pieces"?
763  Using Arduino / Project Guidance / Re: LED tetris HELP on: December 05, 2013, 02:29:59 am
Wow, I was not expecting that much code.  Give me a few minutes to look over it. Actually since you know the code, where is the section that rotates the piece? Found it.
764  Using Arduino / Project Guidance / Re: LED tetris HELP on: December 05, 2013, 01:14:06 am
I'm also making a Tetris game on a simple 8x8 dot matrix. I might be able to help you, post your code. Please use the code tags, it's the # sign above the smiley faces.
765  Using Arduino / Project Guidance / Re: A good chassis to use for a car on: December 04, 2013, 08:25:24 pm
Why not just use a cheap store bought RC and test your code first, this way you can iron out any flaws. From there, you can then plan out how you want your bigger RC to look.
Pages: 1 ... 49 50 [51] 52 53 ... 196