CCS C COMPİLER HEX YAZMAYI BULDUMDA Bİ ÖRNEK BULDUM KENDİM YAZDIM
#include "C:\Users\Emre\Desktop\DENEMELER\DENEME1.h"
void main()
{
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_1)
;
setup_timer_1(T1_DISABLED);
setup_timer_2(T2_DISABLED,0,1);
setup_comparator(NC_NC_NC_NC);
setup_vref(FALSE);
//Setup_Oscillator parameter not selected from Intr Oscillotar Config tab
// TODO: USER CODE!!
while (TRUE) {
output_high(PIN_B0) ;
output_low(PIN_B1) ;
delay_ms(2000);
output_high(PIN_B1);
output_low(PIN_B0);
delay_ms(2000);
}
}
bunu yazdıktan sonra hexini aldım
#include <16F628A.h>
#FUSES NOWDT //No Watch Dog Timer
#FUSES INTRC_IO //Internal RC Osc, no CLKOUT
#FUSES PUT //Power Up Timer
#FUSES NOPROTECT //Code not protected from reading
#FUSES NOBROWNOUT //No brownout reset
#FUSES NOMCLR //Master Clear pin used for I/O
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
#FUSES NOCPD //No EE protection
#use delay(clock=4000000,RESTART_WDT)
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
1 erors diyor anlayamadım