spi 7 segment bar

Hi,

I got this segment bar and want to display the time left in minutes from the timer.
I took millis and added time to it and compare the two.
The difference is stored in unsigned long timeleft;
The problem with this bar is that i have to split the characters and display a zero if there is no value.
i use shiftOut(dataPin, clockPin, MSBFIRST, Tab[10]);

I have spend 2 days on searches and how to do this but im getting really tired of it.

can anyone help me?

Well, here's the problem:

We have no idea what "this segment bar" is.

We have no idea what "the timer" is.

We have no idea what "the time left" means.

Let me give you a hint. The easiest way to indicate what a module is, is to post a Web link to the site on which it is described.

And we generally require a perfectly focused photograph of your set-up with all wires clearly visible as they terminate on the modules and show that as a link in the text, not an attachment, in order to see whether you have assembled it correctly.

The best way to do this is to take it outside in full daylight but not direct sun and use a digital camera at least a metre away from directly above (or very slightly offset to ensure all the connections are able to be distinguished) using the (actual) zoom to just include all parts of the assembly.

Study the instructions.

Hi,

Its more a theoretical problem.
I use this bar: SPI_LED_Module__SKU_DFR0090_-DFRobot
And im trying to make it display a time like millis.

The test code works
i just do this:
digitalWrite(latchPin, LOW);
shiftOut(dataPin, clockPin, MSBFIRST, Tab[10]);
shiftOut(dataPin, clockPin, MSBFIRST, Tab[10]);
shiftOut(dataPin, clockPin, MSBFIRST, Tab[10]);
shiftOut(dataPin, clockPin, MSBFIRST, Tab[10]);
shiftOut(dataPin, clockPin, MSBFIRST, Tab[10]);
shiftOut(dataPin, clockPin, MSBFIRST, Tab[10]);
shiftOut(dataPin, clockPin, MSBFIRST, Tab[10]);
shiftOut(dataPin, clockPin, MSBFIRST, Tab[10]);
shiftOut(dataPin, clockPin, MSBFIRST, Tab[10]);
digitalWrite(latchPin, HIGH);

Sorry for the double post but the other one wasautomaticly posted by hotkey.
what i need to have something like:

millis[0]
millis[1]
millis[2]

For every character so i can put it on the display.

If you don't understand how and why your test code works, you have no business going any further.

And with 31 posts, you should know better to display your code in code tags.