Hey I Have LKM1638 and TM1638 display.

Hey
I Have LKM1638 and TM1638 display.
and now I want the eight LEDs from left to right and from right to left.
have someone there for a sketch.
or does anyone know how to get it working ???
The library I have
I like to hear it

it is solved
This is the sketch

#include <TM1638.h>
#define RED TM1638_COLOR_RED
#define GREEN TM1638_COLOR_GREEN
TM1638 module1(8,9,7);
int t=120;
void setup(){
}

void loop(){
for (int i=0;i<8;i++){

module1.setLED(TM1638_COLOR_GREEN , i);
delay(t);
module1.setLED(TM1638_COLOR_NONE, i);

}
for (int i=7; i >=0; i–){
module1.setLED(TM1638_COLOR_RED ,i);
delay(t);
module1.setLED(TM1638_COLOR_NONE, i);

}
}

I assume you’ve successfully tried the examples with the library. In this case, try something like:

int i = beatsin8(10,0,NUM_LEDS);
leds[i] = CRGB::Blue;
Fastled.show();
delay(50);
fadeToBlackBy(leds,NUM_LEDS, 64);

I’ll leave it to you as a learning exercise to take an existing example from the library and modify it with the above code.

You know what hardware it’s what I’m talking about ??
tm 1638 and lmk1638 ???
I can use it there Fastled for ???
there are no sketches with example for what I want ???

Sorry, I thought you’d mentioned WS2812’s at one point, which is what FastLED is well suited for.

As for this hardware, no idea. See here for what IS supported:

http://fastled.io/docs/3.1/md__r_e_a_d_m_e.html

No, FastLED doesn’t support the tm1638 and is unlikely to. Here’s an article that references an arduino library for it that you can use: http://tronixstuff.com/2012/03/11/arduino-and-tm1638-led-display-modules/