This is my first shot at using the CCS Compiler for PIC10F-18F MCUs …. so far its nice and simple…
Has tons of tools in it and is MPLAB compatible which is awesome!!!
#include “18F2525.h”
#fuses INTRC_IO,NOWDT,NOPROTECT,NOLVP
#use delay(clock=8000000)void main() {
setup_oscillator(OSC_8MHZ);set_tris_b(0);
output_b(0);while(TRUE) {
output_high(PIN_B0);
delay_ms(500);
output_low(PIN_B0);
delay_ms(500);
}
}