You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
piklab/test/ccsc/standalone_blinker.c

18 lines
341 B

// This file is used to test the CCS compiler from within Piklab
// The resulting HEX file has not been verified in hardware
#include <16F877.h>
#fuses HS,NOWDT,PUT,NOPROTECT
#use delay(clock=4000000)
#define LED_PIN PIN_B0
void main(void)
{
while(1){
output_low(LED_PIN);
delay_ms(500);
output_high(LED_PIN);
delay_ms(500);
}
}