blob: e1d3384ff39f6a7dd040b83158ea4405ebe457e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// 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);
}
}
|