Description
- MICRO CONTROLLER -PIC12f508
- BOARD COLOR MAY BE DIFFERENT
- LOW COST BOARD
- 5V INPUT VOLTAGE
SAMPLE PROGRAM USING MPLAB AND HITECH C
#include<pic.h>
OSSCAL=0X80;
__CONFIG(0X0FEA);
#define _XTAL_FREQ 4000000
void main(void)
{
TRISGPIO=8;GPIO=0;
OPTION= 0XC0;while(1)
{
GPIO=0XFF;
__delay_ms(200);
GPIO=0X0;
__delay_ms(200);
}
}