One of the simplest projects to learn about controlling a
single bit on an output port is to turn an LED on and off. The
PicWiser has a red LED connect to pin 13 of the 16F876. This
pin is known as PORTC pin #2 and in order to reference it in a
C program we use the designator RC2. The following schematic
shows the connection.

The LED (D1) is connected to RC2 using a resistor (R1) to
limit the current. R1 on PicWiser is 10kohm but any value from
1000 (1k) to 10,000 (10k) is sufficient to turn the LED on.
Note that the lower the resistor value, the brighter the LED
will be.