Seven Segment on STM32

Hello Dears,

It’s a pleasure to come back and ask to you some help.
I am currently working on a one digit Seven segment. I just want to make a counter from 0 to 9. My When I run my code, the seven segment doesn’t lit any led from.
Is there anyone that can make some suggestions about why it doesn’t work ?

Thanks in advance!!




What do you mean by nothing happening from breadboard?? Please post the code as well. More the details the better.

1 Like

Okay I will edit my post and provide with more details

It’s seems like the issue is with IO pins. What types of 7 segment display are you using? Is it common cathode or common anode?

Can you copy paste the initialization function of the Pins here? You have to configure initialization function depending on the type of seven segment display you have.

1 Like

Thanks @Prototype for your precious message. As a matter of fact I solved the issue thanks to your queqtion : “What types of 7 segment display are you using? Is it common cathode or common anode?” the pin 8 thas was grounder has been replaced by the wire supplied by 3v.

1 Like

Do you still want me to copy paste the initialization function of the Pins here?

If its working then not needed. Glad to know that it’s working.

1 Like