Show Posts
Pages: 1 ... 15 16 [17] 18 19 ... 244
241  Using Arduino / Displays / Re: Help Me - 3,5 TFT Touch LCD Screen Display - I can not make it work, help. on: July 25, 2014, 02:36:47 pm
But you have a working code, so now add to it. That is an third party LCD, so there may not be a library for it, which means you need to make your own functions. and/or library.

What else are you trying to do with it?
242  Using Arduino / Programming Questions / Re: Unexpected behavior with RF receiver code on: July 25, 2014, 01:48:14 pm
If anyone copies the code straight from there, it will not work. Repost the code and put it in the proper tags. Code tags
243  Using Arduino / Programming Questions / Re: How to send and recieve data via 433MHZ module on: July 25, 2014, 11:52:58 am
The answer to your question is in your link. Its a basic serial connection of which, you can use software serial.

Look at the PDF. http://www.fut-electronics.com/wp-content/plugins/fe_downloads/Uploads/Wireless-Serial-UART-Arduino.pdf
244  Using Arduino / Programming Questions / Re: How to send and recieve data via 433MHZ module on: July 25, 2014, 10:29:18 am
Do you have a link to your transmitter/receiver?
245  Using Arduino / Programming Questions / Re: Multiple buttons for State Changes - Rgb led strips on: July 23, 2014, 09:10:23 pm
You can cut down your pin usage by using shift registers and a 16-4 encoder for your buttons.
Look at these links.
http://www.instructables.com/id/64-pixel-RGB-LED-Display-Another-Arduino-Clone/

https://www.youtube.com/watch?v=QIZX8qZ6nlE


Added:
Quote
Why not just have one function and pass in the value for the denominator?
This was meant for Bulldog

Quote
code was for demonstration purposes only... a visualization of how to approach the problem
Ok, that's fair enough.
246  Using Arduino / Programming Questions / Re: Multiple buttons for State Changes - Rgb led strips on: July 23, 2014, 08:52:52 pm
Why not just have one function and pass in the value for the denominator?
247  Using Arduino / Programming Questions / Re: Unexpected behavior with RF receiver code on: July 23, 2014, 08:49:57 pm
Quote
421 > delayLeft > 0
this doesn't look correct to me. This however does, (421 > delayLeft) && (delayLeft > 0), it might not solve your entire problem, but its a start.

I'll go over the code some more.  Could you post the FULL code please?

Added:
When does bufVal get updated to the new buf value?
248  Using Arduino / Programming Questions / Re: Multiple buttons State Changes - Rgb led on: July 23, 2014, 08:46:08 pm
What is your setup, what board are you using and  what LED driver/shift register are you using? Do you have a sketch you are currently working on and can you provide us with pictures and/or a complete schematic.

Your problem sounds like it has an easy solution, but we don't know your exact hardware to be certain.
249  Using Arduino / Programming Questions / Re: Using an array in a switch case on: July 23, 2014, 08:21:40 pm
Quote
For one, the array needs to be 2D (char states[4][6], not char states[4]) to work with my previously written code.
If you had posted the previous code and said you needed them to work together, I would have given you exactly what econjack gave you.
250  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: July 23, 2014, 04:50:36 pm
The pins used in the diagram are just examples, it's the pins in the code you want to go by. Then again, you could always changes those too, but as long as you know which pin is what (clk,data,reset and busy) you can code it to work on any combination of arduino pins. Just note, if you plan on using the serial monitor, don't have anything in digital pins 0 & 1 , otherwise you may get incorrect results.
251  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: July 23, 2014, 03:46:50 pm
P06 is the busy pin (pin 5), it lets the arduino know when a audio file has ended.
252  Development / Other Software Development / Re: AWind. GUI library for Arduino - TFT Displays on: July 23, 2014, 01:04:49 pm
It sounds similar to my library, but you included charts, oscilloscopes and sensor monitors.

My library is here TFT_Extension
253  Using Arduino / Programming Questions / Re: Using an array in a switch case on: July 23, 2014, 12:52:28 pm
No but you can do this.
Code:
#define Dud 0
#define Win 1
#define Lose 2
#define Accel 3

byte states[4] = {
  Dud,Win,Lose,Accel};

void setup()
{
  Serial.begin(115200);

  switch(states[0])
  {
  case Dud:
    //do nothing
    break;

  case Win:
    // user wins
    break;

  case Lose:
    //user loses
    break;

  case Accel:
    //timer accelerates
    break;
  }
}

void loop()
{

}
254  Using Arduino / Project Guidance / Re: wich one? on: July 23, 2014, 12:43:20 pm
Added:
Quote
the UNO is the general use one with 14 pins that can be inputs or outputs.
Dont forget the analog pins too.
255  Using Arduino / Project Guidance / Re: LCD Clock on: July 22, 2014, 09:49:07 am
Do you have the DateTime library?
Pages: 1 ... 15 16 [17] 18 19 ... 244