Line 14: Line 14:
  
 
=Demo=
 
=Demo=
[[File:Pic16f877aLedBlinking.gif]]<br><br>
+
[[File:PIC16f877A LED Switch.gif]]<br><br>

Revision as of 16:23, 27 April 2016

In this tutorial we will learn how to blink the LED's with PIC16F877 Starter Board.
The Explore Starter PIC board has two on board LED's which are connected to PORT D0 and PORT D1.

Steps

  1. Configure the PORTS as outputs using TRIS registers.
  2. Turn ON all the LEDs and wait for some time.
  3. Turn OFF all the LEDs and wait for some time.

Code

Demo

PIC16f877A LED Switch.gif