Skip to content

Instantly share code, notes, and snippets.

@beigna
Last active December 27, 2015 20:49
Show Gist options
  • Save beigna/7387727 to your computer and use it in GitHub Desktop.
Save beigna/7387727 to your computer and use it in GitHub Desktop.
#include <16f84a.h>
#fuses XT,NOWDT
#use delay(clock=4000000)
void main(){
set_tris_B(0b00000000);
while (True){
output_B(0b00000001);
delay_ms(500);
output_B(0b00000010);
delay_ms(500);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment