/* ***************************************************************************** * * uFlash876B LED Flasher * * File Name - flash.c * Function - Flashes the uFlash876 built in LED each second * * You will need: * (1) uFlash876B CCS PIC C compiler (PCM/PCW) * * Instructions: * (1) Compile & downloading to the uFlash * (2) LED should start flashing after download * * ***************************************************************************** */ #include #define LED_ON output_low(PIN_A5) #define LED_OFF output_high(PIN_A5) void main(void) { while(1) { delay_ms(500); LED_ON; delay_ms(500); LED_OFF; } }