Show Posts
Pages: 1 ... 17 18 [19] 20 21 ... 251
271  Development / Other Software Development / Re: Updated Wii Classic Controller Library on: August 03, 2014, 03:06:28 am
Minor update to the library.

Version 1.01:
  Fixed button defines for X, Y, A and B.
  They were causing errors with my other sketches and libraries.
272  Using Arduino / Project Guidance / Re: RGB LED Coffee Table Colorduino Questions on: August 01, 2014, 03:32:19 pm
How about this one:
http://www.ebay.com/itm/Arduino-RGB-LED-Lighting-Shield-Colorduino-for-8-8mm-ATmega328p-UART-IIC-ISP-/301202059975?pt=LH_DefaultDomain_0&hash=item46210ab2c7
273  Using Arduino / Programming Questions / Re: Translate code to arduino code on: August 01, 2014, 02:43:00 pm
Replace the "main" function with:

Code:
void setup()
{
    gpio_init();
    ADC_init();
    init_display();
}

void loop()
{
    CPU_wait(50000); // Im not sure this is needed, but I'll leave it in
    ADC_calc();
    display();
}

Do you have the pic.h library? The Timers may need to be changed too, but Im not sure of that or even what to change them to.
274  Using Arduino / Audio / Re: Arduino library for WTV020-SD-16P audio module on: August 01, 2014, 01:16:35 pm
Im using the same code and library provided on page one of this thread.
275  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.
276  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.
277  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/
278  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.
279  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);
280  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?
281  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.
282  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()?
283  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.
284  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()
285  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.
Pages: 1 ... 17 18 [19] 20 21 ... 251