Professional Documents
Culture Documents
Experiment: 4 Driving Multiple 7-Segment Leds With A Single Port of Pic Micro-Controller
Experiment: 4 Driving Multiple 7-Segment Leds With A Single Port of Pic Micro-Controller
Experiment: 4
Driving Multiple 7-segment LEDs with a single port
of PIC micro-controller
OBJECTIVE:
1. Use single port to interface four 7-Segment LEDs
2. Write a C program in PIC C to display numbers 0-9999.
3. Interface a key to detect and stop the counting (display) if it is
pressed. To detect again a key pressed to start the counting from
same number.
MATERIALS REQUIRED:
PIC18F8722 kit
Equipment :
Multioutput DC Power Supply
7-segment display modules (provided via PIC Millennium
board)
CIRCUIT CONNECTION:
Port F
PIC18F8722
Port C
Lab Manual EE313Lab/UVM