Show Posts
Pages: 1 ... 18 19 [20] 21 22 ... 252
286  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: August 01, 2014, 01:10:59 pm
I'm not sure what speakers it can handle, but it should be fine.
287  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: August 01, 2014, 01:04:03 pm
Yea, its weird, some play as WAVs and others as AD4

Added: Im using a Sandisk 1GB memory card fat32 format.
288  Using Arduino / Project Guidance / Re: RGB LED Coffee Table Colorduino Questions on: August 01, 2014, 12:46:53 pm
Here you go.
http://123led.wordpress.com/colorduino/
289  Using Arduino / Project Guidance / Re: Dedicated TFT controller on: August 01, 2014, 12:07:00 pm
Quote
May a large group of individuals bearing good tidings find their way to you by day's end!
smiley-eek Wow, I have never had that said to me, Thank you and likewise.
290  Using Arduino / Programming Questions / Re: map() outputs -1 on: August 01, 2014, 11:45:41 am
The map function doesn't work well with float values, so what you can do is multiply ax by 10, 100 or even 1000 to give you a better range. Likewise the Low and High ranges must be changed too.

LeftThrottleAdjustment = map( int(ax*1000.0), 0, 500, 0, 255);
291  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: August 01, 2014, 11:30:18 am
I haven't read the previous posts yet, but have you tried a WAV file?
292  Using Arduino / Project Guidance / Re: Dedicated TFT controller on: August 01, 2014, 11:21:53 am
Quote
myGLCD("TEXT",CENTER,y,rotation);
It will print a char array, I know this because I too use that library. The function I gave is from my own library that works with UTFT.

Do this, and see if it prints.

char myMSG[] = "Hello";
myGLCD.print(myMSG,CENTER,y,rotation);

Quote
I know that decimal 65 is "A", how might I go about converting a 65 found in an array to a string value I can print on screen?
Use myGLCD.printNumI for integers and .printNumF for floats.

Added:
If you look at the UTFT library, you will see two versions of the .print function. One is for char pointers, and the other is for, yes, Strings.
293  Using Arduino / Programming Questions / Re: Using keypad.h to input decimals on: August 01, 2014, 11:14:07 am
Why not just store the keys(chars) pressed into a char array and use atof()?
294  Using Arduino / Programming Questions / Re: Memory Test on: August 01, 2014, 11:04:14 am
Vin is the positive connection of the barrel jack (direct connection). Its just an alternative method of powering the arduino instead of using a barrel jack.
295  Development / Other Software Development / Re: SerialDataParser library on: August 01, 2014, 10:58:48 am
Quote
I've spent a little bit of time thinking about the problem you are trying to solve and I have written a couple of demo sketches here and here.
? Was this meant for me, because I already have my own methods that work, but I was asking if mdjarv's library could distinguish the incoming data into different types or just split it up like strtok()
296  Using Arduino / Programming Questions / Re: Memory Test on: August 01, 2014, 10:52:31 am
The Vin on the Uno is exactly the same as the barrel jack. Both the Uno and Mini need >7V.
The Pro Mini depends on the model you get. 3.35V minimum on the 3.3V model, and 5V minimum on the 5V model.
297  Using Arduino / Programming Questions / Re: How to clear a single variable on: August 01, 2014, 10:31:03 am
I guess If you want to make sure the bit is really off, you can use x &= ~(some value)

But in my example the OP already knows the bit is on, so using the XOR operator will work, but if by some weird chance the XOR  is called again, it will go back on.
298  Using Arduino / Programming Questions / Re: Memory Test on: August 01, 2014, 10:25:57 am
What do you mean by "raw in"
299  Using Arduino / Programming Questions / Re: How to clear a single variable on: August 01, 2014, 10:00:25 am
B11000111 | B00001000(0x08) = B11001111

B11001111 ^ B00001000(0x08) = B11000111

Quote
What does the ~ do?
it inverts the byte, so B0100 -> (~B0100) = B1011
300  Using Arduino / Programming Questions / Re: How to clear a single variable on: August 01, 2014, 09:47:29 am
The XOR operator ( ^ ) is your friend.
Pages: 1 ... 18 19 [20] 21 22 ... 252