7 segments + slider project

Hey there,

I actually am working on a project and I need to show on 2 7 segments the value that return a slider.
I don't ahave any problem with the slider, it returns a value between 1 and 99 as it should but I do not know how to print it on my 7 segments.

I saw that using a MAX7221 is a good idea because it doesn't cost a lost a DIGITAL OUTPUT, so I created the wire map to connect it.

Then, I am having troubles to code this. I use quite a lot of example that I found on internet but it always lose me after a while.

Did you guys worked on something similar ? If you have advices, I would be glad to read them.

Thanks,
N4z.

Hi,
Welcome to the forum.

Have you looked at this link?
It has code as well.

http://playground.arduino.cc/Main/LedControl

It may help.

Tom... :slight_smile:

Hey man,

You juste saved my day !

Thanks a lot !