(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[[Category:Starter PIC16F877]]
+
[[Category:Starter PIC16F877]]
In this tutorial we will learn how to blink the LED's with PIC16F877 Starter Board. The Explore Starter PIC board has  
+
In this tutorial we will learn how to blink the LED's with PIC16F877 Starter Board.<br>
two on board LED's which are connected to PORT D0 and PORT D1. <br><br>
+
Starter PIC board has two on board LED's connected to PORTD.0 and PORTD.1. <br><br>
  
=Register Configuration=
+
=Steps=
 +
#Configure the PORTS as outputs using TRIS registers.
 +
#Turn ON all the LEDs and wait for some time.
 +
#Turn OFF all the LEDs and wait for some time..
  
 
=Code=
 
=Code=
[[Category:Starter PIC16F877]]
 
 
<html>
 
<html>
<script src="https://gist.github.com/anonymous/05b2ff6f93c40e30b2c9b5d510f535dd.js"></script>
+
<script src="https://gist.github.com/sharanago/6561921de354fc92f5254845dcc16063.js"></script>
 
</html>
 
</html>
 +
 +
=Demo=
 +
[[File:Pic16f877aLedBlinking.gif]]<br><br>

Latest revision as of 18:27, 3 May 2016

In this tutorial we will learn how to blink the LED's with PIC16F877 Starter Board.
Starter PIC board has two on board LED's connected to PORTD.0 and PORTD.1.

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

Pic16f877aLedBlinking.gif