Electronics Projects, Common Cathode Display Control Hi Tech C Example article
"hi tech c examples, microchip projects, microcontroller projects, " tagged with
Common cathode seven segment display is used in our application. 0 in the display to show the number of a, b, c, d, e, f of pins to connect to port 1 should be done. 1 to show the number of pins to connect to port b, and c are 1 others should be set to 0.
First, on the display to show which number should be assigned to which values the information should be prepared. This would save the data in a table. Appointed as an array in C programming language statements. If you are changing the values in the table during the program const should be defined. Displace number from 0 to demonstrate the value must be assigned to the corresponding port 3f or base  expression must be assigned to the first element of the table.
Example isis circuit drawing;
Hi tech c code and isis proteus simulation files: common-cathode-display-control-hi-tech-c-example.zip