We are asked to output the numbers in 7segmentdisplay via PORTD, using functions &/or procedures. Please help me.
Example. If I pressed RC0, 7seg will output "1". But the program will not be directly from MAIN. We are required to use sub function… or sub procedure syntax.