1. Led Intermitente (PIC C Compiler)

1. Led Intermitente (PIC C Compiler)
1. Led Intermitente (PIC C Compiler)

 Diagrama de Circuito

 
Diseño PCB
 

 
Vista 3D

 
Circuito montado en Protoboard
 
Código
Código C - PIC16F628A
// PIC16F628A Led intermitente
// http://habacucelectronics.blogspot.com/
// habacuc.electronics@gmail.com
// Samuel Ramsbott

#include <16f628a.h> //Pic a utilizar
#fuses XT,NOWDT,NOPROTECT //Ordenes para el programador
#use delay (clock=8M) //Frecuencia del oscilador
#use standard_io(a) //Manejo del puerto A

void main()
{
while(TRUE)
{
output_high(PIN_A0); //Led ON
delay_ms(500); //Retardo 500ms
output_low(PIN_A0); //Led OFF
delay_ms(500); //Retardo 500ms
}
}

Para obtener el código y la simulación en Proteus haz click sobre descargar.

Compartir en Google Plus

About habacuc.electronics

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Comentario Blogger
    Comentario Facebook