Automate Segment Anode Values for Seven Segment Display - muneeb-mbytes/FPGABoard_edgeSpartan6 GitHub Wiki
While using seven segment displays writing the anode values for corresponding numbers is a repetitive task. Here is a python script to generate all the required seven segment anode values.
The steps to follow are as follows.
1. Run the python file which is provided.
2. It will now ask for the Start and End values. Enter the respective values.
3. Now a new file called segdecoder.txt will be created in the same directory.
4. If you open that file you can see all the Anode equivalents are present in that file.
To generate anode equivalents for another set of numbers just delete the previously created .txt file and repeat the same procedure.