7-segment LED Display
In this post we’re going to connect a 7-segment LED display to a PIC18F452 and set it up so that it will show numbers from 0 to 9 in regular intervals, like a stopwatch. This will be useful for calibration of an IR sensor and generally for displaying any number output when debugging.