Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Arduino as a Jtag programer on: February 09, 2011, 10:10:33 pm
Hey Guys and Gals!  I really need some help here. Im new to arduino and programing in general. I have a PDA that acccidently turned off while i was reprograming the boot loader! so needless to say its bricked. it uses the Intel pxa 27- ( i think) processor and i have the pin outs for the Jtag interface. but i cant afford the $200 for the jtag unit! i only paid $30 for the pda lol.

I done some googleing and found 1 forum post of a guy useing an arduino as a jtag programmer but thats all I found. I would be greatly indebted to someone if they could help me out.

Thanks!

you can reply here or hit me up on yahoo messenger my ID there is fatboyscar or email me at will@c2h2.net
2  Forum 2005-2010 (read only) / Interfacing / TLC5940 led animations on: January 20, 2011, 01:34:55 am
I have a 4x4 matrix useing the TLC5940 chip and lib from aclone

problem i have i am trying to play animations but im lost on how to get the animations to play. i have create the frames for the animations but from reading the lib docs it looks like the function plays them in reverse but it looks nothing like it should on the leds.

Im going to post what i have and see if anyone can help me out
Quote
     if (!tlc_onUpdateFinished) {

    delay(100);

        tlc_playAnimation(rayGun, RAY_GUN_FRAMES, 250);
 }


Quote
#define RAY_GUN_FRAMES  20
uint8_t rayGun[NUM_TLCS * 24 * RAY_GUN_FRAMES] PROGMEM = {
 0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,
 0,0,255,0,0,0,255,255,0,0,0,0,0,0,0,0,
 0,255,0,0,0,255,0,0,0,255,255,255,0,0,0,0,
 255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,
 0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,
 0,0,255,0,0,0,255,255,0,0,0,0,0,0,0,0,
 0,255,0,0,0,255,0,0,0,255,255,255,0,0,0,0,
 255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,
 0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,
 0,0,255,0,0,0,255,255,0,0,0,0,0,0,0,0,
 0,255,0,0,0,255,0,0,0,255,255,255,0,0,0,0,
 255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,
 0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,
 0,0,255,0,0,0,255,255,0,0,0,0,0,0,0,0,
 0,255,0,0,0,255,0,0,0,255,255,255,0,0,0,0,
 255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255,
 0,0,0,255,0,0,0,0,0,0,0,0,0,0,0,0,
 0,0,255,0,0,0,255,255,0,0,0,0,0,0,0,0,
 0,255,0,0,0,255,0,0,0,255,255,255,0,0,0,0,
 255,0,0,0,255,0,0,0,255,0,0,0,255,255,255,255
};




3  Forum 2005-2010 (read only) / Interfacing / Re: TLC 5940 and vars. on: January 14, 2011, 02:22:41 pm
ah i see, i was just reading that the va_ command set doesnt seem to work well with arduino. any other ideas on how to do this.
4  Forum 2005-2010 (read only) / Interfacing / TLC 5940 and vars. on: January 14, 2011, 01:18:17 pm
Hello everyone, I'm new to the arduino world. I have desided to try to build an led matrix useing the TLC5940 led driver. We are working very small scale to start with but heres my issue with useing the tlc5940 lib.
I want to be able to turn on several leds at a time with having to call them one by one in the code. here is what i have so far but it does not work correctly as in the code it turns on led 0 1 2 5 10 15 when all i wanted was to turn on led 0, 5, 10, 15

this code is partial to the whole code i have which just as a bunch of these statements which dont work lol.

EDIT: we are starting off with 1 tlc and 16 single leds, next step will be 3 tlc  and 16 RGB leds

Quote
#include "Tlc5940.h"

void setup() {
  Tlc.init();
}

void setLED(int level, ... )
{
   va_list leds;
   int ledNumber = -1;

   va_start(leds, level);
   while((ledNumber = va_arg(leds, int)) != -1)
   {
      Tlc.set(ledNumber, level);
   }
   va_end(leds);
}

void loop() {
  setLED(4095, 0, 5, 10, 15);
  Tlc.update();
  delay(550);
}


any and all help is appreciated


Pages: [1]