Thank you for this interesting Post.
Let me give you two Tipps for future Posts like this:
• I would've appreciated if the first Post would have been liked like this, so it'll be easier to look back what you've done last time:
One week ago i showed you my project with the 7-segment Display.
Now I want to show you the code and explain how it works. I dont want to go into detail how "C" works. There are many tutorials out there.
• If you manage to get this Post out within 6 Days after the first one, you have an Chance that people who missed your first Post will go back to it and upvote.
RE: The Code for the display