This preview shows page 1. Sign up to view the full content.
Unformatted text preview: black lead is considered as positive (+) voltage, and the red lead as negative (-). Fix the black lead to one of the 7segment LED pins, and try connecting the red lead to the other pins. In this way, one can figure out whether it is a common anode type or a common cathode type, in the first place. If it is a common anode array, fix the black lead to the identified common anode pin, and identify the other pins (‘a’ to ‘g’) by trying the rest of the pins one by one with the red lead. Figure 4.2.2 shows a general pins arrangement of the 7-segment LED display. As the arrangement can differ according to the devices, it is important to verify which pin is which using the aforementioned identification method. 4.2.3 PIC16F84 OPTION Register In order to implement a digital dice using the 7-segment LEDs, it is important to understand PIC16F84’s OPTION register. The OPTION register, as the name suggests, offers a series of options – various control bits in the OPTION register are used to configure the TMR0/WDT prescaler, the external INT inter...
View Full Document
- Spring '10