Created
May 24, 2017 22:21
-
-
Save Foadsf/697be962b0529a24b962b1f79accba35 to your computer and use it in GitHub Desktop.
Blinking LED using PIC Microcontroller following this youtube tutorial: https://www.youtube.com/watch?v=FBQSKTVNg4I
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <16f877.h> | |
#fuses HS,NOWDT,NOLVP,NOPROTECT | |
#USE delay (clock=20M) | |
void main(){ | |
while(1){ | |
output_high(PIN_B0); | |
delay_ms(1000); | |
output_low(PIN_B0); | |
delay_ms(1000); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment