Go Down

Topic: Software for programming LED (Read 4166 times) previous topic - next topic

PiDigital

Is there any software for programming the LED creating own animation with writing code takes way too much time.

CrossRoads

#1
Jun 20, 2016, 09:56 pm Last Edit: Jun 20, 2016, 10:16 pm by CrossRoads
It will take less time as you get better at it.
I don't know of any pre-written code for animations.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

larryd

#2
Jun 21, 2016, 12:11 am Last Edit: Jun 21, 2016, 12:12 am by LarryD
What kind of LEDs?

Have you heard of NeoPixels?

https://learn.adafruit.com/adafruit-neopixel-uberguide?view=all

.
No technical PMs.
If you are asked a question, please respond with an answer.
If you are asked for more information, please supply it.
If you need clarification, ask for help.

PiDigital

I am using WS2801 in this case I have seen a software called LED Edit but I dont know if it works for arduino also.

larryd

Seems like Google has a few hits.

Here
No technical PMs.
If you are asked a question, please respond with an answer.
If you are asked for more information, please supply it.
If you need clarification, ask for help.

sonyhome

look up fadecandy, pixelpusher and ledlab if you want something fancy like that.

If you are ready instead to control your LEDs, look up fastLED or Adafruit neopixel LED library.
I also am writting a LED library called FAB_LED.

With my library, you'll need to declare the LED strip you're using, a pixel array, update the pixels and then write the array to the LED strip, for example:

    ws2812b<D,6> strip;
    grb pix[numPixels];
   
    for(int i=0; i < numPixels; i++) {
      pix.red = random(255);
      pix.green = random(255);
      pix.blue = random(255);
    }
   
    strip.draw(numPix, pix);
    delay(1000);

Go Up