Difference between revisions of "LED Blinking with PIC16F877A Starter Board"
Line 3: | Line 3: | ||
The Explore Starter PIC board has two on board LED's which are connected to PORT D0 and PORT D1. <br><br> | The Explore Starter PIC board has two on board LED's which are connected to PORT D0 and PORT D1. <br><br> | ||
− | = | + | =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= |
Revision as of 15:55, 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
- 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